xserver-multidpi/hw
Jason Ekstrand b4703a5a6e modesetting: Refactor drmmode_glamor_new_screen_pixmap
The original drmmode_glamor_new_screen_pixmap function was specific to the
primary screen pixmap.  This commit pulls the guts out into a new, more
general, drmmode_set_pixmap_bo function for setting a buffer on a pixmap.
The new function also properly tears down the glamor bits if the buffer
being set is NULL.  The drmmode_glamor_new_screen_pixmap function is now
just a 3-line wrapper around drmmode_set_pixmap_bo.

v2 Jason Ekstrand <jason.ekstrand@intel.com>:
 - Re-arranged code in drmmode_set_pixmap_bo and
   drmmode_glamor_handle_new_screen_pixmap so that glamor_set_screen_pixmap
   only gets called for the screen pixmap
 - Guard the call to glamor_set_screen_pixmapa with a drmmode->glamor check

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2015-01-23 10:49:33 -08:00
..
dmx Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
kdrive Synchronize capslock in Xnest and Xephyr 2015-01-07 09:22:12 +10:00
vfb vfb: Don't reimplement micmap so much 2014-10-08 10:10:39 +02:00
xfree86 modesetting: Refactor drmmode_glamor_new_screen_pixmap 2015-01-23 10:49:33 -08:00
xnest Synchronize capslock in Xnest and Xephyr 2015-01-07 09:22:12 +10:00
xquartz Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xwayland Avoid possible null pointer dereference. 2015-01-23 10:03:57 -08:00
xwin Merge remote-tracking branch 'jturney/master' 2014-12-08 18:04:08 -08:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00