xserver-multidpi/hw/xfree86/dri2
Ville Syrjälä 0ce25fd790 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>
2010-12-27 20:03:51 +02:00
..
dri2.c dri2: Don't page flip when the window size doesn't match the pixmap size 2010-12-27 20:03:51 +02:00
dri2.h DRI2: Don't return junk reply instead of blocking in glXWaitForSbcOML() 2010-06-10 06:43:46 -07:00
dri2ext.c dri2: Only deal with output windows and pixmaps. 2010-06-10 07:20:03 -07:00
Makefile.am Don't reuse PKG_CHECK_MODULES identifiers 2009-01-18 09:49:06 -08:00