SuccessChanges

Summary

  1. GLContext.hasNoDefaultVAO(): Remove ES 3.x, fixing issues w/ ES 3.x (details)
  2. BuildComposablePipeline: Handle synthetic isGL* and getGL* more generic, (details)
  3. Fix ShaderCode.es3_default_precision_fp: ES 3.x requires same precision (details)
  4. FixedFuncHook: Use downstream gl.getGLProfile().getImpl() for custom (details)
Commit 67444b99f42e5a6db282e8a7dbc0e633713d0d48 by Sven Gothel
GLContext.hasNoDefaultVAO(): Remove ES 3.x, fixing issues w/ ES 3.x client side vertex arrays

Commit 6136457f10d020c779adc78641d0048f77ab1635 defined hasNoDefaultVAO() as [ GL4, GL3, GLES3 ],
however ES 3.x still supports (deprecated):
  - client side vertex arrays
  - default vertex array object (VAO)

Setting a custom VAO leads to GL_INVALID_OPERATION for client side vertex arrays
used w/ glVertexPointer(..).

Hence removing GLES3 from hasNoDefaultVAO().
The file was modifiedsrc/jogl/classes/javax/media/opengl/GLContext.java (diff)
Commit 323fd68b6cce41de4980a909ef55273a98a8aad9 by Sven Gothel
BuildComposablePipeline: Handle synthetic isGL* and getGL* more generic, allow FixedFunctionHook to properly determine it's identity

BuildComposablePipeline: Handle synthetic isGL* and getGL* more generic, allow using a prologue hook
as needed for FixedFunctionHook's 'isGL*core()', 'isGLES*Compatible()' and 'getGLProfile()' methods.

The latter FixedFunctionHook take the emulated GL profile GL2ES1 into account,
allowing JOGL code to assume only having GL2ES1 available.
Otherwise methods like Texture.enable(..) would skip the glEnable(TEXTURE_2D)
call and FixedFunctionHook could not enable it's usage.

GLProfile received a 'public static GLProfile createCustomGLProfile(final String profile, final GLProfile profileImpl)'
allowing utilities like FixedFunctionHook to create a generic profile.

BuildComposablePipeline sorts the methods before emitting for better readability.
The file was modifiedsrc/jogl/classes/javax/media/opengl/GLProfile.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/gluegen/opengl/BuildComposablePipeline.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncHook.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
Commit c391da73631aa551ad73d88068efebdb1e67e650 by Sven Gothel
Fix ShaderCode.es3_default_precision_fp: ES 3.x requires same precision for uniforms -> re-use es3_default_precision_vp; Fixes PointsDemoES2
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff)
Commit 53c6a6cde3b57b54c71b9c1dc341c46854e33487 by Sven Gothel
FixedFuncHook: Use downstream gl.getGLProfile().getImpl() for custom GL2ES1 impl. profile, reflecting true implementing profile.
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncHook.java (diff)