The Jenkins Controller is preparing for shutdown. No new builds can be started.
The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/math/VectorUtil.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/math/VectorUtil.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff)
Commit
f51933f0ebe9ae030c26c066e59a728ce08b8559
by Sven Gothel Bug 801 : Graph TextRenderer Cleanup Part-1a (unclean) Remark: This commit is unclean and requires 'Part-1b' due to merging this commit after more than 2 years! Graph: - Use List<OutlineShape> instead of array allowing more flexible memory managment. - GLRegion -> Region promotion: - Region create(List<OutlineShape> outlineShapes, int renderModes) - Region create(OutlineShape outlineShape, int renderModes) - Region additions - void addOutlineShape(OutlineShape shape) - void addOutlineShapes(List<OutlineShape> shapes) - RegionRenderer - draw(..) remove 'position', redundant - - Deprecate 'TextRenderer' and 'GlyphString' Use Region.create(Font.getOutlineShapes(...)) + RegionRenderer instead. - FontInt -> Font promotion (make public) - getOutlineShape and getOutlineShapes - Font.Glyph additions - 'getID(), hashCode()' - 'float getScale(float pixelSize)' - GlyphShape - Add reference to Glyph allowing GlyphString to access the font metrics for translation and scaling - Experimental pre-scale/translation in GlyphString using default font size and it's metrics The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/Font.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/text/GlyphString.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRenderer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/AABBox.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/TextRendererImpl01.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/FontInt.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff)
Commit
c3621221b9a563495b4f54fe60e18e8db8cc57fb
by Sven Gothel Bug 802 : Graph TextRenderer Performance Part-1 (incomplete, rendering artifacts) Strategy Change: - Font.Glyph itself holds it's OutlineShape with it's default scaling. Triangulation is done only once per glyph! - A CharSequence produces a Region by translating and scaling each Glyphs's OutlineShape. This removes the need for re-triangulate - see above. See: TextRendererUtil - The indices of re-added Triangles are offset to the new vertices (FIXME, seems not be be accurate yet). - OutlineShape's vertices and triangles are reused if 'clean'. - Simplified code - Reduced copies API Changes: - OutlineShape, Region, ...: See above - Removed TextRenderer, GlyphShape and GlyphString: Redundant - Added TextRendererUtil to produce the Region from CharSequence Result: - Over 600 fps while changing text for each frame. Previously only ~60fps max. TODO: - Region shall not hold the triangles itself, but the indices instead. This will remove the need to swizzle w/ vertices in the Region Renderer impl and easies reusage of OutlineShapes. The file was modified src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UITextShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UINewtDemo01.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/tess/Loop.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/TextRendererImpl01.java The file was removed src/jogl/classes/com/jogamp/graph/geom/opengl/SVertex.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionNewtDemo01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo02.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/text/GlyphString.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/Font.java (diff) The file was added src/jogl/classes/com/jogamp/graph/geom/SVertex.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionNewtDemo02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Vertex.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Triangle.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/text/GlyphShape.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was added src/jogl/classes/com/jogamp/graph/curve/opengl/TextRenderUtil.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/jogl/classes/jogamp/graph/geom/plane/Path2D.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/FontInt.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java (diff) The file was modified src/jogl/classes/jogamp/graph/geom/plane/AffineTransform.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Outline.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/tess/Triangulator.java (diff) The file was removed src/jogl/classes/com/jogamp/graph/curve/opengl/TextRenderer.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/opengl/UIRegion.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified make/scripts/tests.sh (diff)
Commit
d84812b6fb398c73cb3f339ab13d74b7e6822181
by Sven Gothel Bug 802 : Graph TextRenderer Performance Part-2 (fix artifacts, cleanup, incomplete) - OutlineShape - Add DIRTY_VERTICES bit in triangulation, which in turn solves the rendering artifact issue. - transformOutlines(..) -> protected - Note: Always pick triangles first, then vertices. The former renders vertices dirty. - Region - Make triangles / vertices accessible - Add 'validateIndices()' to add indices for triangles, code moved from the GLRegion* impl. Shall be refined later! - GLRegion - Passing 'RegionRenderer' instead of RenderState .. reducing argument numbers and aligning all related 'render' methods while giving association to the RegionRenderer. - Renderer -> RegionRenderer, dropping 'intermediate' RegionRenderer - Dropping draw() in RegionRenderer, should be issued simply by GLRegion in a unique fashion. - Dropping RegionFactory Too simple code as-is, simply invoke in Region.create(..) - Overall: - Add 'final' qualifier - Remove overloaded methods where rither default args can be used or a followup method call completes the 'intention'. The file was removed src/jogl/classes/jogamp/graph/curve/opengl/RegionFactory.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PES2.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRenderUtil.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was removed src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/opengl/UIRegion.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff)
Commit
073ac5ab63af792d8468d8bf074b982f7c44ef33
by Sven Gothel Bug 801 : Graph TextRenderer Cleanup Part-2: Remove Path2D from Glyph/Typecast* ; Misc Cleanup Commit c3621221b9a563495b4f54fe60e18e8db8cc57fb introduced create an OutlineShape per Glyph from it's data w/o going through Path2D. Misc Cleanup: Remove unused code/fields, use private/final where possible. The file was removed src/jogl/classes/jogamp/graph/font/FontInt.java The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastHMetrics.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRenderUtil.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/Font.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java (diff)
Commit
2cafc01f08f9ab05748be6eeb82c417de38b31f7
by Sven Gothel Bug 801 : Graph TextRenderer Cleanup Part-3: Region.addOutlineShape(..) Push GL data directly incl. all index validations Region: - Remove redundant methods to make OutlineShape the unique source. - addVertex(..) - addTriangles(..) - Perform all index validations in addOutlineShape(..) - Push OutlineShape's vertex data and it's triangle indices directly to VBO. GLRegion: Add clear(..) method, allowing to clear the region for new data, i.e. OutlineShapes The file was modified src/jogl/classes/com/jogamp/graph/geom/Triangle.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PES2.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRenderUtil.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/geom/plane/AffineTransform.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00Base.java (diff) The file was removed src/jogl/classes/com/jogamp/graph/curve/opengl/TextRenderUtil.java The file was modified src/jogl/classes/com/jogamp/graph/font/Font.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was added src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PES2.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff)
Commit
caa9ba036179d3a644e258c444f5b464df480c27
by Sven Gothel Bug 801 : Graph TextRenderer Cleanup Part-6: Fix TypecastRenderer; Minor Editing Fix TypecastRenderer: - Ensure quad shapes are closed! - Revalidate point -> shape interpretation using orig. Typcast code - Fix 'midPoint(..)' use float values The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/t2/T2Interpreter.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/ot/Point.java (diff) The file was modified LICENSE.txt (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Outline.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/tess/Triangulator.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass-weight.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass.fp (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/Font.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass-weight.fp (diff)
Commit
0d7101305ab66c4730ba299f1634889bee5c500a
by Sven Gothel Bug 801 : Fix TypecastRenderer End-Of-Contour and Shape-Closing; add cubic path - Fix TypecastRenderer End-Of-Contour (EOC) - Iterate through contour block up-until EOC-1, not trying to create a new 'path' from EOC. - Add cubic path - Detect a cubic path and use it, i.e. on-off-off-on - Fix Shape-Closing - Close shape at head, not tail, since we add vertices from the head. - Misc - addShape*(..) uses Point parameter 'onCurve' field reflecting proper handling. Status: Ubuntu Font: No artifacts Lucida: Removed all artifacts, but for character 'M' !? - No odd MID point - Maybe inside-outside (inner) detection is buggy ? The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff)
Commit
0af9df19efc3bc31beafdd63e3487b74a97c80a7
by Sven Gothel Bug 801 : TypecastRenderer: Disable DEBUG ; Performance Note: ~800-1200 fps on uncached text line Performance Note: ~800-1200 fps on uncached text line Compared to c3621221b9a563495b4f54fe60e18e8db8cc57fb: ~600 fps and previous impl. ~60fps. The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/FontSet.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/FontFactory.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00Base.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff) The file was modified src/newt/classes/com/jogamp/newt/MonitorDevice.java (diff)
Commit
183e1bc1868699b99eb9f9c8bf18d646d1120a48
by Sven Gothel Bug 801 : VBAA Render-Mode Based on SampleCount (not a user-based texWidth) ; Proper FontSize -> PixelSize VBAA Render-Mode Based on SampleCount (not a user-based texWidth) - All Region based APIs now use 'sampleCount' instead of 'texWidth' - VBORegion2PES2 calculates perspective FBO width/height considering the sampleCount Proper FontSize -> PixelSize - Font: Add getPixelSize(fontSize, dpi) - Text* Demos/Classes: Use proper fontSize -> PixelSize The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UINewtDemo01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/FontFactory.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/UbuntuFontLoader.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionNewtDemo01.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextGLListener0A.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00Base.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/Font.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionNewtDemo02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/ot/table/GlyfCompositeDescript.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/av/AudioSink.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestRulerNEWT01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa-weight.fp The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass.fp The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa.fp The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa-weight.fp The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa.fp The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo01.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass.fp The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass-weight.fp The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo03.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo02.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm.fp The file was removed src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PES2.java The file was modified src/jogl/classes/com/jogamp/opengl/FBObject.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass-weight.fp The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm-weight.fp The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00Base.java (diff)
Commit
8bab15934fe63e44084294e315492420e07a902b
by Sven Gothel Bug 801 : Fix VBAA Distortions (VBO-size fractional delta) and AA (Sample fragment position and count) Inflating the FBO pixel-size of the region using a 'samples count' multiplier to the projected window bounding box allows controlling the AA distortion as well as defining the fragment position due to it's grid-fitting nature, see below. - Fix VBAA Distortions (FBO-size fractional delta) Inflated framebuffer exceeds 'box-size * sampleCount' since it must be the ceiling of the latter due to it's integer number nature. This difference either must reflect the texture-coords -or- the texture bounding vertices-box in the 2nd pass, otherwise a distorion will appear which is quite visible explicit w/ text. Using texture-coords is not suitable, due to floating point accuracy, hence this patch extends the texture bounding vertices-box about the ceiling delta. A comparible distortion existed with the previous implementation as well, since it used an arbitrary FBO-size and hence the magnification was not grid-fitting. Current implementation is grid-fitting, or at least matches the non-inflated grid, since it inflates the original window-size of the region about samples-count. - AA (Sample fragment position and count) Using a sample-count w/ a multiple of 2 (currently 2, 4 and 8 are properly implemented), based on the projected window bounding box will give the 2nd-pass fragment shader (AA) a fragment-postion in center of the sample pixels exposing one AA pixel. Hence we need to use the diagonal coords (NW, SW, ..) off by half a pixel to reach the 1st sample-pixel .. and 1.5 pixels to reach the 2nd .. and so forth. The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/uniforms.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa-weight.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm-weight.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa-weight.fp (diff)
Commit
fe3daea00da48c90a4e0c90cf37514a3ab7093d6
by Sven Gothel Bug 801 : Refine 'blend' usage and modes (API-doc and demo-code) - RegionRenderer: Make 'blend' setup pluggable via new GLCallbacks - 'GLCallback's for enable/disable, passed via 'create' method. Add 'defaultBlendEnable' and 'defaultBlendDisable', replacing previos fixed calls. - GLRegion.draw(..) added API-doc notes about: - Decorating call with RegionRenderer.enable(..) - glClearColor impact and blending - VBORegion2P*: Remove fixed glClearColor(..) call The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/TextureSequenceCubeES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo03.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00Base.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextGLListener0A.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastHMetrics.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/Font.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff)
Commit
200fe22baae4047e6d22152c760662c85be54fba
by Sven Gothel Bug 801 : Fix 183e1bc1868699b99eb9f9c8bf18d646d1120a48 'window box' Calculation Commit 183e1bc1868699b99eb9f9c8bf18d646d1120a48 only mapped object's bbox max/min points to window space, which is wrong due to possible rotation in 3d space. This commit adds AABBox.mapToWindow(..) method, which correctly either uses 4 points of the bbox in 3d space (using center-z) or all 8-points and creating a new bounding box. The resulting width and height of this window bbox gives the maximum amount of rectangular pixels for AA. The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo03.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UITextShape.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/ui/opengl/UIRegion.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/PMVMatrix.java (diff) The file was modified src/jogl/classes/jogamp/graph/geom/plane/AffineTransform.java (diff) The file was modified doc/NEWT-Overview.html (diff)
Commit
b3fb80b4e03818f1f7dfdddd1ffcb01e6a0a8acc
by Sven Gothel Math and PMVMatrix: Cleanup and Refine - Added final qualifier where possible - Refined API doc - FloatUtil: - Add machine EPSILON - fixed value and runtime computed (real machEps) - incl. isZero(..), isEqual(..) - Add makeRotationAxis(..) - Moved from PMVMatrix for reusage - Add makeRotationEuler(..) - New, not recommended due to Gimbal-Lock - Add copyMatrix[Column|Row](..) - Add more PI variations and trigo-func float mappings - Removed cross and normalize, use VectorUtil! VectorUtil: - Add copyVec* - Add equals and isZero w/ and w/o EPSILON - Add distance[Square] - Add length[Square] PMVMatrix: - Removed 'destroy' method in favor of making most fields 'final'. AffineTransform: - Added AABBox transform - Public multiply The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/PointsDemoES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/gl3/GeomShader01TextureGL3.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/Frustum.java (diff) The file was modified src/jogl/classes/jogamp/graph/geom/plane/AffineTransform.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/TextureSequenceCubeES2.java (diff) The file was modified src/jogl/classes/jogamp/opengl/ProjectFloat.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/glsl/fixedfunc/FixedFuncHook.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/glsl/GLSLTextureRaster.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/PMVMatrix.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareMappedES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/TextureDraw01ES2Listener.java (diff)
Commit
70979247aad156418c32959bbf4962f175191ec2
by Sven Gothel Quaternion: Fix and enhance class incl. Extensive Unit Tests (all passed) - Add documentation incl references (Matrix-FAQ, Euclideanspace, ..) - Compared w/ other impl., i.e. WildMagic, Ardor3D, .. and added missing functionality incl unit tests. - PMVMatrix: Added convenient Quaternion 'hooks' - glRotate(Quaternion) - glLoadMatrix(Quaternion) The file was added src/test/com/jogamp/opengl/test/junit/jogl/math/TestQuaternion01NOUI.java The file was added src/test/com/jogamp/opengl/test/junit/jogl/math/TestFloatUtil01NOUI.java The file was modified src/jogl/classes/com/jogamp/opengl/util/PMVMatrix.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff)
Commit
e16e974a3e2b38c65355838eeb010954354097d2
by Sven Gothel Bug 801 : Add Frustum support to Region; Misc .. Region: Add Frustum support, to drop 'out of sight' shapes RenderState: Add hints, e.g. BITHINT_BLENDING_ENABLED, allowing user code to toggle background color etc Demos: Incomplete - WIP - Reuse mapped object to window coords computed at reshape - TODO: Use minimal Scenegraph for Graph-UI .. The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIListenerBase01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo02.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/PMVMatrix.java (diff)
Commit
e4641e304fbc64a5d185a39c6ca6357cc678e013
by Sven Gothel Bug 801 : Outline/OutlineShape tranform and sort fixes ; Quaternion: Reduce muls in rotateVector Quaternion: - rotateVector(..): Reduce multiplication count by 17 Graph: - Outline - add: transform - fix compareTo .. use EPSILON - OutlineShape - add transform - fix compareTo .. use EPSILON - use Comparator<Outline> in sortOutlines to avoid reversal of list - Extract OutlineShapeXForm, pairing { OutlineShape, AffineTransform } The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Outline.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was added src/jogl/classes/com/jogamp/graph/curve/OutlineShapeXForm.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Triangle.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Outline.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff) The file was modified src/jogl/classes/jogamp/graph/geom/plane/AffineTransform.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Outline.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java (diff) The file was modified src/jogl/classes/jogamp/graph/geom/plane/AffineTransform.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/math/TestQuaternion01NOUI.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java (diff) The file was modified src/jogl/classes/jogamp/opengl/ProjectFloat.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Outline.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/math/TestFloatUtil01NOUI.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/SVertex.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/tess/Loop.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/MouseListener.java (diff) The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit
8352cb7c5d8cc971c87f13fe9f61e346c4d2c541
by Sven Gothel Add generic support for picking via raycast intersection and AABBox (or similar) - New simple type Ray, denominating a .. ray - Added PMVMatrix.gluUnProjectRay(..) similar to gluUnproject(..) however, result is a Ray. - Added AABBox.intersectsRay(Ray) .. The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff) The file was modified src/jogl/classes/jogamp/opengl/ProjectFloat.java (diff) The file was modified src/jogl/classes/jogamp/graph/geom/plane/Crossing.java (diff) The file was added src/jogl/classes/com/jogamp/opengl/math/Ray.java The file was modified src/jogl/classes/com/jogamp/opengl/util/PMVMatrix.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Triangle.java (diff)
Commit
5e728baa72517865d602580b920d9bdfdfb26c65
by Sven Gothel Bug 801 : Revisit UIShape/SceneController (Ray-Picking, Full Object/Model driven, ..) TODO: Transformations SceneUIController handles shapes generic: Rendering, selecting and event traversing. All data (transforms ..) are provided by UIShape. UIShape: - Dispatching NEWT MouseEvent's on MouseEventListener - Separates the 2d-transforms for shape/region and 3d transform, scale and rotation GPUUISceneGLListener0A Demo code merely aggregates the shapes and attaches listener, hence includes the 'application logic'. Working: - picking any shape - dragging, zooming, actions TODO: - Fix transformations, actually the rotations (button) look odd probably due to 'unlucky' rotation center and axis. +++ RegionRenderer: Removed Matrix ops, which shall be applied on PMVMatrix The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff) The file was modified src/jogl/classes/javax/media/opengl/fixedfunc/GLMatrixFunc.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo01.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/graph/demos/ui/CrossHair.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo02.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener02.java The file was modified jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html (diff) The file was modified jnlp-files/jogl-test-applets.html (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was added jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo02-napplet.html The file was modified jnlp-files/jogl-test-applets.html (diff) The file was added jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo03-napplet.html The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java (diff)
Commit
b4817d053d7af20dae33774e430bf79a3d3c6fcd
by Sven Gothel Bug 801 : Revise Graph VBAA (Add border dropping MSAA; Test diff. AA modes incl. FXAA2) ; Test exp. LineAA ; Misc Changes - Revise VBAA - Add border to FBO dropping MSAA - This automatically gives AA for edges on FBO boundary - Correcting ceil-diff, use object-diff instead of win-diff (diff := ceil(a)-a, w/ float a) - Reorg shader - using includes to test diff. AA modes: - [poles, wholeedge] * [equalweight, propweight] - fxaa2 - Exp. LineAA (disabled) - Test ROESSLER-2012-OGLES for detected rectangles only - Test boundary line detection See screenshots: <http://jogamp.org/files/screenshots/graphui/20140322/> The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_fxaa3.glsl The file was added src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2DExpAddOn.java The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/attributes.glsl (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-simple.orig.glsl The file was modified src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionNewtDemo.java The file was modified make/scripts/tests.sh (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/SVertex.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa.fp (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_wholeedge_propweight1.glsl The file was modified src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa-weight.fp (diff) The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionNewtDemo02.java The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.vp (diff) The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo01.java The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa.fp (diff) The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo02.java The file was modified jnlp-files/jogl-test-applets.html (diff) The file was modified src/jogl/classes/jogamp/graph/curve/tess/Loop.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo.java The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_bilin1.glsl The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_equalweight.glsl The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-lineAA.glsl The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionRendererListenerBase01.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_wholeedge_equalweight.glsl The file was modified src/test/com/jogamp/opengl/test/junit/jogl/math/TestQuaternion01NOUI.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/varyings.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/tess/GraphVertex.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-simple.glsl The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm-weight.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa-weight.fp (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Vertex.java (diff) The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionNewtDemo01.java The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo01.java The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo02.java The file was modified src/jogl/classes/com/jogamp/graph/geom/Triangle.java (diff) The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo03.java The file was modified src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_propweight1.glsl The file was added src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo.java The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm.fp (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-weight.glsl
Commit
b71f91e67270958bdb2940615a83e4d1ccc9ca0a
by Sven Gothel Bug 801 : Elaborate on multisampling performance/quality: Flipquad, RGSS, Quincunx Using poles only as sampling points is not as effective as: flipquad > rgss >> quincunx Best quality would be 'wholeedge', i.e. average every supersample, however performance is worse here. References: <http://fileadmin.cs.lth.se/graphics/research/papers/inexp_ms2005/> <http://fileadmin.cs.lth.se/graphics/research/papers/masses2003/> The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad2.glsl The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_rgss.glsl The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_quincunx.glsl The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad.glsl The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad3.glsl The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa-weight.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa-weight.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa.fp (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff)
Commit
ec5724493bb9398134553a7354e08497e778a9cb
by Sven Gothel Bug 801 : Use allsamples 'brute force' for VBAA (best quality) ; Demos: Reduce text contrast by 1/10th allowing better AA ; GPUUISceneGLListener0A uses proportional window height font size and one label w/ 10pt The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00Base.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa-weight.fp (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (diff) The file was modified make/scripts/tests.sh (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_wholeedge_equalweight.glsl The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allsamples_equal.glsl The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa.fp (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allsamples_prop01.glsl The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_wholeedge_propweight1.glsl
Commit
b078f74cc707e7fc962efde08ab5d9cc6667e27c
by Sven Gothel Bug 801 : Graph OpenGL ES2 and ES3 Compatibility - Remove 'const' qualifier in shader graph code for non 'absolute' const values - Use extension directive OES_standard_derivatives only for ES2.0, not ES3.0 (graph shader) - Compare float w/ float literals, not int literals! - Android Demo NEWTGraphUI2pActivity: - Is a VBAA example, hence disable scene MSAA! The file was modified src/jogl/classes/javax/media/opengl/GLBase.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allsamples_prop01.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad3.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_fxaa3.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_bilin1.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa-weight.fp (diff) The file was modified src/jogl/classes/com/jogamp/opengl/GLExtensions.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-simple.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_propweight1.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_quincunx.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad2.glsl (diff) The file was modified src/test/com/jogamp/opengl/test/android/NEWTGraphUI2pActivity.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa-weight.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_equalweight.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allsamples_equal.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-lineAA.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_rgss.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-weight.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.vp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-simple.orig.glsl (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivity1.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was removed src/test/com/jogamp/opengl/test/android/MovieCubeActivity0.java The file was added src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher0b.java The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher1a.java (diff) The file was removed src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher0.java The file was added src/test/com/jogamp/opengl/test/android/MovieCubeActivity0a.java The file was modified make/scripts/adb-launch-activity.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified make/scripts/tests.sh (diff) The file was added src/test/com/jogamp/opengl/test/android/MovieCubeActivity0b.java The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher1b.java (diff) The file was modified make/resources/android/AndroidManifest-test.xml (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivity0.java (diff) The file was modified make/resources/android/res-test/values/strings.xml (diff) The file was added src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher0a.java The file was modified jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-applet3-napplet.html (diff) The file was modified jnlp-files/jogl-applet-runner-newt-MovieCube.html (diff) The file was modified jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-napplet.html (diff) The file was modified jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextGLListener0A.java (diff) The file was modified jnlp-files/jogl-applet-runner-newt-MovieCube-applet3-napplet.html (diff) The file was modified jnlp-files/jogl-applet-runner-newt-GraphTextDemo01.html (diff) The file was modified jnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher1b.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher1b.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivityLauncher00b.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivityLauncher01b.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivityLauncher02.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher0b.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher0a.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivity0a.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivityLauncher00c.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher1a.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivity0b.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivity1.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivity0.java (diff) The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivityLauncher01a.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff)
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 modified src/jogl/classes/jogamp/graph/curve/opengl/shader/UniformNames.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1.vp The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-simple.glsl The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestRegionRendererNEWT01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allprop01.glsl The file was modified src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-lineAA.glsl The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/CrossHair.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_polesequal.glsl The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.vp The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastRenderer.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_propweight1.glsl The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_rgss.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/OutlineShapeXForm.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad3.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/geom/plane/AffineTransform.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa-weight.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/uniforms.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa.fp (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allequal.glsl The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allsamples_prop01.glsl The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/RenderStateImpl.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIListenerBase01.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_polesprop01.glsl The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-simple.orig.glsl The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_simple.orig.glsl The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/ot/OTGlyph.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UINewtDemo01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/attributes.glsl (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionNewtDemo.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_quincunx.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/varyings.glsl (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/Font.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad2.glsl (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-segment-head.fp The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_equalweight.glsl The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa-weight.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa.fp (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-single.vp The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_allsamples_equal.glsl The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_fxaa3.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_poles_bilin1.glsl (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve-weight.glsl The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/AttributeNames.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/tess/Triangulator.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_lineAA.glsl The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2.vp The file was modified make/scripts/tests.sh (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-vbaa_flipquad.glsl (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderState.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm-weight.fp (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_weight.glsl The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextNewtDemo.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label0.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_simple.glsl The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm.fp (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/nativewindow/classes/com/jogamp/nativewindow/awt/AWTGraphicsDevice.java (diff) The file was modified src/nativewindow/classes/com/jogamp/nativewindow/x11/X11GraphicsDevice.java (diff) The file was modified src/nativewindow/classes/com/jogamp/nativewindow/macosx/MacOSXGraphicsDevice.java (diff) The file was modified src/nativewindow/classes/com/jogamp/nativewindow/windows/WindowsGraphicsDevice.java (diff) The file was modified src/nativewindow/classes/com/jogamp/nativewindow/egl/EGLGraphicsDevice.java (diff) The file was modified src/nativewindow/classes/javax/media/nativewindow/DefaultGraphicsDevice.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 modified src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java (diff) The file was modified src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLContextImpl.java (diff) The file was modified src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.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 modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/UniformNames.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderState.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIListenerBase01.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm-weight.fp The file was modified src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderProgram.java (diff) The file was added src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-msaa.glsl The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UINewtDemo01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa-weight.fp The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/PMVMatrix.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa.fp The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00Base.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_msaa.fp The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/CrossHair.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass_norm.fp The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was removed src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-2pass_vbaa-weight.fp The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff) The file was modified src/jogl/classes/javax/media/opengl/GLBufferStorage.java (diff) The file was modified src/jogl/classes/jogamp/graph/geom/plane/AffineTransform.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label0.java (diff) The file was modified src/jogl/classes/jogamp/opengl/GLBufferObjectTracker.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastHMetrics.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastGlyph.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java (diff) The file was modified src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/font/Font.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/Outline.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/geom/SVertex.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/glsl/GLSLArrayHandler.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 modified src/test/com/jogamp/opengl/test/junit/jogl/acore/GLReadBuffer00Base.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/UniformNames.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_simple.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1.vp (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/jogl/classes/javax/media/opengl/GLUniformData.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT00.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/TextRegionUtil.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderProgram.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/CrossHair.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was removed src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RIButton.java The file was added src/test/com/jogamp/opengl/test/junit/graph/demos/ui/LabelButton.java The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/varyings.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/AttributeNames.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/uniforms.glsl (diff) The file was added src/test/com/jogamp/opengl/test/junit/graph/demos/ui/RoundButton.java The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-single.vp (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was added src/test/com/jogamp/opengl/test/junit/graph/demos/ui/TextureButton.java The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/MonitorEvent.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/MouseEvent.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/InputEvent.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/OutputEvent.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/WindowUpdateEvent.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/GestureHandler.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/KeyEvent.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/WindowEvent.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/NEWTEvent.java (diff) The file was modified src/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 modified src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/Ray.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/PMVMatrix.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/TextureSequenceDemo01.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/util/texture/TextureSequence.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/PinchToZoomGesture.java (diff) The file was modified src/newt/classes/com/jogamp/newt/event/GestureHandler.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java (diff) The file was modified src/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 modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/TextureButton.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/Region.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/SceneUIController.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/CrossHair.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-segment-head.fp (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/uniforms.glsl (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_simple.orig.glsl (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/Label0.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/LabelButton.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass1-curve_simple.glsl (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegionSPES2.java (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIShape.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/Quaternion.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/tess/Loop.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/math/TestQuaternion01NOUI.java (diff) The file was modified src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2DExpAddOn.java (diff) The file was modified src/jogl/classes/com/jogamp/opengl/math/geom/AABBox.java (diff) The file was modified src/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 modified src/newt/classes/com/jogamp/newt/event/MouseEvent.java (diff) The file was modified src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java (diff) The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/ui/LabelButton.java (diff) The file was modified make/build-test.xml (diff) The file was modified jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo02-napplet.html (diff) The file was modified jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html (diff) The file was modified jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo03-napplet.html (diff) The file was modified jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-applet3-napplet.html (diff) The file was modified jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01.html (diff)
Commit
45395696c252c215a8a22d05e5da7e98c662d07e
by Sven Gothel Bug 801 : Introd. RenderState.BITHINT_GLOBAL_DEPTH_TEST_ENABLED hinting to deal w/ GL_DEPTH_TEST accordingly Fixes VBORegion2PMSAAES2 no-depth-buffer usage and allows user to control behavior w/o quering GL state. If BITHINT_GLOBAL_DEPTH_TEST_ENABLED set: - RegionRenderer.defaultBlendEnable: glDepthMask(false) - RegionRenderer.defaultBlendDisable: glDepthMask(true) - VBORegion2PMSAAES2 enables/disables GL_DEPTH_TEST, otherwise MSAA is corrupt. The file was modified src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PMSAAES2.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener02.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT10.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPURegionGLListener01.java (diff) The file was modified src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java (diff)
Commit
b222d19e5f45fc3683b58dd788262597a1e14635
by Sven Gothel Reduce jar-size / cleanup: Replace 1 kB test-ntsc01-57x32.png w/ 400kB test-ntsc01-28x16.png asset ; Generalize TextureSequenceDemo01 -> SingleTextureSeqFrame ; Unit tests use test-data, not assets. The file was removed src/test/com/jogamp/opengl/test/junit/jogl/demos/TextureSequenceDemo01.java The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Teapot.java (diff) The file was added make/resources/misc/test-ntsc01-57x32.png The file was added src/test/com/jogamp/opengl/test/junit/jogl/util/texture/SingleTextureSeqFrame.java The file was added make/resources/assets/jogl/util/data/av/test-ntsc01-28x16.png The file was removed make/resources/assets/jogl/util/data/av/test-ntsc01-57x32.png The file was modified src/test/com/jogamp/opengl/test/junit/jogl/util/texture/TestTextureSequence01AWT.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/av/NullGLMediaPlayer.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/util/texture/TestTextureSequence01NEWT.java (diff) The file was modified make/scripts/tests-x64.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/util/DemoGL2ES1TextureImmModeSink.java (diff) The file was modified src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java (diff) The file was modified src/jogl/classes/jogamp/opengl/glu/nurbs/Patchlist.java (diff) The file was modified make/scripts/tests-x64.sh (diff) The file was modified make/scripts/tests.sh (diff) The file was modified make/scripts/tests-x64-custom.sh (diff) The file was modified doc/HowToBuild.html (diff) The file was modified make/build-common.xml (diff) The file was modified make/scripts/setenv-jogl.sh (diff) The file was modified make/scripts/tests.sh (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java (diff) The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSimple.java (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavformat/avio.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libswresample/swresample.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/channel_layout.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libswresample/version.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/pixdesc.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavformat/avformat.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/old_pix_fmts.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/vdpau.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/version.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/dict.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/avcodec.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/frame.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/error.h (diff) The file was added make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/stereo3d.h The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/cpu.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/pixfmt.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavformat/version.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/attributes.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/version.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/avutil.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/log.h (diff) The file was added make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/downmix_info.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/intfloat_readwrite.h The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/mem.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/bswap.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/common.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/avfft.h (diff) The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/xvmc.h (diff) The file was added make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/macros.h The file was modified make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavresample/version.h (diff) The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/md5.h The file was modified make/scripts/tests.sh (diff) The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/imgutils.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/fifo.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/intreadwrite.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/common.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/mem.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/cpu.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/xvmc.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/eval.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/hmac.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/avconfig.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/error.h The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGDynamicLibraryBundleInfo.java (diff) The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/attributes.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/opt.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/frame.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/intreadwrite.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/lfg.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/base64.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libswresample/version.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/random_seed.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/downmix_info.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/channel_layout.h The file was added src/jogl/native/libav/ffmpeg_lavc55_lavf55_lavu53_lavr01.c The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/dict.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/version.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/avfft.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/md5.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavcodec/version.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/samplefmt.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/channel_layout.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/buffer.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/dxva2.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/audio_fifo.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/bswap.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/avutil.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/log.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/sha.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/common.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/blowfish.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/buffer.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavcodec/dxva2.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/aes.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/dict.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/xtea.h The file was modified make/scripts/tests-x64.sh (diff) The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java (diff) The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/samplefmt.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavformat/version.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/rational.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/pixfmt.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/stereo3d.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/file.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/lzo.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/old_pix_fmts.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/avutil.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/file.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/audio_fifo.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/mathematics.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/vdpau.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/avassert.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/time.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/rational.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/adler32.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/version.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/pixdesc.h The file was removed src/jogl/native/libav/ffmpeg_lavc55_lavf55_lavu52_lavr01.c The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/avconfig.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/error.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavformat/avio.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/stereo3d.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/time.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavcodec/vaapi.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/audioconvert.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/crc.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/intfloat.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libswresample/version.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/audioconvert.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/macros.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/opt.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/aes.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavcodec/avcodec.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/imgutils.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/blowfish.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavformat/version.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavcodec/vda.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/macros.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/lzo.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/lfg.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavcodec/vdpau.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/mathematics.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/cpu.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/crc.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/avcodec.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/random_seed.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/hmac.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libswresample/swresample.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavresample/version.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavcodec/avfft.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/mem.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/avstring.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavresample/version.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/pixfmt.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/log.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavcodec/xvmc.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/xtea.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/parseutils.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavformat/avformat.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/eval.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/base64.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavresample/avresample.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/avassert.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavformat/avformat.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavformat/avio.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/pixdesc.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/intfloat.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/sha.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/vaapi.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/downmix_info.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/frame.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavcodec/vda.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/attributes.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/bswap.h The file was modified make/build-jogl.xml (diff) The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavresample/avresample.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/avstring.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/adler32.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/old_pix_fmts.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libswresample/swresample.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/fifo.h The file was added make/stub_includes/libav/lavc55_lavf55_lavu53_lavr01/libavutil/version.h The file was removed make/stub_includes/libav/lavc55_lavf55_lavu52_lavr01/libavutil/parseutils.h The file was added make/scripts/make.jogl.all.generic.sh
Commit
aa1c04ebee23d0803880d6d68ae73109c1a5c178
by Sven Gothel JAWTWindow: Non intrusive workaround for Bug 1004 and providing AppContextInfo to mitigate related bugs, e.g. Bug 983 Bug 1004 , as well as Bug 983 , are caused by issueing certain AWT tasks from a Thread which ThreadGroup is not mapped to a valid sun.awt.AppContext (AppContext). The 'certain AWT tasks' are all quering the current EventQueue instance, which is associated to the AppContext. This operation will fail and cause a NullPointerException. This workaround simply gathers a ThreadGroup which is mapped to the desired AppContext. This AppContext ThreadGroup is being used to launch a new Thread which is then mapped to an AppContext and hence can issue all AWT commands. +++ In the Bug 1004 scenario, JAWTWindow is constructed from within the AWT EDT, which ThreadGroup does belong to the AppContext. Here the issue is that an AWT operation was invoked from the OSX main thread, which itself does not belong to the AppContext. The workaround as described above solves this issue. +++ For Bug 983 the scenario is different, since JAWTWindow is _not_ constructed from a thread which ThreadGroup is mapped to the AppContext. [It is also not constructed on the AWT-EDT]. It is recommended to have Java3D gathering the AppContextInfo itself early and issues the JAWTWindow creation on an eligible thread using AppContextInfo.invokeOnAppContextThread(..) similar to JAWTWindow.attachSurfaceLayer(..). This will allow removing the more intrusive remedy of Java3D commit bdda2ac20bfef85271da764d1989ec3434d5c67a and simply issuing the crucial commands on a proper thread. +++ The more intrusive workaround of above commit does not work in general at least for Bug 1004 (OSX and Applets). While forcing the mapping of the 'alien' thread-group to the AppContext work for the 1st launch w/ the 1st AppContext, a second launch w/ a new AppContext will fail. Here we did update the new AppContext knowledge in AppContextInfo, however a NPE is received in getEventQueue() .. since the AppContext is gathered after patching, but the EventQueue is still null. Further more, using static knowledge of AppContext/ThreadGroup mapping violates at least the Applet lifecycle. Here we can have one ClassLoader with multiple AppContext - i.e. Applets. The file was added src/nativewindow/classes/com/jogamp/nativewindow/awt/AppContextInfo.java The file was modified src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java (diff) The file was modified make/scripts/tests.sh (diff)