xserver-multidpi/glx
Paul Berry 16d8da5ca9 glx: Skip multisampled configs when matching pre-existing X visuals.
In __glXScreenInit() we generate the set of GLX visuals in two steps:
first we match each pre-existing X visual with a corresponding
FBConfig, then we generate a new X visual to correspond to all the
remaining FBConfigs.

The first step is used for the two default 24-bit visuals (true color
and direct color) and for the 32-bit visual.  If windowsystem
multisampling is enabled in Mesa, we need to ensure that none of these
three visuals gets matched to a multisampled config.

Fixes a bug with windowsystem multisampling in gnome-shell.  If the X
server happens to match up a multisampled FBConfig to the 32-bit
visual, gnome-shell will try to use it to read pixels from
alpha-blended windows (such as gnome-terminal), resulting in no window
appearing on screen.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2012-08-15 13:25:08 -07:00
..
clientinfo.c glx: Implement GLX SetClientInfo2ARB protocol 2012-07-05 11:44:09 -07:00
createcontext.c glx: Allow attributes and flags from GLX_ARB_create_context_robustness 2012-07-05 11:45:32 -07:00
dispatch.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
extension_string.c glx: Don't note GLX_INTEL_swap_event as being required by GLX 1.4, it isn't. 2012-08-03 22:58:11 +01:00
extension_string.h glx: Add extension string tracking for GLX_ARB_create_context_robustness 2012-07-05 11:44:42 -07:00
glapi_gentable.c glapi: Correct size of allocated _glapi_table struct 2012-04-23 20:20:42 -07:00
glapi.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glapi.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glapitable.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glprocs.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glthread.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glthread.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxbyteorder.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxcmds.c Use C99 designated initializers in glx Replies 2012-07-09 19:58:30 -07:00
glxcmdsswap.c Remove unneccesary casts from WriteToClient calls 2012-07-09 19:12:56 -07:00
glxcontext.h glx: Track the reset notification strategy for a context 2012-07-05 11:45:15 -07:00
glxdrawable.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxdri.c Merge remote-tracking branch 'idr/GLX_ARB_create_context' 2012-06-14 13:01:17 -07:00
glxdri2.c glx: Fix checking GL version 2012-07-13 11:25:04 +10:00
glxdricommon.c Add a common ARRAY_SIZE macro to dix.h 2012-07-09 23:06:41 -07:00
glxdricommon.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxdriswrast.c glx: Extend __GLXscreen::createContext to take attributes 2012-05-23 13:07:51 -07:00
glxext.c glx: drop GLX_LIBS from X server and workaround sdksyms. 2012-07-25 23:30:53 -07:00
glxext.h glx: Use one function to add a context to all global tables 2012-05-23 13:08:12 -07:00
glxscreens.c glx: Skip multisampled configs when matching pre-existing X visuals. 2012-08-15 13:25:08 -07:00
glxscreens.h Merge remote-tracking branch 'idr/GLX_ARB_create_context' 2012-06-14 13:01:17 -07:00
glxserver.h Restore extern to the declaration of __glXDRISWRastProvider 2012-07-12 13:25:57 +01:00
glxutil.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_dispatch_swap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_dispatch.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_dispatch.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_program.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_reqsize.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_reqsize.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_size_get.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_size_get.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_size.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_table.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_table.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_texture_compression.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
indirect_util.c Remove unneccesary casts from WriteToClient calls 2012-07-09 19:12:56 -07:00
indirect_util.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am Move DRI1 from external module to built-in 2012-07-10 00:30:40 -07:00
render2.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
render2swap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
renderpix.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
renderpixswap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
rensize.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
single2.c Use C99 designated initializers in glx Replies 2012-07-09 19:58:30 -07:00
single2swap.c Use C99 designated initializers in glx Replies 2012-07-09 19:58:30 -07:00
singlepix.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
singlepixswap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
singlesize.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
singlesize.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
swap_interval.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
unpack.h Remove unneccesary casts from WriteToClient calls 2012-07-09 19:12:56 -07:00
xfont.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00