SuccessChanges

Summary

  1. Bug 1207 - GLDebugMessageHandler: Support GL_KHR_debug for Desktop and (details)
  2. Bug 1203: OpenGL ES 3.1 NVIDIA 355.06's EGL impl. is unstable requires (details)
  3. Bug 1203: Add missing constraints in desktop *GLContext.create* methods: (details)
Commit 2db11ad80582af8715071b47b5331b79001d511c by Sven Gothel
Bug 1207 - GLDebugMessageHandler: Support GL_KHR_debug for Desktop and ES profile

GL_KHR_debug <https://www.opengl.org/registry/specs/KHR/debug.txt>

GL_KHR_debug shall be favorized before
  - GL_ARB_debug_output
  - GL_AMD_debug_output

Allow GL_KHR_debug for GL2GL3 and GL2ES2 profiles,
i.e. including ES profiles: GLES2, GLES3.

GL_ARB_debug_output and GL_AMD_debug_output
are only allowed for desktop GL2GL3 profiles.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/GLExtensions.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLDebug01NEWT.java (diff)
The file was modifiedmake/config/jogl/gl-gl4bc.cfg (diff)
The file was modifiedmake/config/jogl/gl-es3-impl.cfg (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
The file was modifiedsrc/jogl/native/GLDebugMessageHandler.c (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLDebug00NEWT.java (diff)
The file was modifiedmake/config/jogl/gl-es1.cfg (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java (diff)
Commit 18e487fdfe6f27564d976aa3a568d0ddc272d8ba by Sven Gothel
Bug 1203: OpenGL ES 3.1 NVIDIA 355.06's EGL impl. is unstable requires GLRendererQuirk.SingletonEGLDisplayOnly

Test cases with multiple EGLDisplay init/terminate result to crashes
due to NVidia's 355.06 driver.

Hence enable GLRendererQuirk.SingletonEGLDisplayOnly
if EGL vendor is NVIDIA until a good driver version is known.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java (diff)
Commit 5acb70d3d301fe66e4d03037325a91528e4c2c1d by Sven Gothel
Bug 1203: Add missing constraints in desktop *GLContext.create* methods: Bail out if GL ES is requested ; Fix test case

*GLContext.createImpl(..) shall throw an GLException:
*GLContext.createContextARBImpl(..) shall return 0:
  - Desktop implementation: if GL ES is requested
  - EGL implementation: if GL Desktop is requested, but not available

Otherwise GLContextImpl may mistake a desktop context for an ES one.

+++

Fix unit test TestGLAutoDrawableFactoryGLProfileDeviceNEWT.test11ES2OnDesktop():
  We have to query the factory by desired profile,
  since the desktop factory cannot produce an GL ES context.
The file was modifiedsrc/jogl/classes/jogamp/opengl/egl/EGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLAutoDrawableFactoryGLProfileDeviceNEWT.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java (diff)