Jogamp
GLProfile: Initialization fix and clarifications ( GLExceptions on n/a profiles )
authorSven Gothel <sgothel@jausoft.com>
Thu, 7 Jul 2011 01:39:43 +0000 (03:39 +0200)
committerSven Gothel <sgothel@jausoft.com>
Thu, 7 Jul 2011 01:39:43 +0000 (03:39 +0200)
commit29cc5fa0375026c09bcbfed16627fe9eb6c97846
treeaefd65d00e5e9a6fa4e28a54f090737d65d37f09
parentc9903cf9d4ceda09ec07ef340f8aa3d0a104e23a
GLProfile: Initialization fix and clarifications ( GLExceptions on n/a profiles )

- GLProfile.initSingleton(boolean) (implicit or explicit) won't
  throw any exception anymore. Followup 'GLProfile GLProfile.get(..)'
  calls will throw a GLException, if n/a.
  Availability maybe queried via GLProfile.isAvailable(..).

- GLCapabilties, GLCanvas, GLJPanel: Clarify case where GLException maybe thrown,
  i.e. no default GLProfile available on default device.

- Remove redundant GLProfile.is<ProfileName>Available(..)
src/jogl/classes/javax/media/opengl/GLCapabilities.java
src/jogl/classes/javax/media/opengl/GLProfile.java
src/jogl/classes/javax/media/opengl/awt/GLCanvas.java
src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLProfile01NEWT.java
src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java
http://JogAmp.org git info: FAQ, tutorial and man pages.