summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2008-12-19 09:34:14 +0800
committerZou Nan hai <nanhai.zou@intel.com>2008-12-19 09:34:14 +0800
commitd8e89b26ef5ef2c15e5d34162b14d279a7f0bb1c (patch)
tree7fe57e43bf8fc381aa9c3080ae0be1fbec4647a3 /src
parentaae4008096399a0e84abc7c016b35092caf9db25 (diff)
[965-xvmc] remove the vblank wait code, drm not support mutlple client
to wait on vblank now.
Diffstat (limited to 'src')
-rw-r--r--src/xvmc/intel_xvmc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/xvmc/intel_xvmc.c b/src/xvmc/intel_xvmc.c
index c197e358..4b73caa5 100644
--- a/src/xvmc/intel_xvmc.c
+++ b/src/xvmc/intel_xvmc.c
@@ -757,13 +757,6 @@ _X_EXPORT Status XvMCPutSurface(Display *display,XvMCSurface *surface,
}
intel_surf->last_draw = draw;
/* fill intel_surf->data */
- if (1)
- {
- drmVBlank vbl;
- vbl.request.type = DRM_VBLANK_RELATIVE;
- vbl.request.sequence = 1;
- drmWaitVBlank(xvmc_driver->fd, &vbl);
- }
ret = (xvmc_driver->put_surface)(display, surface, draw, srcx, srcy,
srcw, srch, destx, desty, destw, desth, flags, &intel_surf->data);
if (ret) {