uxa/dri: Pixmap are offscreen and not attached to any display
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jan 2014 14:26:38 +0000 (14:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jan 2014 14:26:38 +0000 (14:26 +0000)
commit28810d5b367942c96acbc696f27105259422a0d1
tree8eb124b64712b90b301137c90424bb954f0eab63
parent4d8f78bc95f8dd36693f74365dbc3c442fbbf8a9
uxa/dri: Pixmap are offscreen and not attached to any display

As the code current assumes that pixmaps are located at screen origin
(0,0), it assumes that they are all on the first CRTC. However, since
they are offscreen, this leads to such complications as attempting to
emit vsync swapbuffers, and even worse attempting to swap a GLXPixmap
onto the scanout following a DRI2SwapBuffers.

Reported-by: Alexander Monakov <amonakov@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73282
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/uxa/intel_dri.c