Sam Lantinga <slouken@libsdl.org> [Thu, 11 Oct 2012 14:44:27 -0700] rev 6576
Merged Ryan's changes
Sam Lantinga <slouken@libsdl.org> [Thu, 11 Oct 2012 14:43:13 -0700] rev 6575
Only install/uninstall the colormap if we've created a DirectColor colormap.
Sam Lantinga <slouken@libsdl.org> [Thu, 11 Oct 2012 14:42:49 -0700] rev 6574
Added missing X11 call XUninstallColormap()
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Oct 2012 17:20:43 -0400] rev 6573
Added missing X11 symbol.
Patrice Mandin <patmandin@gmail.com> [Thu, 11 Oct 2012 19:08:03 +0200] rev 6572
Use variables for what they were created for
Michael Sartain <mikesart@valvesoftware.com> [Thu, 11 Oct 2012 09:44:59 -0700] rev 6571
Test commit. Adding space to TODO..
Michael Sartain <mikesart@valvesoftware.com> [Thu, 11 Oct 2012 09:41:43 -0700] rev 6570
Add GLX_X_VISUAL_TYPE_EXT so created window will use DirectColor if available (instead of TrueColor).
Our new X11 window was being created with the TrueColor attribute, and trying to set the gamma
on that would fail. This change checks for the visual_info extension, and uses that to ask for
DirectColor if available.
Michael Sartain <mikesart@valvesoftware.com> [Thu, 11 Oct 2012 09:37:38 -0700] rev 6569
Add XInitThreads to X11_CreateDevice.
The nVidia driver requires XInitThreads to be called for it to work in multithreaded mode. Sam also
says that the overhead for this is small enough that it should just be done by default at this point.
If this causes issues, we can add a hint later to enable / disable this call.
Michael Sartain <mikesart@valvesoftware.com> [Thu, 11 Oct 2012 09:34:13 -0700] rev 6568
Fix Colormap when using X11_SetWindowFullscreenViaWM() path.
This was needed to get X11_SetWindowGammaRamp() working. Sam points out that there is an issue right now where
colormaps will only work with fullscreen windows, and we may want to set this when getting input focus for
windowed apps.
Ryan C. Gordon <icculus@icculus.org> [Wed, 10 Oct 2012 23:10:04 -0400] rev 6567
Allow specifying of OpenGL 3.2 Core Profile on Mac OS X.