<div dir="ltr"><div><div>Make sense it was a copy past I did from vlVdpPresentationQueueDisplay.<br></div>I tested this change and works fine.<br></div><div>Thx for catching this.<br></div><div><br></div>(feel free to set "clear_dirty" param of vl_compositor_render to false even if it will be ignored anyway)<br><div><div><div><br>Reviewed-by: Julien Isorce <<a href="mailto:j.isorce@samsung.com">j.isorce@samsung.com</a>><br><div class="gmail_extra"><br><div class="gmail_quote">On 23 November 2015 at 14:37, Christian König <span dir="ltr"><<a href="mailto:deathsimple@vodafone.de" target="_blank">deathsimple@vodafone.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>><br>
<br>
The dirty area in this call isn't related to the screen at all.<br>
<br>
Signed-off-by: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>><br>
---<br>
 src/gallium/state_trackers/va/picture.c | 5 +----<br>
 1 file changed, 1 insertion(+), 4 deletions(-)<br>
<br>
diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c<br>
index a37a9b7..d0aa2d8 100644<br>
--- a/src/gallium/state_trackers/va/picture.c<br>
+++ b/src/gallium/state_trackers/va/picture.c<br>
@@ -722,7 +722,6 @@ handleVAProcPipelineParameterBufferType(vlVaDriver *drv, vlVaContext *context, v<br>
 {<br>
    struct u_rect src_rect;<br>
    struct u_rect dst_rect;<br>
-   struct u_rect *dirty_area;<br>
    vlVaSurface *src_surface;<br>
    VAProcPipelineParameterBuffer *pipeline_param;<br>
    struct pipe_surface **surfaces;<br>
@@ -763,12 +762,10 @@ handleVAProcPipelineParameterBufferType(vlVaDriver *drv, vlVaContext *context, v<br>
    dst_rect.x1 = pipeline_param->output_region->x + pipeline_param->output_region->width;<br>
    dst_rect.y1 = pipeline_param->output_region->y + pipeline_param->output_region->height;<br>
<br>
-   dirty_area = drv->vscreen->get_dirty_area(drv->vscreen);<br>
-<br>
    vl_compositor_clear_layers(&drv->cstate);<br>
    vl_compositor_set_buffer_layer(&drv->cstate, &drv->compositor, 0, src_surface->buffer, &src_rect, NULL, VL_COMPOSITOR_WEAVE);<br>
    vl_compositor_set_layer_dst_area(&drv->cstate, 0, &dst_rect);<br>
-   vl_compositor_render(&drv->cstate, &drv->compositor, psurf, dirty_area, true);<br>
+   vl_compositor_render(&drv->cstate, &drv->compositor, psurf, NULL, true);<br>
<br>
    screen->fence_reference(screen, &src_surface->fence, NULL);<br>
    drv->pipe->flush(drv->pipe, &src_surface->fence, 0);<br>
<span class=""><font color="#888888">--<br>
2.5.0<br>
<br>
</font></span></blockquote></div><br></div></div></div></div></div>