Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add TestVec3f01NOUI: This test shall be enhanced, only priliminary angle ↵ | Sven Gothel | 2023-08-27 | 2 | -0/+138 | |
| | | | | tests for now | |||||
* | AABBox: Fix intersects2DRegion(..), add resize{Height, Width}(..) and AABBox ↵ | Sven Gothel | 2023-08-27 | 1 | -4/+57 | |
| | | | | | | | | | ctor using Vec3f low and high intersects2DRegion(..) got the passed width and height wrong, i.e. given object low position >= this-low position and given object high position including width/height <= this-high position is required to match for intersection. | |||||
* | Vec3f: Add UNIX_X and UNIX_X_NEG, enhance API doc | Sven Gothel | 2023-08-27 | 1 | -2/+4 | |
| | ||||||
* | Quaternion: Add rotateByAngleNormalAxis(..) variant using Vec3f axis | Sven Gothel | 2023-08-27 | 1 | -1/+18 | |
| | ||||||
* | GraphUI: Use thread-save and lock-free CopyOnWriteArrayList for List<Shape>, ↵ | Sven Gothel | 2023-08-27 | 2 | -4/+4 | |
| | | | | allowing off-thread mutation | |||||
* | AABBox: Add set(AABBox) | Sven Gothel | 2023-08-25 | 1 | -0/+13 | |
| | ||||||
* | GraphUI: Shape: Add runSynced(Runnable); Add setPMVMatrix(..) to setup ↵ | Sven Gothel | 2023-08-25 | 1 | -39/+100 | |
| | | | | complete PMVMatrix, use it in getSurfaceSize(..), shapeToWinCoord(..) and winToShapeCoord(..) | |||||
* | GraphUI: Group API doc + remove GlyphShape's redundant many getOrigPos() ↵ | Sven Gothel | 2023-08-25 | 2 | -40/+7 | |
| | | | | variants | |||||
* | Vec[234]f: Add scale(Vec[234]f s) variant for convenience | Sven Gothel | 2023-08-23 | 3 | -0/+9 | |
| | ||||||
* | TestSWTAccessor02NewtGLWindow: Use lambda for SWTAccessor.invokeOnOSTKThread(..) | Sven Gothel | 2023-08-23 | 1 | -4/+5 | |
| | ||||||
* | Demos: Use Runnable lambda for window.destroy() off-thread and use ↵ | Sven Gothel | 2023-08-23 | 10 | -57/+37 | |
| | | | | key-symbols F4, ESC and Q to trigger off-thread window.destroy() | |||||
* | UISceneDemo03b: Add a little more customization .. | Sven Gothel | 2023-08-19 | 2 | -8/+25 | |
| | ||||||
* | Bug 1310: Reset GLJPanel states @ dispose(..) and always reshapeImpl(..) @ ↵v2.5.0 | Sven Gothel | 2023-08-18 | 1 | -7/+30 | |
| | | | | | | | | | addNotify(), leading to proper initialization sequence when re-adding panel. The proper initialization sequence subsequently also leads to proper glViewport initialization, see commit d17d807a76ba9cb940542264fcad9cf71c7ec585 No side-effects expected, just ensuring same code-path compared to initial addNotify(). | |||||
* | Bug 1310: Detect missing glViewport(..) on Windows before ↵ | Sven Gothel | 2023-08-18 | 4 | -6/+31 | |
| | | | | | | | | | | | | | | | | | GLEventListener.reshape(..) when re-adding GLJPanel When re-adding GLJPanel on Windows glViewport() is not called through - GLJPanel.Updater.display() - GLDrawableHelper.reshape() - GLDrawableHelper.setViewportAndClear() Instead the following sequence is called due to sendReshape == false: - GLJPanel.Updater.display() - GLDrawableHelper.display() ** missing glViewport(..) ** This bug is not visible on X11 or MacOS since the glViewport is only set to a different user value on Windows ... | |||||
* | README: Fix links | Sven Gothel | 2023-08-15 | 1 | -2/+2 | |
| | ||||||
* | README: Fix JOGL inception, pre Sun launch and later acquired by Sun. | Sven Gothel | 2023-08-15 | 1 | -2/+2 | |
| | ||||||
* | Add make/scripts/test-fat-jars.sh for a quick bringup-test | Sven Gothel | 2023-08-14 | 1 | -0/+71 | |
| | ||||||
* | MacOS test scripts: Enable FFmpeg6 from Homebrew | Sven Gothel | 2023-08-13 | 2 | -1/+2 | |
| | | | | | | | | | | | | | | | Install Homebrew https://brew.sh/ > /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Follow further directions... Install FFmpeg (Currently v6) https://formulae.brew.sh/formula/ffmpeg > brew install ffmpeg or > brew install fmpeg@6 Leaves the ffmpeg libraries in: - x86_64: /usr/local/Cellar/ffmpeg/6.0/lib - aarch64: /opt/homebrew/Cellar/ffmpeg/6.0/lib | |||||
* | Demos: ..demos.graph.ui.util.GraphUIDemoArgs -> ..demos.util.CommandlineOptions | Sven Gothel | 2023-08-13 | 17 | -35/+35 | |
| | ||||||
* | GraphUIDemoArgs: Issue GLProfile.initSingleton() once in static init block, ↵ | Sven Gothel | 2023-08-13 | 2 | -1/+5 | |
| | | | | | | ensuring JOGL is completely initialized Noteable: On MacOS 13.1 (aarch64) UISceneDemo20 won't show the window if NEWT is initialized before JOGL core via GLProfile.initSingleton(). | |||||
* | UISceneDemo20: Fix info/debug text title GPUUISceneGLListener0A -> UISceneDemo20 | Sven Gothel | 2023-08-13 | 1 | -7/+8 | |
| | ||||||
* | Minor cleanup of imports, etc: FBObject, GLContext*, Texture, .. | Sven Gothel | 2023-08-13 | 7 | -58/+36 | |
| | | | | TODO: Full cleanup perhaps | |||||
* | make/scripts/tests.sh: Add Basic demos if jogl-demos.jar | Sven Gothel | 2023-08-13 | 1 | -2/+16 | |
| | ||||||
* | Texture ctor w/ external textureID: Pass `ownsTextureID` where true hands ↵ | Sven Gothel | 2023-08-13 | 3 | -17/+48 | |
| | | | | | | | | | over ownership and allows destroy() to delete it, otherwise not. Fixes GraphUI's GLButton. GraphUI's GLButton uses the offscreen's FBO texture and hence can't pass over ownership of the texture. Hence the Texture instance is created w/o handing over ownership! GLMediaPlayerImpl does hand over ownership of the generated and passed texture to the Texture ctor. | |||||
* | GraphUIDemoArgs: Add GL4 core | Sven Gothel | 2023-08-13 | 1 | -0/+2 | |
| | ||||||
* | Demos: Add main() to GearsES2, .. allowing to be used for simple bringup tests | Sven Gothel | 2023-08-13 | 3 | -12/+166 | |
| | ||||||
* | Animator*: Add ctor variants passing modeBits directly, i.e. enable/disable ↵ | Sven Gothel | 2023-08-13 | 69 | -741/+941 | |
| | | | | AWT rendering thread support. Adopt it in tests and demos | |||||
* | WWW: Replace Gephi icon w/ a more friendly JogAmp website matching preview ↵ | Sven Gothel | 2023-08-12 | 2 | -1/+1 | |
| | | | | one (white background, showing a graph) | |||||
* | Fix typo of commit d8e086e0321ef1021f4a7810d7bfd2306c4ac725: ↵ | Sven Gothel | 2023-08-12 | 1 | -1/+1 | |
| | | | | jogl{s->}-demo{->s}-android | |||||
* | Add GraphUI to javadoc source path | Sven Gothel | 2023-08-12 | 1 | -1/+1 | |
| | ||||||
* | FontViewListener01/TestTextRendererNEWT21: Use 30 pixelPerCell (total w/ ↵ | Sven Gothel | 2023-08-12 | 1 | -10/+21 | |
| | | | | gap) for test case to compare pixel-by-pixel | |||||
* | Graph TextRegionUtil.drawString3D(..): Allow null `rgbaColor` w/o ↵ | Sven Gothel | 2023-08-12 | 1 | -6/+12 | |
| | | | | color-channel again, was enforced to be set in commit bb6ee81bc5514663bb7b22224fcdd5ba34a51ac6 | |||||
* | GLMediaPlayer: Show more reasonable DEBUG output in factory; Impl initGL(GL) ↵ | Sven Gothel | 2023-08-11 | 3 | -8/+28 | |
| | | | | shall handle null streamWorker, i.e. when using NullGLMediaPlayer | |||||
* | Bug 1450: Remove nativewindow's drm-gbm GlueGen config's manual constant ↵ | Sven Gothel | 2023-08-10 | 1 | -3/+3 | |
| | | | | definitions, now properly passed from GlueGen | |||||
* | README: Add Mathieu Féry, who enhanced GlueGen | Sven Gothel | 2023-08-07 | 1 | -0/+1 | |
| | ||||||
* | Untangle joal from build requirements as introduced via new jogl-demos | Sven Gothel | 2023-08-07 | 5 | -22/+116 | |
| | | | | | | | | | | | | | | | | | | To enjoy the UISceneDemo20 demo, joal shall exist at its usual location. However, pass build if not available. Also drop ant + junit from demos. - Rename jogl-demo-android.{jar,apk} -> jogl-demos-android.{jar,apk} - New demo classpath - Add non-joal demo classpath - Add joal demo classpath. - Drop junit + ant from both - Remove joal from junit compile path. - Build test: demo compilation (Java + Android) - Drop joal dependencies if not available | |||||
* | scripts/tests.sh: Add TestGLJPanelReadd01Bug1310AWT | Sven Gothel | 2023-08-07 | 1 | -1/+2 | |
| | ||||||
* | README/index: 'Graph UI' -> GraphUI | Sven Gothel | 2023-08-07 | 2 | -2/+2 | |
| | ||||||
* | Test Bug1310: Remove and re-add a GLJPanel from its Swing parent (working) | Sven Gothel | 2023-08-07 | 1 | -0/+246 | |
| | | | | Also tested with Sofr-HiDPI on Linux using GDK_SCALE=2 | |||||
* | README/index: Fix link to OpenGL_API_Divergence.html | Sven Gothel | 2023-08-07 | 2 | -2/+2 | |
| | ||||||
* | Update README.md, index.html (Graph/GraphUI, references) and add ↵ | Sven Gothel | 2023-08-07 | 4 | -16/+633 | |
| | | | | OpenGL_API_Divergence.md | |||||
* | Bug 1441, 852: Annotate ARB_draw_indirect dual sourcing, remove redundant ↵ | Sven Gothel | 2023-08-06 | 2 | -8/+1 | |
| | | | | manual declarations | |||||
* | Bug 1441 - Fix ARB_multi_draw_indirect: Belongs to GL4, ↵ | Sven Gothel | 2023-08-06 | 6 | -19/+115 | |
| | | | | glMultiDrawElementsIndirect shall only have VBO indirect access | |||||
* | Graph / GraphUI Demos: Don't use the color-channel if not required (mixing ↵ | Sven Gothel | 2023-08-02 | 6 | -14/+17 | |
| | | | | | | | colors within one region) Note, commit bb6ee81bc5514663bb7b22224fcdd5ba34a51ac6 relaxes the requirement for using a color-channel. | |||||
* | Graph TextRegionUtil.drawString3D(..): Redefine 'rgbaColor' semantics: ↵ | Sven Gothel | 2023-08-02 | 1 | -3/+24 | |
| | | | | | | | | | | Either fill color-channel with value if used and set static-color to white - or just set static color channel with value. Have the given rgbaColor to definitely setting the text color regardless whether a color channel is used or not. Note: Using a color-channel is more expensive (color value per vertex) and should only be required if mixing colors within one region! Also removes potential side-effects if color-channel is used but user forgets to set the static value properly. | |||||
* | Graph RenderState: Initialize colorStatic w/ all white (1,1,1,1) if ↵ | Sven Gothel | 2023-08-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | color-channel is used and no static-color set Commit a973324a75b55b722caa755a7a573be849d997e4 was setting the alpha to 1, which avoids the 'discard' in the shader. This at least gave us a black color ;-) However, the shader modulates the color, i.e. color-channel * color-static, therefor we need an all-white color-static as default if user only sets the color-channel. | |||||
* | Graph RegionRenderer.destroy(): Detach RenderState from GL instance | Sven Gothel | 2023-08-02 | 1 | -0/+1 | |
| | | | | Remove potential leak | |||||
* | Graph: Simplify RegionRenderer API by exposing common RenderState methods ↵ | Sven Gothel | 2023-08-02 | 19 | -91/+98 | |
| | | | | (and fwd 'em to RenderState aggregate) | |||||
* | Update tests script .. (consolidate GraphUI demo lines) | Sven Gothel | 2023-08-01 | 1 | -24/+8 | |
| | ||||||
* | UISceneDemoU01a: Destory textRegion @ dispose | Sven Gothel | 2023-08-01 | 1 | -0/+1 | |
| |