diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-03-10 16:25:57 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-04-08 11:22:23 +0200 |
commit | 5f64122551f2d8d41d745351b2e4e68208aa6084 (patch) | |
tree | 6f869c1257157b6a6cd3eda5718c8fe370165cae /src/xvmc/i915_xvmc.c | |
parent | 6c44ce9e127e531224bac825da7918800a3e6a1a (diff) |
libXvMC: drop get_surface_status driver callback
It's unused. Also drop all related generic code that tries to do
clever stuff with this callback. These are all remnants from a
pre-gem world.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'src/xvmc/i915_xvmc.c')
-rw-r--r-- | src/xvmc/i915_xvmc.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/xvmc/i915_xvmc.c b/src/xvmc/i915_xvmc.c index ec52c6c4..0773c2ed 100644 --- a/src/xvmc/i915_xvmc.c +++ b/src/xvmc/i915_xvmc.c @@ -1282,23 +1282,6 @@ static int i915_xvmc_mc_render_surface(Display * display, XvMCContext * context, return 0; } -static int i915_xvmc_mc_get_surface_status(Display * display, - XvMCSurface * surface, int *stat) -{ - i915XvMCContext *pI915XvMC; - struct intel_xvmc_surface *intel_surf; - - if (!display || !surface || !stat) - return BadValue; - - *stat = 0; - - if (!(intel_surf = surface->privData)) - return XvMCBadSurface; - - return 0; -} - struct _intel_xvmc_driver i915_xvmc_mc_driver = { .type = XVMC_I915_MPEG2_MC, .num_ctx = 0, @@ -1308,5 +1291,4 @@ struct _intel_xvmc_driver i915_xvmc_mc_driver = { .create_surface = i915_xvmc_mc_create_surface, .destroy_surface = i915_xvmc_mc_destroy_surface, .render_surface = i915_xvmc_mc_render_surface, - .get_surface_status = i915_xvmc_mc_get_surface_status, }; |