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

Changes

Summary

  1. OSX Fixes: bug 548 (another regression: pixelfmt), ctx creation failure (details)
  2. OSX Fix: Catch releaseImpl's glFinish() exception (DebugGL); Make (details)
  3. NEWT/OSX Performance Fix: Cache CGDisplayScreenSize() result, since it's (details)
Commit 835b36d626f75f9e96001a41c2a6fe9f90466ae1 by Sven Gothel
OSX Fixes: bug 548 (another regression: pixelfmt), ctx creation failure -> no exception,

- bug 548: Another regression: pixelfmt failed for 10.6.7 and/or software OpenGL
  - enforcing accelerated leads to no pixelformat,
  - using the NSOpenGLView defaultPixelFormat causes to SIGSEGV

- ctx creation failure shall just lead to return null, no immediate exception
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLGraphicsConfiguration.java (diff)
The file was modified src/jogl/native/macosx/MacOSXWindowSystemInterface.m (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java (diff)
The file was modified make/scripts/tests.sh (diff)
Commit d23b08203e32f8f50991a48132eb3c2236b4efc0 by Sven Gothel
OSX Fix: Catch releaseImpl's glFinish() exception (DebugGL); Make GLContext.release's setCurrent(null) exception prone.

Catch releaseImpl's glFinish() exception (DebugGL)
  glGetError() after glFinish() (eg. w/ debug pipeline) produced unknown error 0x0506
  on OS X (10.7.2 NV).

Make GLContext.release's setCurrent(null) exception prone
  Call setCurrent(null) in finalizer block to ensure it's 'released' out of the TLS
  even when an exception is being thrown.

Make MacOSX Shared Resources 'destroy' more error prone (catch exceptions)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/GLContext.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java (diff)
Commit 48767a40c2461405dfce14e8d9eafbbab21d203e by Sven Gothel
NEWT/OSX Performance Fix: Cache CGDisplayScreenSize() result, since it's ridiculous slow

Each call to CGDisplayScreenSize() took around 6ms (5ms .. 20ms, avrg 6ms)
which added up to ~2s for ~400 Screen modes.
The file was modified src/newt/classes/jogamp/newt/driver/macosx/MacScreen.java (diff)
The file was modified make/build-newt.xml (diff)
The file was modified src/newt/native/MacWindow.m (diff)