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

Changes

Summary

  1. Test: Add TestSharedContextVBOES2NEWT2 (ES2 variant of (details)
  2. MacOSX: Expose CGL's CGLLockContext(..) and CGLUnlockContext(..) - to (details)
  3. GLContextImpl*: createImpl() / makeCurrentImpl() refinement / robostness (details)
  4. NEWT MacWindow: the softLock (pthread mutex) is now always blocking (details)
Commit 70694b62974bab40c1411217ade8ae6fc1c554d5 by Sven Gothel
Test: Add TestSharedContextVBOES2NEWT2 (ES2 variant of TestSharedContextListNEWT2)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextListNEWT2.java (diff)
Commit 7ce949289c71cc4a64e15227c7760974b40e2c33 by Sven Gothel
MacOSX: Expose CGL's CGLLockContext(..) and CGLUnlockContext(..) - to provide required locking in multithreading environment
The file was modifiedmake/stub_includes/macosx/OpenGL/OpenGL.h (diff)
Commit 6b3fae9aebdafd8ed605543272d7d9cbf2f8c5dd by Sven Gothel
GLContextImpl*: createImpl() / makeCurrentImpl() refinement / robostness

createImpl(): If successful must leave context current.

makeCurrentImpl(): Is only called if context is not just created,
hence the boolean parameter 'boolean newCreatedContext' is removed.

This clearifies and actually cleans up the native makeContextCurrent/releaseContext call pairs.

MacOSXCGLContext: CGL and NS impl. of native makeContextCurrent/releaseContext uses CGL locking
to provide a thread safety. This is recommended in OS X OpenGL documentation on
[shared context] multithreaded use cases.

Post creation code, as seen in some pbuffer cases is moved to overriden createImpl() methods.
The file was modifiedsrc/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXExternalCGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/egl/EGLExternalContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLContext.java (diff)
The file was modifiedsrc/jogl/native/macosx/MacOSXWindowSystemInterface.m (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXOnscreenCGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsPbufferWGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/egl/EGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/macosx/cgl/awt/MacOSXJava2DCGLContext.java (diff)
Commit daf11ad8174a1b4471eaa0b59c8350b4175baae2 by Sven Gothel
NEWT MacWindow: the softLock (pthread mutex) is now always blocking (remove non blocking code)
The file was modifiedsrc/newt/native/NewtMacWindow.m (diff)