diff options
author | Marek Olšák <[email protected]> | 2012-12-08 15:37:17 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-12-12 13:09:54 +0100 |
commit | 25409c6da8163d9acb386511aef0c11577c7aadb (patch) | |
tree | da38c5f59a9703c6feb89d9fac3a6c615a3bebc0 /src/gallium/state_trackers/vdpau | |
parent | c1f704073b8992f3556c8e44a7fc496e250ba3ae (diff) |
gallium: remove pipe_surface::usage
Not really used by anybody now.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau')
-rw-r--r-- | src/gallium/state_trackers/vdpau/output.c | 1 | ||||
-rw-r--r-- | src/gallium/state_trackers/vdpau/presentation.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/state_trackers/vdpau/output.c index dd3c1a834bb..a8351261199 100644 --- a/src/gallium/state_trackers/vdpau/output.c +++ b/src/gallium/state_trackers/vdpau/output.c @@ -100,7 +100,6 @@ vlVdpOutputSurfaceCreate(VdpDevice device, memset(&surf_templ, 0, sizeof(surf_templ)); surf_templ.format = res->format; - surf_templ.usage = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET; vlsurface->surface = pipe->create_surface(pipe, res, &surf_templ); if (!vlsurface->surface) { pipe_resource_reference(&res, NULL); diff --git a/src/gallium/state_trackers/vdpau/presentation.c b/src/gallium/state_trackers/vdpau/presentation.c index 51a702eefde..349654d0625 100644 --- a/src/gallium/state_trackers/vdpau/presentation.c +++ b/src/gallium/state_trackers/vdpau/presentation.c @@ -236,7 +236,6 @@ vlVdpPresentationQueueDisplay(VdpPresentationQueue presentation_queue, memset(&surf_templ, 0, sizeof(surf_templ)); surf_templ.format = tex->format; - surf_templ.usage = PIPE_BIND_RENDER_TARGET; surf_draw = pipe->create_surface(pipe, tex, &surf_templ); surf->timestamp = (vlVdpTime)earliest_presentation_time; |