diff options
author | Christian König <christian.koenig@amd.com> | 2013-05-23 19:28:57 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2013-05-27 18:18:32 +0200 |
commit | f796b67431cfcadecfa983f9fc952dbee228cec0 (patch) | |
tree | 4418fc6b5c948013f1d1ddcce7eb7a47c9a4f538 | |
parent | 8ea34fa0e8e2c5ac7583777cdb91f3abe8ce9f8c (diff) | |
download | external_mesa3d-f796b67431cfcadecfa983f9fc952dbee228cec0.zip external_mesa3d-f796b67431cfcadecfa983f9fc952dbee228cec0.tar.gz external_mesa3d-f796b67431cfcadecfa983f9fc952dbee228cec0.tar.bz2 |
st/vdpau: remove vlCreateHTAB from surface functions
Signed-off-by: Christian König <christian.koenig@amd.com>
-rw-r--r-- | src/gallium/state_trackers/vdpau/surface.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surface.c index 135eb85..bd11fc3 100644 --- a/src/gallium/state_trackers/vdpau/surface.c +++ b/src/gallium/state_trackers/vdpau/surface.c @@ -54,11 +54,6 @@ vlVdpVideoSurfaceCreate(VdpDevice device, VdpChromaType chroma_type, goto inv_size; } - if (!vlCreateHTAB()) { - ret = VDP_STATUS_RESOURCES; - goto no_htab; - } - p_surf = CALLOC(1, sizeof(vlVdpSurface)); if (!p_surf) { ret = VDP_STATUS_RESOURCES; @@ -110,7 +105,6 @@ inv_device: FREE(p_surf); no_res: -no_htab: inv_size: return ret; } @@ -272,9 +266,6 @@ vlVdpVideoSurfacePutBitsYCbCr(VdpVideoSurface surface, struct pipe_sampler_view **sampler_views; unsigned i, j; - if (!vlCreateHTAB()) - return VDP_STATUS_RESOURCES; - vlVdpSurface *p_surf = vlGetDataHTAB(surface); if (!p_surf) return VDP_STATUS_INVALID_HANDLE; |