summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsguttula <[email protected]>2016-11-10 00:59:53 -0500
committerChristian König <[email protected]>2017-01-13 14:21:29 +0100
commit9b14a828db76dcc27302059ff5504170540c6e2f (patch)
tree7f60c1acad22f743c0dd99024e293bfab80f71e8 /src
parent84e3e12b2582f4707a837ebb960ea7ce19e1c263 (diff)
st/va: flush pipeline after post processing
This will flush the pipeline,which will allow to share dma-buf based buffers. Signed-off-by: Suresh Guttula <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/va/postproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/postproc.c b/src/gallium/state_trackers/va/postproc.c
index d06f01617df..01e240f0167 100644
--- a/src/gallium/state_trackers/va/postproc.c
+++ b/src/gallium/state_trackers/va/postproc.c
@@ -80,6 +80,7 @@ vlVaPostProcCompositor(vlVaDriver *drv, vlVaContext *context,
vl_compositor_set_layer_dst_area(&drv->cstate, 0, &dst_rect);
vl_compositor_render(&drv->cstate, &drv->compositor, surfaces[0], NULL, false);
+ drv->pipe->flush(drv->pipe, NULL, 0);
return VA_STATUS_SUCCESS;
}