xserver/hw/xfree86
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
..
common Solaris: Move shared declarations to xf86_OSlib.h 2014-12-19 18:16:19 -08:00
ddc Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
dixmods Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
doc xfree86: Remove the memory of MTRR awareness 2014-09-16 11:58:53 -04:00
dri Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
dri2 dri2: SourceOffloads may be for DRI3 only 2015-01-23 10:11:30 -08:00
drivers modesetting: Refactor drmmode_glamor_new_screen_pixmap 2015-01-23 10:49:33 -08:00
exa xfree86/exa: xf86GetOptValString returns const char * now 2014-01-12 10:14:50 -08:00
fbdevhw Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
glamor_egl glamor: Share code for put_image handling. 2014-06-15 23:20:09 +01:00
i2c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
int10 int10: Port off xf86ReadBIOS 2014-09-16 11:58:53 -04:00
loader Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
man xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
modes Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
os-support Solaris: Move shared declarations to xf86_OSlib.h 2014-12-19 18:16:19 -08:00
parser Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
ramdac Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
shadowfb Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
utils Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
vbe Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
vgahw Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
x86emu Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
sdksyms.sh mi: Fold mifpolycon.c into miarc.c 2014-10-27 15:45:24 -04:00
xorg-wrapper.c xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
xorgconf.cpp xfree86: fix wrong DontZap documentation (#71113) 2014-05-24 20:02:56 +10:00