The Jenkins Controller is preparing for shutdown. No new builds can be started.
The file was modified src/jogl/classes/javax/media/opengl/GLAutoDrawable.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/GLStateKeeper.java (diff) The file was modified src/jogl/classes/javax/media/opengl/GLDrawable.java (diff) The file was modified make/doc/jogl/spec-overview.html (diff)
Commit
7f7a23dd0ddf106e6f0c69fc2a05ff92ac56200e
by Sven Gothel Bug 776 GLContext Sharing: Refine API for relaxed and lazy GLContext sharing ; Fix GLContext memory contract (volatile) (Unit test remarks see below) - Add shared GLContext queries - Refined GLContextShareSet: - Use IdentityHashMap since GLContext's can only be identical w/ same reference (footprint, performance) - Add API doc for clarification - Add methods: - ArrayList<GLContext> getCreatedShares(final GLContext context) - ArrayList<GLContext> getDestroyedShares(final GLContext context) - Use 'final' where possible - Add GLContext methods: - boolean isShared() - List<GLContext> getCreatedShares() - List<GLContext> getDestroyedShares() - Add GLSharedContextSetter interface defining setting a shared GLContext directly (GLContext) or via a GLAutoDrawable: - setSharedContext(GLContext) - setSharedAutoDrawable(GLAutoDrawable) Both cause initialization/creation of GLAutoDrawable's drawable/context to be postponed, if the shared GLContext is not yet created natively or the shared GLAutoDrawable's GLContext does not yet exist. Most of impl. resides in GLDrawableHelper Implemented in: - GLAutoDrawableBase, GLOffscreenAutoDrawable - GLWindow - AWT GLCanvas TODO: - GLJPanel - SWT GLCanvas - GLDrawableFactory: - Add 'GLOffscreenAutoDrawable createOffscreenAutoDrawable(..)' variant w/o passing the optional shared GLContext _and_ specifying lazy GLContext creation. This allows to benefit from GLSharedContextSetter contract. Lazy GLContext creation is performed at 2st display() call at the latest. All JOGL code and unit tests use this new method now. - Mark 'createOffscreenAutoDrawable(..)' w/ shared GLContext argument and immediate GLContext creation deprecated - shall be removed in 2.2.0 - Make reference to GLContext and it's native handle volatile Since we rely on the query 'GLContext.isCreated()' to properly allow GLAutoDrawable's to query whether a shared GLContext is natively created (already), the handle must be volatile since such query and the actual creation may operate on different threads. +++++ - Add/Refine shared GLContext unit tests demonstrating diff. sharing methods. All variants of using shared GLContext: com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBO* Most convenient way to share via setSharedAutoDrawable(GLAutoDrawable): com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextVBOES2[NEWT|AWT]3 AWT use w/ JTabbedPane using setSharedAutoDrawable(GLAutoDrawable): com.jogamp.opengl.test.junit.jogl.acore.TestSharedContextWithJTabbedPaneAWT The file was modified src/jogl/classes/jogamp/opengl/GLDrawableFactoryImpl.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/glu/TestBug365TextureGenerateMipMaps.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/GLAutoDrawableDelegate.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledRendering2NEWT.java (diff) The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLOffscreenAutoDrawableImpl.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/GLContextDrawableSwitchBase.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOAutoDrawableFactoryNEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLAutoDrawableDelegateNEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/caps/TestMultisampleES1AWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestNEWTCloseX11DisplayBug565.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOOffThreadSharedContextMix2DemosES2NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLExtensionQueryOffscreen.java (diff) The file was modified src/jogl/classes/javax/media/opengl/GLContext.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextNewtAWTBug523.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLDrawableHelper.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java (diff) The file was modified src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLAutoDrawableFactoryES2OffscrnCapsNEWT.java (diff) The file was added src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java (diff) The file was modified src/jogl/classes/javax/media/opengl/GLDrawableFactory.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT3.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/awt/TextRenderer.java (diff) The file was modified src/newt/classes/com/jogamp/newt/opengl/GLWindow.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextListNEWT.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT0.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug461FBOSupersamplingSwingAWT.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT1.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/GearsES1.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/caps/TestBug605FlippedImageNEWT.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/jogl/classes/javax/media/opengl/GLOffscreenAutoDrawable.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextWithJTabbedPaneAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestRandomTiledRendering2GL2NEWT.java (diff) The file was removed src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLAutoDrawableFactoryGLnBitmapCapsNEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/caps/TestBug605FlippedImageAWT.java (diff) The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLContextShareSet.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLAutoDrawableFactoryGL2OffscrnCapsNEWT.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOOnThreadSharedContext1DemoES2NEWT.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestFBOAutoDrawableDeadlockAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextListAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES1NEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/TestGLContextDrawableSwitch02AWT.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java (diff) The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextWithJTabbedPaneAWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java (diff) The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3b.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java (diff)
Commit
bcfaa149b9803ce33c5a356cbcb45f7dfd3e4361
by Sven Gothel Bug 776 GLContext Sharing: Add note about driver stability (destruction order) ; Fix unit tests (Shared Gears, wait for created context and destruction order) - Add note about driver stability (destruction order) - See GLSharedContextSetter: Don't destroy master context before slaves! - Fix spec-overview.html#SHARED links, add link to GLSharedContextSetter in SHARED subsection. - Fix unit tests (Shared Gears, wait for created context and destruction order) - The GearsObject sharing was completly bogus! It simply used the _same_ GLArrayDataServer instance for sharing, but it should use a _copy_ of the shared GLArrayDataServer while only preserving the VBO object! Fixed, while adding required methods to GLArrayDataServer. - Waiting for the created GLContext of a GLAutoDrawable required us to pass the latter _and_ check whether it's GLContext exists and is natively created. - Accomodated the destruction order - see above! The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff) The file was modified src/jogl/classes/javax/media/opengl/GLDrawableFactory.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java (diff) The file was modified make/doc/jogl/spec-overview.html (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT3.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/GearsObject.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java (diff) The file was modified make/build-test.xml (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/GLArrayDataServer.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES1NEWT.java (diff) The file was modified make/scripts/tests-win.bat (diff) The file was modified src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java (diff) The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT1.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsObjectES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3b.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT0.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/GearsObjectES1.java (diff) The file was modified make/build-test.xml (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3b.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/swt/TestGearsES2SWT.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2SWT3.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTJOGLGLCanvas01GLn.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/swt/TestSWTBug643AsyncExec.java (diff) The file was modified make/scripts/tests-win.bat (diff) The file was modified src/jogl/classes/jogamp/opengl/GLDrawableHelper.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextNewtAWTBug523.java (diff)
Commit
d83d54f2aaf9b8389a64fba7a8c05c495873d941
by Sven Gothel Bug 876 : BuildComposablePipeline: getGL*() shall not return downstream.getGL*() [TraceGL* / DebugGL*] ; Simplify GLContextImpl's set Debug/Trace Pipeline Regression of commit 0002fccdcd6383874b2813dc6bbe3e33f5f00924: "Trace/Debug shall utilize downstream identification for isGL*() and getGL*() methods." Using the downstream identification commit is right for the isGL*() case, however, getGL*() returned the downstream object which makes the caller loosing the pipeline! Instead, we shall produce !GEN_GL_IDENTITY_BY_ASSIGNABLE_CLASS: "if( isGL<type>() ) { return this; } throw new GLException("Not a <type> implementation");" or for GEN_GL_IDENTITY_BY_ASSIGNABLE_CLASS: "return this;" The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff) The file was modified src/jogl/classes/com/jogamp/gluegen/opengl/BuildComposablePipeline.java (diff)
Commit
d8074fb1df1bdb63fdb97585c797c15d34695e9c
by Sven Gothel GLDrawableFactory: Add 'GLAutoDrawable createDummyAutoDrawable(..)' for convenience Added: GLAutoDrawable createDummyAutoDrawable(AbstractGraphicsDevice deviceReq, boolean createNewDevice, GLProfile glp) The file was modified src/jogl/classes/jogamp/opengl/GLDrawableFactoryImpl.java (diff) The file was modified src/jogl/classes/javax/media/opengl/GLDrawableFactory.java (diff)
Commit
9f2a9df0a4b7093925c8854b37fba053469a4b35
by Sven Gothel Bug 776 GLContext Sharing: Add copy-ctor to GLArrayData* w/ sliced Buffer; Refine GearsObject* GLArrayDataServer copying; GearsES*: Init VBO eagerly Add copy-ctor to GLArrayData* w/ sliced Buffer to allow general sharing of VBO via these high-level types. Refine GearsObject* GLArrayDataServer copying (commit bcfaa149b9803ce33c5a356cbcb45f7dfd3e4361): Utilize new GLArrayData* copy-ctor. GearsES*: Init VBO eagerly, allowing VBO usage after init(..). The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/GearsObject.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsObjectES2.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/GearsObjectES1.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/GLArrayDataServer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/GearsES1.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/GLArrayDataClient.java (diff)
Commit
85be81387d33224036b3fe2b02d74aab2926e028
by brice Fix #875 - ES version should be strictly validated When initializing the context in GLContextImpl.setGLFuncAvailability ES devices must be validated by strictly matching the major version, otherwise on ES3 devices we were mixing ES1 implementation with ES3 contexts, ultimately crashing in a safeguard. Signed-off-by: Brice Figureau <brice@daysofwonder.com> The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff) The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff) The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff) The file was modified doc/Implementation/MultiThreading.txt (diff) The file was modified src/jogl/classes/jogamp/opengl/GLDrawableImpl.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/swt/GLCanvas.java (diff) The file was modified src/jogl/classes/javax/media/opengl/GLContext.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/glsl/GLSLArrayHandlerInterleaved.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/glsl/GLSLArrayHandler.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/GLDataArrayHandler.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/GLFixedArrayHandler.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/GLArrayDataClient.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/GLArrayHandlerInterleaved.java (diff)
Commit
5cb08416a6ed44814065771f469a94f79c49ab3f
by Sven Gothel Bug 776 GLContext Sharing: GLSharedContextSetter API Doc: No 'Driver stability constraints' ; Fixing Test cases: Enable all, GearsObject*: Check VBO - GLSharedContextSetter API Doc: No 'Driver stability constraints' - No driver issues .. - Use 'Lifecycle Considerations' to describe usage issues .. - Fixing Test cases: Enable all, GearsObject*: Check VBO - GearsObject* needs to check whether VBO is 'still alive' if sharing is enabled. - Enable all unit tests. The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT1.java (diff) The file was modified src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT3.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsObjectES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/GearsObjectES1.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT2.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2SWT3.java (diff) The file was modified src/jogl/classes/javax/media/opengl/GLSharedContextSetter.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2AWT3b.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT3.java (diff) The file was modified src/jogl/classes/jogamp/opengl/egl/EGLExternalContext.java (diff) The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXExternalCGLContext.java (diff) The file was modified src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java (diff) The file was modified src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java (diff) The file was modified src/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLContext.java (diff) The file was modified src/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXContext.java (diff)
Commit
2481774c4a4a5d734dbeb2f7d8963f45d1b2a437
by Sven Gothel Fix Bug 875 - Cleanup branch using VersionNumber (fix 'Int' check strictMatch minor) and reuse isES; EGLContext: Use strictMatch for setGLFunctionAvailability() and handle failure; EGLDrawableFactory: Either detect ES3 or ES2. - Cleanup branch using VersionNumber (fix 'Int' check strictMatch minor) and reuse isES - EGLContext: Use strictMatch for setGLFunctionAvailability() and handle failure On ES, we require strictMatch, cleanup if failing. - EGLDrawableFactory: Either detect ES3 or ES2. Both only available with proper EGL context creation for ES profiles (TODO) The file was modified src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.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/newt/classes/jogamp/newt/driver/android/ScreenDriver.java (diff) The file was modified make/config/jogl/gl-impl-CustomJavaCode-gles1.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/GearsObject.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/util/TestES1FixedFunctionPipelineNEWT.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextVBOES2NEWT1.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff)
Commit
bca7777fa507a509f413c6dc8919bab641fe0d15
by mark Add functions for converting to and from binary16 half-precision floating point values. Derived from http://mvn.io7m.com/ieee754b16, of which I am the original author. The file was added src/jogl/classes/com/jogamp/opengl/math/Binary64.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/math/Binary32Test.java (diff) The file was added src/jogl/classes/com/jogamp/opengl/math/Binary16.java (diff) The file was added src/jogl/classes/com/jogamp/opengl/math/Binary32.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/math/Binary16Test.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/jogl/math/Binary64Test.java (diff)