xserver/hw/xquartz/GL
George Staplin 99babae132 XQuartz: GL: Fix a problem with uninitialized data in __glXAquaScreenProbe.
I added a memset to fix the issue with an uninitialized function pointer,
and potentially other GLX data in ->base.

Also use xalloc and xfree, instead of malloc.

Enable the alpha bits from the __GLcontextModes.  The alphaBits are no
longer always 0 as the previous comment eluded to.

Add some commentary about how some of the data structures work.

Cleanup some of the GLAQUA_DEBUG_MSG.

This was tested with various Mesa demos in a variety of situations over
indirect.
2009-03-02 01:22:15 -07:00
..
capabilities.c XQuartz: GL: Add capability detection for depth buffers, and multisampling. 2008-11-04 12:53:12 -07:00
capabilities.h XQuartz: GL: Add capability detection for depth buffers, and multisampling. 2008-11-04 12:53:12 -07:00
indirect.c XQuartz: GL: Fix a problem with uninitialized data in __glXAquaScreenProbe. 2009-03-02 01:22:15 -07:00
Makefile.am XQuartz: Fixed EXTRA_DIST for new GL files. 2008-10-07 11:39:08 -07:00
visualConfigs.c XQuartz: GL: Handle the alpha differently when the alpha is equal to GLCAPS_COLOR_BUF_INVALID_VALUE. 2008-11-12 17:17:25 -07:00
visualConfigs.h XQuartz: GL: Add the proper license information to the new files, and add more commentary to setVisualConfigs(). 2008-10-07 11:31:48 -06:00