sna/dri2: Stop trying to attach vblank events to pixmaps

Once again I tried to add an event to a pixmap, but only Windows carry
the CRTC tracking information. Stop it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-08-22 19:10:47 +01:00
parent a6317fc329
commit 3e07681c19
1 changed files with 2 additions and 0 deletions

View File

@ -3334,6 +3334,8 @@ blit:
front->flags = back->flags;
type = DRI2_BLIT_COMPLETE;
}
if (draw->type == DRAWABLE_PIXMAP)
goto fake;
skip:
DBG(("%s: unable to show frame, unblocking client\n", __FUNCTION__));
if (crtc == NULL && (sna->flags & SNA_NO_WAIT) == 0)