xserver-multidpi/glx
Eric Anholt 619c4d60eb 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.
2009-02-10 17:59:03 -08:00
..
dispatch.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-14 18:58:33 -08:00
extension_string.c Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
extension_string.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
g_disptab.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glapi.c Ensure symbols required by swrast_dri.so are visible. 2008-12-17 02:04:12 -02:00
glapi.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-14 18:58:33 -08:00
glapioffsets.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glapitable.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-14 18:58:33 -08:00
glapitemp.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glprocs.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glthread.c Ensure symbols required by swrast_dri.so are visible. 2008-12-17 02:04:12 -02:00
glthread.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glxbyteorder.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glxcmds.c Prevent double unref of glxdrawables 2009-02-01 09:06:43 -08:00
glxcmdsswap.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
glxcontext.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glxdrawable.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glxdri.c Fix GLX after 180bad8477. 2008-12-02 17:36:49 -08:00
glxdri2.c Fix GLX after 180bad8477. 2008-12-02 17:36:49 -08:00
glxdricommon.c Fix driGetConfigAttribIndex unaligned access to GLboolean. 2008-08-26 11:07:32 -04:00
glxdricommon.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glxdriswrast.c Cygwin/X: Cygwin doesn't have RTLD_LOCAL 2009-01-19 14:46:06 +00:00
glxext.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
glxext.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glxscreens.c glx: Replace broken GLX visual setup with a fixed "all" mode. 2009-02-10 17:59:03 -08:00
glxscreens.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glxserver.h glx: Replace broken GLX visual setup with a fixed "all" mode. 2009-02-10 17:59:03 -08:00
glxutil.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
glxutil.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
indirect_dispatch_swap.c Fix "warning: cast to pointer from integer of different size" 2009-02-04 09:42:02 +10:00
indirect_dispatch.c Fix "warning: cast to pointer from integer of different size" 2009-02-04 09:42:02 +10:00
indirect_dispatch.h VBO: Regenerate files based on recent changes to gl_API.xml 2008-07-02 06:25:03 -07:00
indirect_program.c Warning fix (GL likes to call strings GLubyte * instead of char *). 2008-12-12 10:37:40 -08:00
indirect_reqsize.c GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-14 18:58:33 -08:00
indirect_reqsize.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_size_get.c VBO: Regenerate files based on recent changes to gl_API.xml 2008-07-02 06:25:03 -07:00
indirect_size_get.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_size.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_table.c Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_table.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_texture_compression.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
indirect_util.c Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_util.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
Makefile.am Don't reuse PKG_CHECK_MODULES identifiers 2009-01-18 09:49:06 -08:00
render2.c Warning fix: Remove dead glXDisp{,Swap}_DrawArraysEXT definitions. 2008-12-12 10:37:40 -08:00
render2swap.c Warning fix: Remove dead glXDisp{,Swap}_DrawArraysEXT definitions. 2008-12-12 10:37:40 -08:00
renderpix.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
renderpixswap.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
rensize.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
single2.c GLX: Avoid a crash when we have an uninitialized GL context 2009-01-15 14:23:48 +00:00
single2swap.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
singlepix.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
singlepixswap.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
singlesize.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
singlesize.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
swap_interval.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
unpack.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
xfont.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00