1
0
Fork 0
mutter-performance-source/clutter/glx
Neil Roberts 821e622de6 Don't set the GLX_TRANSPARENT_TYPE attribute to choose an FBConfig
When Clutter tries to pick an ARGB visual it tried to set the
GLX_TRANSPARENT_TYPE attribute of the FBConfig to
GLX_TRANSPARENT_RGB. However the code to do this was broken so that it
was actually trying to set the non-existant attribute number 0x8008
instead. Mesa silently ignored this so it appeared as if it was
working but the Nvidia drivers do not like it.

It appears that the TRANSPARENT_TYPE attribute is not neccessary for
getting an ARGB visual anyway and instead it is intended to support
color-key transparency. Therefore we can just remove it and get all of
the FBConfigs. Then if we need an ARGB visual we can just walk the
list to look for one with depth == 32.

The fbconfig is now stored in a single variable instead of having a
separate variable for the rgb and rgba configs because the old code
only ever retrieved one of them anyway.
2010-01-07 15:58:53 +00:00
..
clutter-backend-glx.c Don't set the GLX_TRANSPARENT_TYPE attribute to choose an FBConfig 2010-01-07 15:58:53 +00:00
clutter-backend-glx.h Don't set the GLX_TRANSPARENT_TYPE attribute to choose an FBConfig 2010-01-07 15:58:53 +00:00
clutter-glx-texture-pixmap.c Fix handling of not-visible texture pixmaps 2009-06-15 11:29:37 +01:00
clutter-glx-texture-pixmap.h 2008-06-30 Matthew Allum <mallum@openedhand.com> 2008-06-30 14:36:49 +00:00
clutter-glx.h glx: Always request an ARGB visual 2009-12-01 16:25:54 +00:00
clutter-stage-glx.c glx: Always request an ARGB visual 2009-12-01 16:25:54 +00:00
clutter-stage-glx.h 2008-03-28 Matthew Allum <mallum@openedhand.com> 2008-03-28 22:50:55 +00:00
Makefile.am Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00