aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native/macosx/MacOSXWindowSystemInterface.m
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-23 01:54:44 +0100
committerSven Gothel <[email protected]>2010-11-23 01:54:44 +0100
commit7262641429b542929efc699e392f410f1dee2187 (patch)
tree47ff0984c805ee93fb288e87df87ee69501a03f5 /src/jogl/native/macosx/MacOSXWindowSystemInterface.m
parent320c4eb1044fac4f5f2b988a88bff5c0d2a5dc26 (diff)
X11/WGL: Unify GraphicsConfiguration Selection - Fixes WGL Bugs 397, 410, 429, 428 and 405
Fixes bugs WGL pixelformat related bugs: http://jogamp.org/bugzilla/show_bug.cgi?id=397 http://jogamp.org/bugzilla/show_bug.cgi?id=410 http://jogamp.org/bugzilla/show_bug.cgi?id=429 http://jogamp.org/bugzilla/show_bug.cgi?id=428 http://jogamp.org/bugzilla/show_bug.cgi?id=405 Tested on Window7-x86 (amd/nvidia), WinXP-x32-VirtualBox. Solution: Cleaned up X11/GLX code to use it as a correct boilerplate for the new WGL selection, which now duplicates the same behavior. X11/GLX and WGL follow the common logic: - 1st try: - get GLCapabilities based on users GLCapabilities - setting recommendedIndex as preferred choice - 2nd try: - get all GLCapabilities available - no preferred recommendedIndex available If no recommendedIndex has been selected and no chooser has been passed, we use the DefaultGLCapabilitiesChooser. Choose the GLCapabilities if a chooser is given (or see above).
Diffstat (limited to 'src/jogl/native/macosx/MacOSXWindowSystemInterface.m')
0 files changed, 0 insertions, 0 deletions