[965-xvmc] remove the vblank wait code, drm not support mutlple client
to wait on vblank now.
This commit is contained in:
parent
aae4008096
commit
d8e89b26ef
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue