diff options
author | Christian König <[email protected]> | 2015-12-08 14:28:13 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2015-12-16 21:13:42 +0100 |
commit | a87a1420d6c13e6ccf9fbc28c073789d09225e17 (patch) | |
tree | 58632fd1ba7b9720efba2d807ca28ed508ab1900 /src/gallium/state_trackers/va/image.c | |
parent | 61cdb7665f7bd147533cdc5977750d990c2eafd5 (diff) |
st/va: remove fence handling v3
It's nonsense to drain the pipeline like this.
v2: keep the drain for DMA-buf exports.
v3: flush before the export and after compositing and add TODO comment.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Julien Isorce <[email protected]>
Tested-by: Julien Isorce <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va/image.c')
-rw-r--r-- | src/gallium/state_trackers/va/image.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/va/image.c b/src/gallium/state_trackers/va/image.c index 8fb3c210898..ccc263f77a7 100644 --- a/src/gallium/state_trackers/va/image.c +++ b/src/gallium/state_trackers/va/image.c @@ -266,7 +266,6 @@ vlVaDeriveImage(VADriverContextP ctx, VASurfaceID surface, VAImage *image) img_buf->type = VAImageBufferType; img_buf->size = img->data_size; img_buf->num_elements = 1; - img_buf->derived_surface.fence = surf->fence; pipe_resource_reference(&img_buf->derived_surface.resource, surfaces[0]->texture); |