mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-28 10:00:46 +00:00
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 <Suresh.Guttula@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
84e3e12b25
commit
9b14a828db
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user