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

Changes

Summary

  1. Minor NEWT Display/Screen API doc (details)
  2. FixedFuncPipeline/Hook: Add glColor4ub() w/ value conversion, make (details)
  3. ImmModeSink: Add glColor3ub(), glColor4ub(); Add proper value conversion (details)
  4. ImmModeSink VBO: Update single buffers (vertex, color, ..) if once (details)
  5. ImmModeSink: Add resizeElementCount, allowing user to set a lower (details)
  6. ImmModeSink: Pretty'fying Ctor/Factory methods argument list (details)
  7. FixedFuncPipeline: Cache current ShaderSelectionMode, update PMVMatrix (details)
  8. FixedFuncPipeline: Don't handle CullFace, ES2 impl. already takes care (details)
  9. NEWT / BCM-VC-IV: Fix transparency according to given capabilities (details)
  10. EGLDrawableFactory: Detect ES1 implementation within ES2 library, if not (details)
  11. Add GenericGLCapabilitiesChooser: Dropping (details)
  12. Fix commit 48bcceaf611a17bb3795aa9fe25a0e0c726879f7, (details)
  13. NEWT ScreenMode Change Failover / Window.setFullscreen() shall use (details)
  14. FixedFuncPipeline: Add GL_POINT* state tracking; Fix glDrawArrays(): (details)
  15. FFP-Emu: Adding simple POINTS shader ; Adding GLRunnable2 interface, (details)
  16. Fix ImmModeSink Padding: Fourth element default value (vertex/color) is (details)
  17. FixedFuncPipeline GL_POINTS: Fix gl_PointSize (attribute data format), (details)
  18. FixedFuncHook/ImmModeSink: Fix *Pointer 'normalized' parameter (details)
  19. ImmModeSink: Reduce DEBUG_* print a bit (no this.toString()) (details)
  20. Fix regression of commit 40d01bef2a1db44533472c37961aabbef68de644: Test (details)
Commit 1b327874356130096546533a690deff3b7bc876c by Sven Gothel
Minor NEWT Display/Screen API doc
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLAutoDrawableBase.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/Display.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/Screen.java (diff)
Commit 153a37378beff3f8b40fed8e55b62c2f2790eca5 by Sven Gothel
FixedFuncPipeline/Hook: Add glColor4ub() w/ value conversion, make glColor4f() more efficient, use pre-alloc NIO buffer
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncPipeline.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncHook.java (diff)
Commit 9c6ad40321266e6fe22455572d942b98535debf1 by Sven Gothel
ImmModeSink: Add glColor3ub(), glColor4ub(); Add proper value conversion of imm. gl* functions; Default color padding is 1f; Make fields private.
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/ImmModeSink.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/GLBuffers.java (diff)
Commit e54c934ddb1e2f121f9cbc0956ab8c43b05f7665 by Sven Gothel
ImmModeSink VBO: Update single buffers (vertex, color, ..) if once written and size gross-net > PAGE_SIZE

Usually PAGE_SIZE is written within one DMA xfer command,
so if the gross buffer bulk transfer contains more unused data than PAGE_SIZE
we may win when transfering each single buffer at buffer update.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/ImmModeSink.java (diff)
Commit 4273b4d1ad9780c6ac72683fe8cc6d7a5f402cfa by Sven Gothel
ImmModeSink: Add resizeElementCount, allowing user to set a lower additional resize element count
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/ImmModeSink.java (diff)
Commit dcc9cfd2397f2a44ed8d5b980297c5b974b5ac18 by Sven Gothel
ImmModeSink: Pretty'fying Ctor/Factory methods argument list
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/ImmModeSink.java (diff)
Commit f25682cabc5f421c3126e75833ae70b5a16e5b2e by Sven Gothel
FixedFuncPipeline: Cache current ShaderSelectionMode, update PMVMatrix according it's usage (update Mvi/Mvit only if lighting is being used)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncPipeline.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
Commit 1aea29bb5d253600213024fd2c12a91bf3599202 by Sven Gothel
FixedFuncPipeline: Don't handle CullFace, ES2 impl. already takes care of discarding pixels of culled faces.
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/mgl_uniform.glsl (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncHook.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncColor.fp (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncPipeline.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncColorTexture.fp (diff)
Commit 416c7fc1b90cd7b34c251268bb83ebeea61d17d6 by Sven Gothel
NEWT / BCM-VC-IV: Fix transparency according to given capabilities

Tested manual w/ TestGearsES2NEWT on Raspberry Pi
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/newt/native/bcm_vc_iv.c (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/bcm/vc/iv/WindowDriver.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java (diff)
Commit 48bcceaf611a17bb3795aa9fe25a0e0c726879f7 by Sven Gothel
EGLDrawableFactory: Detect ES1 implementation within ES2 library, if not found in ES1 library

This is the case in BCM-VC-IV blobs, tested on Raspeberry-Pi
The file was modifiedsrc/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java (diff)
Commit ba482e4042b899a8b9d9d4a2b660e8e92fcadfe7 by Sven Gothel
Add GenericGLCapabilitiesChooser: Dropping 'windowSystemRecommendedChoice' hint
The file was addedsrc/jogl/classes/com/jogamp/opengl/GenericGLCapabilitiesChooser.java (diff)
Commit 5915aa179b74bc7cbc28d43f11e03adfddcecb57 by Sven Gothel
Fix commit 48bcceaf611a17bb3795aa9fe25a0e0c726879f7, EGLDrawableFactory's ES1 impl. detection

'glBegin' is not ES1, duh!
The file was modifiedsrc/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java (diff)
Commit b5d42f14e0efdb117da9c5145d807ed0d7631b97 by Sven Gothel
NEWT ScreenMode Change Failover / Window.setFullscreen() shall use current ScreenMode rotated resolution.

ScreenMode Change Failover
  - In case a timeout appears (buggy XRandR),
    double check current ScreenMode in case it has been set.

Window.setFullscreen() shall use current ScreenMode rotated resolution.
  - The Screen's virtual size in not correct!
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/ScreenImpl.java (diff)
Commit 545a9422324f5c8ef47b48a2e3e5419c56f19f14 by Sven Gothel
FixedFuncPipeline: Add GL_POINT* state tracking; Fix glDrawArrays(): Issued twice (duh!) almost halfed performance :)

TODO: Create GL_POINT texture and render w/ glDraw*()
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncHook.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/mgl_uniform.glsl (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncPipeline.java (diff)
Commit 9ad687e18a67d335ea8ed4868025d0c740e02583 by Sven Gothel
FFP-Emu: Adding simple POINTS shader ; Adding GLRunnable2 interface, allowing passing a GL action w/ custom argument and return value.

Adding simple POINTS shader not regarding POINTS parameters and not using a texture (commented out).

FIXME:
  Event thought it works using a texture and gl_PointCoord in frag shader,
  I don't see the point here (lol) if gl_PointSize must be 1.0 in vert shader ..
  otherwise nothing is seen on ES2.0.
  On Desktop POINTS are always shown as 1 pixel sized points!
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/mgl_uniform.glsl (diff)
The file was addedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncPoints.fp (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncPipeline.java (diff)
The file was addedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncPoints.vp (diff)
The file was addedsrc/jogl/classes/javax/media/opengl/GLRunnable2.java (diff)
Commit 40d01bef2a1db44533472c37961aabbef68de644 by Sven Gothel
Fix ImmModeSink Padding: Fourth element default value (vertex/color) is 1f
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/ImmModeSink.java (diff)
Commit 5bdd283a9c3d0c656c859d499476173e2f609839 by Sven Gothel
FixedFuncPipeline GL_POINTS: Fix gl_PointSize (attribute data format), Add GL_POINT_SOFT and dist/fade attenuation (Adding basic POINT unit tests)

gl_PointSize (and all other uniform array elems) was not propagated due to wrong usage of GLUniformData component param.
Due to efficiency, we use vec4[2] now and #defines in shader to easy readability.

GL_POINT_SOFT uses gl_PointCoord to determnine inside/outside circle position
while adding a seam of 10% in/out. This almost matches 'other' implementations and gives a nice smooth circle.

!GL_POINT_SOFT produces a proper square (billboard).

Point-Vertex shader takes dist/fade attentuation into account.
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncPipeline.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es1/PointsDemoES1.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/PointsShader.vp (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncPoints.fp (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/PointsShader.fp (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestPointsNEWT.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/PointsDemo.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/PointsDemoES2.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/mgl_uniform.glsl (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/shaders/FixedFuncPoints.vp (diff)
Commit 03cdffe5739ef8b032638cf4169e713c90fb36c6 by Sven Gothel
FixedFuncHook/ImmModeSink: Fix *Pointer 'normalized' parameter

All *Pointer methods used 'normalized:=false', but we cannot assume
the fixed function code does use normalized (0f..1f) values.
On the contrary, it usually uses the native format value range.

Hence we have to pass normalized:=true for all fixed point data types
and normalized:=false for floating point data types.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/ImmModeSink.java (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/GLArrayData.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncHook.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/GLBuffers.java (diff)
Commit 53d54caf6ee7ea24bcc93599300e06bf455c75aa by Sven Gothel
ImmModeSink: Reduce DEBUG_* print a bit (no this.toString())
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/ImmModeSink.java (diff)
Commit 133d7b82d47b2918af042944158e9b09e2663855 by Sven Gothel
Fix regression of commit 40d01bef2a1db44533472c37961aabbef68de644: Test for fourth element was invalid
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/ImmModeSink.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)