SuccessChanges

Summary

  1. Bug 801: WIP 1/2 - Add color attribute; Switch Shader instead of (details)
  2. Cleanup *GraphicsDevice: Use 'final' for ctor parameter; (details)
  3. X11/WGL GLContext Impl: setGLFunctionAvailability(..) w/ (details)
  4. Bug 801: WIP 2/2 - Add color attribute; Switch Shader instead of (details)
  5. Bug 801: Reduce temp. object creation, i.e. GC load (details)
  6. Bug 801: Cleanup shader-program location/data update ; Add COLORTEXTURE (details)
  7. Bug 801: Fix regressions from 9c71f276d1fcc87b69b413847fd1da34b30d0932 (details)
  8. NEWT Events: Use final .. (minor edit) (details)
  9. Fix Quaternion.rotateByEuler(..): Zero rotation shall lead to NOP (details)
  10. Add AABBox.getRayIntersection(..), VectorUtil.line2PlaneIntersection(..) (details)
  11. Add TextureSequence.isTextureAvailable(), allowing triggering action (details)
  12. PinchToZoomGesture: Add 'delta' value [-1..1], move 'InputEvent trigger' (details)
  13. FFMPEGMediaPlayer: Use 'const' qualifier in shader stub (details)
  14. Fix ShaderCode.insertShaderSource(..): Return 'position' if nothing has (details)
  15. Bug 801: Region Dirty Update; TextureSequence GLMediaPlayer Fix; (details)
  16. VectorUtil: Fix method names, i.e. use type-suffix in end of function (details)
  17. NEWT MouseEvent: Decouple pointerIds from single-pointer button, i.e. (details)
  18. Bug 801: LabelButton uses DEFAULT_2PASS_LABEL_ZOFFSET in any mode, due (details)
  19. build-test.xml: Handle hs_err_pid*.log files, i.e. clean-up and archive (details)
Commit b935d5248aef79e2386a284b32f5888348a382d6 by Sven Gothel
Bug 801: WIP 1/2 - Add color attribute; Switch Shader instead of branching in shader; Update attributes and uniforms manually, drop ShaderState;

- ShaderCode
  - add int insertShaderSource(int shaderIdx, int position, Class<?> context, String path)
  - insertShaderSource(..): pos==-1 -> append code

- VectorUtil
  - add isVec3InTriangle3(..., float epsilon)
  - add testSeg2SegIntersection(..., float epsilon)
  - add testTri2SegIntersection(..., float epsilon)

- AffineTransform: Return result for chaining

- Font
  - Add pixel precise 'getPointsBounds(final AffineTransform transform, CharSequence string, float pixelSize)'
  - Rename getString*() -> getMetric*()
  - OTGlyph: Release _points field, no more used
  -

- Graph Triangulation
  - Count additional vertices in: Triangulator, CDTriangulator2D

- OutlineShape:
  - Allow skipping of 'transformOutlines2Quadratic', i.e. allow tagging
    OutlineShape to be quadratic_nurbs via 'setIsQuadraticNurbs()'

  - Clarify cleanup ot outlines in same method 'cleanupOutlines()'

  - Count additional vertices ..

- Graph Shader:
  - Start splitting and segmenting shader code for:
    - pass1 / pass2
    - features, i.e. sampleCont, color-channel, ..
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/attributes.glsl (diff)
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_weight.glsl
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allequal.glsl
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff)
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allprop01.glsl
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/Region.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/tess/Triangulator.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-lineAA.glsl
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/varyings.glsl (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad3.glsl (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UINewtDemo01.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextGLListener0A.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa.fp (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_quincunx.glsl (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label0.java
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-simple.glsl
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionNewtDemo.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/font/typecast/ot/OTGlyph.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa-weight.fp (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff)
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-segment-head.fp
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa-weight.fp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/font/Font.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm.fp (diff)
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_polesequal.glsl
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_lineAA.glsl
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIListenerBase01.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff)
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_simple.orig.glsl
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allsamples_prop01.glsl
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/uniforms.glsl (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.vp
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allsamples_equal.glsl
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa.fp (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/AttributeNames.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-single.vp
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/CrossHair.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/RenderStateImpl.java
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_equalweight.glsl
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad2.glsl (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/OutlineShapeXForm.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/UniformNames.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/geom/plane/AffineTransform.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-simple.orig.glsl
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad.glsl (diff)
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1.vp
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderState.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_fxaa3.glsl (diff)
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_polesprop01.glsl
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2.vp
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_rgss.glsl (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_bilin1.glsl (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm-weight.fp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-weight.glsl
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_propweight1.glsl
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_simple.glsl
Commit 6bee2a236e4ca4e1fac5d6f975e32b5942e1edf6 by Sven Gothel
Cleanup *GraphicsDevice: Use 'final' for ctor parameter; DefaultGraphicsDevice.getUniqueID(..) shall perform 'intern()' only once.
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/x11/X11GraphicsDevice.java (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/egl/EGLGraphicsDevice.java (diff)
The file was modifiedsrc/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsDevice.java (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/macosx/MacOSXGraphicsDevice.java (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/windows/WindowsGraphicsDevice.java (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/awt/AWTGraphicsDevice.java (diff)
Commit d6d9db6334193ec1cf3c1f00b2a9e154a15d779f by Sven Gothel
X11/WGL GLContext Impl: setGLFunctionAvailability(..) w/ withinGLVersionsMapping:=true if null == sharedContext

.. otherwise no quirk could be set on non ARB ctx GL implementations.

null == sharedContext, always for first context creation, i.e. indeed within GL version mapping.
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
Commit e8a5a1cbb988670ca206ab1ac633e19a91bfa478 by Sven Gothel
Bug 801: WIP 2/2 - Add color attribute; Switch Shader instead of branching in shader; Update attributes and uniforms manually, drop ShaderState;

- Due to shader-switching,
  'renderModes' are now local to Region, e.g. UIShape etc

- Remove RegionRenderer.renderModes

- VBORegion2P*:
  - Use simple 2x float matrix for orthogonal P+Mv

- Cleanup shader
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/FloatUtil.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa.fp
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderState.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/PMVMatrix.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa-weight.fp
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa.fp
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UINewtDemo01.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00Base.java (diff)
The file was addedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-msaa.glsl
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa-weight.fp
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/Region.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIListenerBase01.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderProgram.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm-weight.fp
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff)
The file was removedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm.fp
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/CrossHair.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/UniformNames.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff)
Commit abc833631e0ab30a06c7aff47a39a551544fd735 by Sven Gothel
Bug 801: Reduce temp. object creation, i.e. GC load
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label0.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/font/typecast/TypecastHMetrics.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/glsl/GLSLArrayHandler.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/font/Font.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLBufferObjectTracker.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/geom/Outline.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/geom/plane/AffineTransform.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/geom/SVertex.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/GLBufferStorage.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff)
Commit 9c71f276d1fcc87b69b413847fd1da34b30d0932 by Sven Gothel
Bug 801: Cleanup shader-program location/data update ; Add COLORTEXTURE + TextureSequence to Region (Demo: TextureButton)

Cleanup shader-program location/data update

- GLUniformData:
  - Allow lazy data setup, as used for
    RenderState.ProgramLocal, see below

- RenderState
  - Separate data (pmv, weight, colorStatic) from
    program-local uniforms -> add class ProgramLocal.
    Reduces uniform location lookups, since
    ProgramLocal is bound to Region impl.

  - ProgramLocal.update(..) needs to write uniform data always,
    since data is being used in multiple programs!

  - No 'dirty' tracking possible, removed - see above.

- RegionRenderer
  - Fix shader-selection: 2-pass programs differ from 1-pass!
  - No shader-setup at init

+++

Add COLORTEXTURE + TextureSequence to Region
  - Create color-texture coords in vertex-shader via region's bounding box (pass-1)
  - Use color-texture unit in pass-1 if enabled (own shader program)
  - Use TextureSequence in Region impl. providing all required data (unit + texture-name)
  - Demo: TextureButton (a UIShape)
The file was removedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIListenerBase01.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/varyings.glsl (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderProgram.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/AttributeNames.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00Base.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/Region.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/uniforms.glsl (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_simple.glsl (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/LabelButton.java
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/GLUniformData.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1.vp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/RoundButton.java
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/CrossHair.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/UniformNames.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-single.vp (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/TextureButton.java
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff)
Commit 71f96087bb8f3d171dba718668db7cd32f254bdf by Sven Gothel
Bug 801: Fix regressions from 9c71f276d1fcc87b69b413847fd1da34b30d0932 (UIShape blend clear-color, RegionRenderer initialized) ..
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff)
Commit 56bd8f3007005ecbf31a19b6a02788b33910c90b by Sven Gothel
NEWT Events: Use final .. (minor edit)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/InputEvent.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/NEWTEvent.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/WindowEvent.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/MonitorEvent.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/OutputEvent.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/MouseEvent.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/GestureHandler.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/KeyEvent.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/WindowUpdateEvent.java (diff)
Commit 0234452455511713fcbfd5df1987c3958cca781b by Sven Gothel
Fix Quaternion.rotateByEuler(..): Zero rotation shall lead to NOP instead of setting identity
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff)
Commit be8d0765317cdcb44bbe3016cc18273ecace9324 by Sven Gothel
Add AABBox.getRayIntersection(..), VectorUtil.line2PlaneIntersection(..) incl. getNormal*(..) and getPlane*(..)

AABBox.getRayIntersection(..) provides the intersecting coordinates,
where the fast alternative AABBox.intersectsRay(..) does not.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/PMVMatrix.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/Ray.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff)
Commit 7ff2fcb36540aaed087e3a2ba2f0f84916bce2e2 by Sven Gothel
Add TextureSequence.isTextureAvailable(), allowing triggering action only when source becomes ready
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/TextureSequenceDemo01.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/texture/TextureSequence.java (diff)
Commit f43b1f946159007b31162f765b1fa7b37991f940 by Sven Gothel
PinchToZoomGesture: Add 'delta' value [-1..1], move 'InputEvent trigger' up to GestureHandler
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/GestureHandler.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/PinchToZoomGesture.java (diff)
Commit 9bcf943a1c149fd2a196a321260a32b51814a0b0 by Sven Gothel
FFMPEGMediaPlayer: Use 'const' qualifier in shader stub
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java (diff)
Commit ff4e2b1996d2cfab1eb154020106004fb71471fd by Sven Gothel
Fix ShaderCode.insertShaderSource(..): Return 'position' if nothing has been added; ShaderCode.addDefaultShaderPrecision(..): Branch GLES3 before GLES2, since gles2.isGLES2() == true
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff)
Commit fe47c613e3e07681a5366d6ec3f071fdc4ade65d by Sven Gothel
Bug 801: Region Dirty Update; TextureSequence GLMediaPlayer Fix; Blending Fix ;

- Region Dirty Update
  - Split dirty -> ShapeDirty + StateDirty,
    where StateDirty forces re-rendering content
    w/o geometry update as req. for 2-pass mode.

- Fix TextureSequence (GLMediaPlayer) usage in RegionRenderer / GLRegion*
  - handle GL_TEXTURE_EXTERNAL_OES incl. Android ES3 bug
  - inject TextureSequence's shader stubs
  - shader: Use abstract lookup 'texture2D' -> 'gcuTexture2D'
  - flip scaled colorTexBBox if TextureSequence 'tex.getMustFlipVertically()'

  - TODO: Handle multiple TextureSequence shader programs!

- Fix Blending: GLRegion* / RegionRenderer / RenderState
  - Disable/Enable depth-writing w/ blending
  - Region impl. sets proper glBlendFunc*(..),
    i.e. 2-pass:
      - render2FBO: glClearColor(0f, 0f, 0f, 0f)
                    glBlendFuncSeparate(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA, GL.GL_ONE, GL.GL_ONE_MINUS_SRC_ALPHA)
      - renderFBO:  glBlendFunc(GL.GL_ONE, GL.GL_ONE_MINUS_SRC_ALPHA)
  - User code shall not set glClearColor(..) for 2-pass anymore

- Graph-UI Demo
  - UIShape:
    - Add MouseGestureListener, combining MouseListener + GestureListener
    - EventDetails -> PointerEventInfo
    - PointerEventInfo contains objPos (ray-intersection) and glWin-pos
    - Toggle:
      - Separate color (on/off) if enabled
      - Toggle on click if enabled

  - SceneUIController
    - Use PinchToZoomGesture and propagete same gesture to UIShape

    - Use AABBox.getRayIntersection(..) using 'real' shape coordinates
      for 1st picking.

    - Use shape PMV for secondary picking (drag, zoom 2-pointer, etc),
      see windowToShapeCoords(..)

    - Sort shapes according to z-value (render: ascending; picking: descending)

    - Only 'drag' if pointerId matches 1st pressed pointer
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/TextureButton.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-segment-head.fp (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/CrossHair.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/Region.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label0.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/uniforms.glsl (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_simple.orig.glsl (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_simple.glsl (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/LabelButton.java (diff)
Commit 38365e14977714df3f19fb6b5880dd6f4d4d5743 by Sven Gothel
VectorUtil: Fix method names, i.e. use type-suffix in end of function for clarity and unique method naming
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2DExpAddOn.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/math/TestQuaternion01NOUI.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/graph/curve/tess/Loop.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff)
Commit 11021769c78343b842b723a432a08946a65a1ceb by Sven Gothel
NEWT MouseEvent: Decouple pointerIds from single-pointer button, i.e. always use proper pointerId >= 0

In case of single-pointer mouse events, always use pointerId 0,
don't derive from button name.

Multiple pointer events still derive button name from the 'action' pointerId.

This allows applications to utilize pointerId equally for single and multiple
pointer events.

Passed all 'junit.run.newt.event' unit tests
The file was modifiedsrc/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/event/MouseEvent.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit 1c4a353b7edbbc03440197db3c2dabfc37f8010d by Sven Gothel
Bug 801: LabelButton uses DEFAULT_2PASS_LABEL_ZOFFSET in any mode, due to disabled depth buffer in blend mode
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/ui/LabelButton.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff)
Commit b4beeec1423d0d25b834fb41d957f4409441d413 by Sven Gothel
build-test.xml: Handle hs_err_pid*.log files, i.e. clean-up and archive
The file was modifiedmake/build-test.xml (diff)