[965-xvmc] remove the vblank wait code, drm not support mutlple client

to wait on vblank now.
This commit is contained in:
Zou Nan hai 2008-12-19 09:34:14 +08:00
parent aae4008096
commit d8e89b26ef
1 changed files with 0 additions and 7 deletions

View File

@ -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) {