xserver/hw
Ville Syrjälä 005b465048 dri2: Don't page flip when the window size doesn't match the pixmap size
If the drawable size doesn't match the pixmap size page flipping should
not be allowed.

If the window is larger than the pixmap, page flipping might need to
reposition the CRTC somewhere in the middle of the pixmap. I didn't
spot any code that would handle that at least in the intel driver.

Also the root pixmap could then move to some negative screen
coordinates. Not sure if all bits of code could handle that. Perhaps
when composite is enabled screen_x/y would make it work, but without
composite there's no way that it would work AFAICS.

Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
(cherry picked from commit 0ce25fd790)
2011-01-06 15:15:17 -05:00
..
dmx Fix screen number checks. 2010-12-02 12:17:01 -08:00
kdrive Fix screen number checks. 2010-12-02 12:17:01 -08:00
vfb Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xfree86 dri2: Don't page flip when the window size doesn't match the pixmap size 2011-01-06 15:15:17 -05:00
xnest dix: purge leftover manual key down bit setting. 2010-07-07 13:29:46 +10:00
xquartz XQuartz GL: Add $(GL_CFLAGS) to CFLAGS 2010-12-14 17:55:19 -08:00
xwin Cygwin/X: Fix glxWinCreateDrawable() for API change 2010-08-10 09:29:39 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00