Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. Bug 1150 - Fix GLContextImpl.createImpl(..) NoARBCreateContext and '!ARB (details)
  2. GLContext glVersionString: Group all 'compat' flags to save space, add (details)
Commit e0ed09f8e2df570a9542f606a133c8fde074cbfe by Sven Gothel
Bug 1150 - Fix GLContextImpl.createImpl(..) NoARBCreateContext and '!ARB GL >= 3.1' issues

This fix solves the described issues below.

Test cases added for onscreen and offscreen drawables,
the latter includes Window's bitmap special case.

GLContextImpl.createImpl(..): Fix NoARBCreateContext and '!ARB GL >= 3.1' issues:
=================================================================================
GLContextImpl.createImpl(..) implementation of X11GLXContext and WindowsWGLContext
wrongly handles the case of NoARBCreateContext.
Here the !ARB created context shall allow GL >= 3.1,
since ARB context creation is disabled and 'no mix' can occur.

The latter was already intended due to failure criteris 'createContextARBTried'
in:
  if( glCaps.getGLProfile().isGL3() && createContextARBTried ) {
     failure("createImpl ctx !ARB but ARB is used, profile > GL2 requested");
  }

Further, WindowsWGLContext treats glCaps.isBitmap()
within the 'createContextARBTried=true' case, but it shall never
tried using the ARB context creation method.
This even lead to the issue of creating a 1.1 context,
but having the ProcAddressTable being still on the GL > 2 cached table.
This is due to 'setGLFunctionAvailability(..)'.

Ensure 'setGLFunctionAvailability(..)' is functional
====================================================

Caller shall either throws an exception if method returns false
or issues a state reset.

In case 'setGLFunctionAvailability(..)' throws an exception itself,
the states are no issue.
The file was modified make/scripts/tests.sh (diff)
The file was modified src/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXContext.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/egl/EGLContext.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java (diff)
The file was modified make/scripts/make.jogl.all.win64.bat (diff)
The file was modified make/scripts/tests-win.bat (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLProfile01NEWT.java (diff)
The file was modified make/scripts/tests-x64-dbg.bat (diff)
The file was modified make/scripts/make.jogl.all.win32.bat (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/GLProfile0XBase.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLProfile03NEWTOffscreen.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLProfile02NEWTNoARBCtx.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLProfile04NEWTOffscreenNoARBCtx.java (diff)
Commit a572f44f7a07171b34c18dee0b78a95ca577d2e4 by Sven Gothel
GLContext glVersionString: Group all 'compat' flags to save space, add ES32 compatibility
The file was modified src/jogl/classes/com/jogamp/opengl/GLContext.java (diff)