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

Changes

Summary

  1. jogl: use Boolean TRUE/FALSE constants for values that will be (details)
  2. Fix Bug 630: packedDepthStencilAvail didn't check for (details)
  3. Adapt to GlueGen change 08a8defda8b6f49eb794cf787f688ba65bfe7b37 (details)
  4. GLContext: Produce and expose GLSL version as VersionNumber and version (details)
  5. ShaderCode: Add defaultShaderCustomization(..) to prelude shader source (details)
  6. Fix Bug 601 - Auto-Repeat Behavior: Adding unit tests for typed key (details)
  7. NEWT KeyEvent: Fix intendation (details)
  8. NEWT KeyEvent: Remove invalid version remarks. (details)
  9. Fix Bug 631 and enhance 601: Handle multiple keys (pressed, released, (details)
  10. NEWT KeyEvent (Windows, OSX): Check whether keyCode is tracked before (details)
  11. Fix NEWT KeyCode: Basic KeyCode Validation on X11, Windows and OSX (details)
  12. NEWT X11 Display: Ignore events w/ NULL window, instead of throwing a (details)
  13. Minor edits FBObject/GearsObject (details)
  14. GearsES2/RedSquareES2: Dump GLRendererQuirks at init. (details)
  15. GLRendererQuirks: Add RequiresBoundVAO (w/ impl.), GLSLBuggyDiscard (details)
Commit d73ee3ac8aac58914146c0c9949902452db83b56 by Harvey Harrison
jogl: use Boolean TRUE/FALSE constants for values that will be immediately unboxed

No reason for ever using new Boolean when the constants are available.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was modifiedsrc/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java (diff)
Commit dedf4ea7ddab1279602208fa194231ea65409251 by Sven Gothel
Fix Bug 630: packedDepthStencilAvail didn't check for EXT_packed_depth_stencil extension
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/FBObject.java (diff)
Commit f2661adf587390a61cbb7fe2e3377da2d57672a7 by Sven Gothel
Adapt to GlueGen change 08a8defda8b6f49eb794cf787f688ba65bfe7b37 (VersionNumber)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLVersionNumber.java (diff)
Commit 0f198907181396c5aab545f621098ed2f210003a by Sven Gothel
GLContext: Produce and expose GLSL version as VersionNumber and version string (for shader programs)

Uses GL_SHADING_LANGUAGE_VERSION and parses it via VersionNumber, as well as having a static fallback
using the GL context version.

The value is valid and can be retrieved after ctx has been made current once.
The file was modifiedsrc/jogl/classes/javax/media/opengl/GLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
Commit 4f05d5add18048c2fbd1837c0563446c11177e8c by Sven Gothel
ShaderCode: Add defaultShaderCustomization(..) to prelude shader source w/ GLSL version and default precision (if GLES) - Used by GearsES2/RedSquare/PointDemo (Made GLSL version proof)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsObjectES2.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/PointsDemoES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/PointsShader.vp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/RedSquareShader.fp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/PointsShader.fp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/RedSquareShader.vp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/RedSquareShader2.fp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.vp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es1/GearsObjectES1.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareES2.java (diff)
Commit b008de41549e38aebdfcb7b094046235a8dde72f by Sven Gothel
Fix Bug 601 - Auto-Repeat Behavior: Adding unit tests for typed key order w/ and w/o auto repeat. Incl. fix for Windows.

Auto-Repeat tests recognizes whether auto-repeat could be triggered by AWT Robot.
The latter is not possible on Windows, hence manual testing was required on this platform.

Impact: X11, Windows and OSX produce proper key sequence incl. auto-repeat modifier mask.
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/AWTWindowFocusAdapter.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/util/NEWTKeyUtil.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/AWTMouseAdapter.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/NEWTFocusAdapter.java (diff)
The file was modifiedmake/scripts/tests-x64.bat (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/AWTFocusAdapter.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/util/KeyEventCountAdapter.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/TestKeyEventAutoRepeatNEWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/NEWTMouseAdapter.java (diff)
The file was modifiedmake/scripts/java-win64-dbg.bat (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/TestKeyEventOrderNEWT.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/newt/native/X11Display.c (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/AWTKeyAdapter.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/EventCountAdapter.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/NEWTKeyAdapter.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/InputEventCountAdapter.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/NEWTEvent.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/KeyEvent.java (diff)
Commit cb32db97634ba10961632a365c1256a8b3472112 by Sven Gothel
NEWT KeyEvent: Fix intendation
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/KeyEvent.java (diff)
Commit b8588b12e65ee47b5a74d75ea420a5252e0d93bb by Sven Gothel
NEWT KeyEvent: Remove invalid version remarks.
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/KeyEvent.java (diff)
Commit 2f9c77a347b76bebdadd4bec1ac92aa7ab72365f by Sven Gothel
Fix Bug 631 and enhance 601: Handle multiple keys (pressed, released, types incl. auto-repeat)

- Using keyCode (bit) maps to isPressed and isAutoRepeat, allowing use of multiple keys

- Enhance unit test TestKeyEventOrderNEWT w/ injecting variations of 2 diff. keys

- Manual tested on X11, Windows and OSX w/ and w/o auto-repeat
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/TestKeyEventOrderNEWT.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
The file was modifiedmake/scripts/tests-x64.bat (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/TestKeyPressReleaseUnmaskRepeatNEWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/NEWTKeyUtil.java (diff)
Commit 70d58b030bdbac98ba592a3a14a84cc0e4941c51 by Sven Gothel
NEWT KeyEvent (Windows, OSX): Check whether keyCode is tracked before using bitfield, use more IntBitfield.put(..) return value for efficiency.
The file was modifiedmake/scripts/tests-x64.bat (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit cf9a4e236891ce2f6d9469a017e880eed704dea0 by Sven Gothel
Fix NEWT KeyCode: Basic KeyCode Validation on X11, Windows and OSX

- X11: Add VK_QUOTE mapping

- OSX: Add single shift, ctrl alt key press;
       Fix mapping: Command -> Windows, Option -> ALT, add BACK_QUOTE and QUOTE.
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/KeyEvent.java (diff)
The file was modifiedsrc/newt/native/NewtMacWindow.m (diff)
The file was modifiedsrc/newt/native/X11Display.c (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/newt/native/NewtMacWindow.h (diff)
The file was modifiedmake/scripts/tests-x64.bat (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/NEWTKeyUtil.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/TestKeyCodeNEWT.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/MacKeyUtil.java (diff)
Commit b7e84320dced5325bd7f7b4dda917b251e3915ab by Sven Gothel
NEWT X11 Display: Ignore events w/ NULL window, instead of throwing a disturbing and fatal RuntimeException
The file was modifiedsrc/newt/native/X11Event.c (diff)
The file was modifiedsrc/newt/native/X11Display.c (diff)
Commit 61c80ee66512b72e5ea1644bfef5fc60105fe445 by Sven Gothel
Minor edits FBObject/GearsObject
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/FBObject.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/GearsObject.java (diff)
Commit 17d47c83bb976b6185b1562a2c332ecfef258c48 by Sven Gothel
GearsES2/RedSquareES2: Dump GLRendererQuirks at init.
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsObjectES2.java (diff)
Commit 9b6448b1d54716fd455c0cad0c6133c0edeb3bb8 by Sven Gothel
GLRendererQuirks: Add RequiresBoundVAO (w/ impl.), GLSLBuggyDiscard (todo) ; GLContextImpl: Bind default VAO if having quirk RequiresBoundVAO.

OSX w/ OpenGL >= 3 core context implementation requires a bound VAO for vertex attribute operations,
i.e. VertexAttributePointer(..). This has been experienced on OSX 10.7.5, OpenGL 3.2 core w/ Nvidia GPU
and in several forum posts. Such 'behavior' violates the GL 3.2 core specification,
which does not state this requirement, hence it is a bug. (Please correct me if I am wrong!)

GLContextImpl works around this quirk, by generating a default VAO and binds it at 1st makeCurrent (@creation)
and deletes it at destroy. This is minimal invasive since no action is required for subsequent makeCurrent or release.
We assume if a user uses and binds a VAO herself, she will mind this quirk.

Note: We could enhance this workaround by quering for a currently bound VAO at makeCurrent() and bind our default if none.
However, we refrain from this operation to minimize the workaround and complexity.
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)