diff options
author | sguttula <[email protected]> | 2016-11-10 00:59:53 -0500 |
---|---|---|
committer | Christian König <[email protected]> | 2017-01-13 14:21:29 +0100 |
commit | 9b14a828db76dcc27302059ff5504170540c6e2f (patch) | |
tree | 7f60c1acad22f743c0dd99024e293bfab80f71e8 /src/gallium/state_trackers/va | |
parent | 84e3e12b2582f4707a837ebb960ea7ce19e1c263 (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/gallium/state_trackers/va')
-rw-r--r-- | src/gallium/state_trackers/va/postproc.c | 1 |
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; } |