summaryrefslogtreecommitdiff
path: root/src/xvmc/xvmc_vld.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-03-10 15:27:02 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-05-16 19:59:27 +0100
commitaf48f18a831903b57ade1585d8a77449ae833257 (patch)
treeb3cccaf237c1519e88ad0306233ff3c99e97b34b /src/xvmc/xvmc_vld.c
parent9624af63f0a149f73c10a13f89de3be3423d41d0 (diff)
libXvMC: unify PutSurface
Now that the drm bo is in the common structure, do the PutImage handling in common code, too. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> (cherry picked from commit c9aaaed829731cda22d057d6ac6424c587770973) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'src/xvmc/xvmc_vld.c')
-rw-r--r--src/xvmc/xvmc_vld.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/xvmc/xvmc_vld.c b/src/xvmc/xvmc_vld.c
index d122e89d..ee216c22 100644
--- a/src/xvmc/xvmc_vld.c
+++ b/src/xvmc/xvmc_vld.c
@@ -1046,19 +1046,6 @@ static Status put_slice2(Display * display, XvMCContext * context,
return Success;
}
-static Status put_surface(Display * display, XvMCSurface * surface,
- Drawable draw, short srcx, short srcy,
- unsigned short srcw, unsigned short srch,
- short destx, short desty,
- unsigned short destw, unsigned short desth,
- int flags, uint32_t *gem_handle)
-{
- struct intel_xvmc_surface *private_surface = surface->privData;
-
- drm_intel_bo_flink(private_surface->bo, gem_handle);
- return Success;
-}
-
static Status render_surface(Display * display,
XvMCContext * context,
unsigned int picture_structure,
@@ -1269,7 +1256,6 @@ struct _intel_xvmc_driver xvmc_vld_driver = {
.get_surface_status = get_surface_status,
.begin_surface = begin_surface,
.render_surface = render_surface,
- .put_surface = put_surface,
.put_slice = put_slice,
.put_slice2 = put_slice2
};