Find a file
Eric Anholt 0fd4d26240 glx: Replace broken GLX visual setup with a fixed "all" mode.
With trying to match depths so that you didn't end up with a depth 24
fbconfig for the 32-bit composite visual, I broke the alpha bits on the depth
24 X visual, which angered other applications.  But in fixing that, the
pickFBconfigs code for "minimal" also could end up breaking GLX visuals if
the same FBconfig was chosen for more than one X visual.
We have no reason to not expose as many visuals as possible, but the old
"all" mode didn't match any existing X visuals to GLX visuals, so normal
GL apps didn't work at all.

Instead, replace it with a simple combination of the two modes: Create GLX
visuals by picking unique FBconfigs with as many features as possible for
each X visual in order.  Then, for all remaining FBconfigs that are
appropriate for display, add a corresponding X and GLX visual.

This gets all applications (even ones that aren't smart enough to do FBconfigs)
get all the options to get the visual configuration they want.  The only
potential downside is that the composite ARGB visual is unique and gets a
nearly full-featured GLX visual (except that the root visual might have taken
the tastiest FBconfig), which means that a dumb compositing manager could
waste resources. Write compositing managers using FBconfigs instead, please.
(cherry picked from commit c40bad88475debf7a1774e22dce835577ad32154)

Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 516f8e2cad)
2009-07-26 12:25:11 -07:00
afb Merge branch 'master' into XACE-SELINUX 2007-11-19 18:10:46 -05:00
cfb One more XPRINT nuke 2009-02-24 22:33:40 -08:00
cfb32 get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE 2006-07-18 18:17:38 -04:00
composite Conditionalize Composite-based backing store on pScreen->backingStoreSupport. 2008-09-17 15:48:56 -07:00
config Non-Linux OS'es should default to kbd driver, not now-dead keyboard driver 2008-12-16 14:06:14 -05:00
damageext Revert "registry: Register DAMAGE extension protocol names." 2007-11-20 17:31:00 -05:00
dbe dbe: fix DoS reported by iDefense. 2008-06-12 09:04:47 +10:00
dix Default to use standard bitmap fonts, with builtins as fallback 2009-02-24 22:30:13 -08:00
doc Xserver.man: Typo (the the). 2008-09-02 17:57:34 -04:00
exa EXA: avoid copy operations if no boxes in use 2008-12-16 14:06:25 -05:00
fb fb: Removed a warning about unused variable 2008-11-22 14:33:01 -08:00
glx glx: Replace broken GLX visual setup with a fixed "all" mode. 2009-07-26 12:25:11 -07:00
hw glx: Replace broken GLX visual setup with a fixed "all" mode. 2009-07-26 12:25:11 -07:00
include XQuartz: Initial support for automatic updates through Sparkle 2009-07-18 15:51:29 -07:00
mfb Remove usage of mfbChangeWindowAttributes missed in e4d11e58c... 2008-10-06 20:10:25 -07:00
mi XQuartz: Fix alpha to be 1 (screenshots bug, etc) 2009-05-29 14:09:41 -07:00
miext Rootless: Use serverClient instead of NullClient 2009-06-02 19:12:41 -07:00
os X n'est pas une print API. 2009-02-24 22:26:32 -08:00
randr RANDR: Fix output property event delivery. 2008-11-05 13:01:10 -05:00
record CVE-2008-1377 - RECORD and Security extensions memory corruption 2008-06-10 12:30:54 -06:00
render Don't return BadAlloc when trying to set a PictureFilter with no parameters when a filter with parameters was previously set. 2008-07-23 13:50:54 -04:00
Xext Merge commit 'origin/server-1.5-branch' into xorg-server-1.5-apple 2009-04-22 19:29:29 -07:00
xfixes Normalize swapped dispatch for Fixes{ChangeSaveSet,SelectSelectionInput} 2008-02-22 15:25:26 -05:00
Xi Xi: ChangeDeviceControl presence events should set the appropriate devchange. 2008-07-29 10:16:16 +09:30
xkb xkb: Extra sanity checks to prevent dev->key == NULL dereferencing. 2008-12-16 14:19:00 -05:00
XTrap Bug #11857: Avoid running off the end of a MAXCLIENTS-sized array. 2008-06-24 14:13:30 -04:00
.gitignore Updated .gitignore 2008-12-28 22:15:31 -08:00
acinclude.m4 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 2007-07-25 17:42:23 -07:00
autogen.sh xquartz: add default prefix to autogen.sh 2008-04-23 03:40:31 -07:00
configure.ac 1.5.3-apple12 2009-07-23 20:05:17 -07:00
COPYING COPYING: Collapse 'canonical license' into one statement 2007-11-07 03:58:56 +02:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Move GL/glx on level up now that it's the only thing left under GL. 2008-06-26 16:14:52 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Export the server ABI versions from xorg-server.pc 2007-11-05 17:18:46 -05:00