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

Changes

Summary

  1. Bug 852: Remove CPU sourced data API entry where not allowed (ES3 and GL (details)
  2. Bug 852: Validate CPU sourced data API is allowed, throw exception if (details)
Commit 4e83a5df7a851cc33d85f76381f058256906ad4c by Sven Gothel
Bug 852: Remove CPU sourced data API entry where not allowed (ES3 and GL core >= 3.0) ; GL2 cfg: Ignore GL2ES3 symbols (super)

Remove CPU sourced data API entries via new config 'BufferObjectOnly  <name>',
listed in 'gl-common-gpubufferonly.cfg' and included in ES3 and all GL core >= 3 interfaces.

If BufferObjectOnly is defined for a function, only the 'long offset' variant is being emitted.

Due to limitations of GlueGen's 'ExtendedInterfaceSymbolsIgnore A.java', which only
identifies the function name and not the signature - all CPU sourced variants
are manually added to the compatibility and ES2 GL profiles via '*-common-cpubufferJavaCode.java' files.

GLContext: Added 'isCPUSourcedAvail()' to determine whether context allows CPU sourced data,
i.e. for GL2ES1 and GLES2 ctx.

GLContext/GLProfile/GL: isGLES2() now returns false if having a ES3 context due to 'CPU sourced'
incompatibility!

+++

GL2 cfg: Added ignore GL2ES3 symbols of it's superclass, removing duplicated symbols.
The file was modified make/config/jogl/gl-if-gl4_es3.cfg (diff)
The file was modified make/config/jogl/gl-if-gl4.cfg (diff)
The file was addedmake/config/jogl/gl-es3-impl.cfg (diff)
The file was addedmake/config/jogl/gl2_es2-common-cpubufferJavaCode.java (diff)
The file was addedmake/config/jogl/gl2-common-cpubufferJavaCode.java (diff)
The file was modified make/config/jogl/gl-if-gl2_gl3.cfg (diff)
The file was modified src/jogl/classes/javax/media/opengl/GLProfile.java (diff)
The file was modified src/jogl/classes/com/jogamp/gluegen/opengl/GLConfiguration.java (diff)
The file was addedmake/config/jogl/gl4bc-common-cpubufferJavaCode.java (diff)
The file was modified make/config/jogl/gl-if-gl3bc.cfg (diff)
The file was addedmake/config/jogl/gl3bc-common-cpubufferJavaCode.java (diff)
The file was removedmake/config/jogl/gl-es3.cfg (diff)
The file was modified make/config/jogl/gl-if-es2.cfg (diff)
The file was modified make/config/jogl/gl-if-gl2.cfg (diff)
The file was addedmake/config/jogl/gl2_es1-common-cpubufferJavaCode.java (diff)
The file was modified make/config/jogl/gl-if-gl2_es1.cfg (diff)
The file was modified make/config/jogl/gl-if-gl.cfg (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncPipeline.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/ImmModeSink.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/GLContext.java (diff)
The file was modified make/config/jogl/gl-if-gl3.cfg (diff)
The file was modified make/config/jogl/gl-if-gl2_es2.cfg (diff)
The file was modified make/config/jogl/gl-if-gl2_es3.cfg (diff)
The file was modified src/jogl/classes/com/jogamp/gluegen/opengl/GLEmitter.java (diff)
The file was modified make/build-jogl.xml (diff)
The file was addedmake/config/jogl/gl-common-gpubufferonly.cfg (diff)
The file was modified make/config/jogl/gl-gl4bc.cfg (diff)
The file was addedmake/config/jogl/gl-if-es3.cfg (diff)
The file was modified make/config/jogl/gl-impl-CustomJavaCode-gles3.java (diff)
Commit 8363df5da5794faf10478789954992cef0c0d50f by Sven Gothel
Bug 852: Validate CPU sourced data API is allowed, throw exception if not. GLContext: isCPUSourcedAvail() -> isCPUDataSourcingAvail()
The file was modified make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java (diff)
The file was modified make/config/jogl/gl-impl-CustomJavaCode-gles3.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncPipeline.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/jogl/classes/javax/media/opengl/GLContext.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestRedSquareES2NEWT.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/ImmModeSink.java (diff)