summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Graph / GraphUI Demos: Don't use the color-channel if not required (mixing ↵Sven Gothel2023-08-026-14/+17
| | | | | | | colors within one region) Note, commit bb6ee81bc5514663bb7b22224fcdd5ba34a51ac6 relaxes the requirement for using a color-channel.
* Graph TextRegionUtil.drawString3D(..): Redefine 'rgbaColor' semantics: ↵Sven Gothel2023-08-021-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 Gothel2023-08-021-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 instanceSven Gothel2023-08-021-0/+1
| | | | Remove potential leak
* Graph: Simplify RegionRenderer API by exposing common RenderState methods ↵Sven Gothel2023-08-0219-91/+98
| | | | (and fwd 'em to RenderState aggregate)
* Update tests script .. (consolidate GraphUI demo lines)Sven Gothel2023-08-011-24/+8
|
* UISceneDemoU01a: Destory textRegion @ disposeSven Gothel2023-08-011-0/+1
|
* Graph Add {GLRegion, GraphShape}.setTextureUnit(int): Allowing to set ↵Sven Gothel2023-08-016-10/+48
| | | | texture unit after ctor
* Graph RegionRendered.init(..): Disable renderer (and shader programs etc) to ↵Sven Gothel2023-08-013-11/+7
| | | | avoid side-effects. Usually called @ GLEventListener.init(..)
* Graph RenderState: Initialize colorStatic w/ alpha=1 to avoid invisible ↵Sven Gothel2023-08-011-1/+1
| | | | | | rendering if no static color has been set Shader either uses just colorStatic or multiplies it w/ the color-stream value
* Graph GLRegion.create(..): Expose variant with custom pass2TexUnit for VBAA ↵Sven Gothel2023-08-011-5/+23
| | | | (default texture unit is 0)
* Add Graph/GraphUI UISceneDemoU01a, showcase integration and multiple ↵Sven Gothel2023-08-012-1/+353
| | | | projection settings
* GLStateTracker: Add tracking of blending states (part-1)Sven Gothel2023-08-011-2/+129
|
* GLStateTracker: Encapsulate PixelStateMap for PixelStorei states (prepare ↵Sven Gothel2023-08-011-44/+69
| | | | for tracking of blending states)
* GraphUI: Add Shape.getSurfacePort(..): Similar to getSurfaceSize(..) but ↵Sven Gothel2023-08-011-0/+31
| | | | returns the whole Recti viewport of the shape
* Graph: Minor cleanup: TextRegionUtil: Fix API doc references; ↵Sven Gothel2023-08-013-8/+6
| | | | RegionRenderer.enable(..) merge '!enable' branch, fix API doc
* README: Add Harvey to contributors (missed him, sorry)Sven Gothel2023-08-011-0/+1
|
* Add {GL, GLContext}.getDefaultDrawBuffer() to complement getDefaultReadBuffer()Sven Gothel2023-07-157-28/+103
|
* README.md: JogAmp History & Milestones: Added Java3D + Ardor3D, added ↵Sven Gothel2023-07-101-1/+5
| | | | GlueGen JavaCallback (grouped)
* NativeSignatureJavaMethodBindingEmitter: Adopt to GlueGen changesSven Gothel2023-07-101-41/+40
|
* Adopt to GlueGen Struct API Change get/set array argumentsSven Gothel2023-06-162-3/+6
|
* Adopt to GlueGen commit 952e0c1f83c9e0583a97d39988a6ba1428911c8cSven Gothel2023-06-1616-232/+263
| | | | | | | | | To limit growing code due to GlueGen's more capable new `Struct` emitter (more supported setter), `Struct` with intended read-only access have been marked `ImmutableAccess` in their GlueGen config file. Produced code with above setting compared with pre-GlueGen change is reduced while also having dropped all of the JNI calls retrieving `Struct` values. Only calls to function-pointer produced JNI methods, of course.
* README.md: Shorten gl4java sectionSven Gothel2023-06-111-13/+6
|
* Merge pull request #2 from tgc/masterGöthel Software2023-06-1112-4/+1622
|\ | | | | Add support for Linux/ppc64le
| * Add swt 4.26 for gtk-linux-ppc64leTom G. Christensen2023-06-078-0/+1589
| | | | | | | | | | | | | | This is required for the Linux/ppc64le target to build. ba2338ad6c24516a9686baf75c289d4a3fac488bd68a3b88e725cbf611f5e681209feb6ddf5848e21dcf0e9c33c1c8d898f44f02ae2dc499816a8fe191525bf9 swt-4.26-gtk-linux-ppc64le.zip
| * Add support for Linux/ppc64le architectureTom G. Christensen2023-06-074-4/+33
| |
* | Merge pull request #114 from gbburkhardt/masterGöthel Software2023-06-111-1/+14
|\ \ | | | | | | Use DPI scaling to scale drawn fonts.
| * | Use DPI scaling to scale drawn fonts.Glenn Burkhardt2023-06-041-1/+14
| |/
* / README.md: Adding JogAmp History & Milestones, ...Sven Gothel2023-06-111-10/+109
|/
* Merge pull request #111 from EwoutH/master-1Göthel Software2023-05-241-0/+1
|\ | | | | Enable GitHub sponsor button
| * Enable GitHub sponsor buttonEwout ter Hoeven2023-03-091-0/+1
| | | | | | | | | | Adds a FUNDING.yml file that enables a sponsor button to become visible in the top of the repository. This button links to the sponsor page and thus makes the possibility to donate easier and more visible. See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository
* | Merge pull request #113 from andreas-schwab/masterGöthel Software2023-05-244-4/+32
|\ \ | | | | | | Add support for riscv64 architecture
| * | Add support for riscv64 architectureAndreas Schwab2023-05-244-4/+32
|/ /
* | GraphUI UISceneDemo20: Add OpenAL spatial 3D sound features: Add ↵Sven Gothel2023-05-231-5/+219
| | | | | | | | | | | | | | | | | | | | | | SimpleSineSynth Button and have MediaButton to produce mono-only for 3D sound - Move SimpleSineSynth and MediaPlayer around for spatial 3D sound - Shape's center is the Source position - SimpleSineSynth controlls: - click to enable - scroll vertical -> frequency change - scroll vertical + ctrl-key -> volume/amplitude change
* | GraphUI Shape: Add one-shot init callback, will be called after each ↵Sven Gothel2023-05-231-0/+22
| | | | | | | | draw(..) until it returns true.
* | GraphUI Scene: Drop redundant and wrong setupMatrix(pmv) for forOne(..) and ↵Sven Gothel2023-05-231-4/+2
| | | | | | | | forAll(..), should be setup before call by user
* | GraphUI MediaButton: Expose AudioSinkSven Gothel2023-05-231-0/+3
| |
* | GLMediaPlayer: Add setAudioChannelLimit(..), correlating with ↵Sven Gothel2023-05-233-1/+29
| | | | | | | | | | | | | | AudioSink.setChannelLimit() .. May be utilized to enforce 1 channel (mono) downsampling in combination with JOAL/OpenAL to experience spatial 3D position effects.
* | make/build-test.xml: Add JOAL to classpathSven Gothel2023-05-233-5/+7
| |
* | *MediaPlayer: Adop to JOAL 39a32fd56de313c31bd197ee6022288e97f9729aSven Gothel2023-05-212-2/+6
| |
* | Relocate 'jar/atomic/jogl-fonts-p0.jar' -> 'jar/jogl-fonts-p0.jar' to ↵Sven Gothel2023-05-202-2/+3
| | | | | | | | | | | | | | simplify inclusion in distribution; UbuntuFontLoader's Uri is patched accordingly. This font jar file is actually not an atomic in the sense it being aggregated to e.g. jogl-all.jar or even a fat jar. Hence it is more suitable to have it all visible in the top-dir next to the main jars.
* | build.xml: Preserve README.md, copy filtered README-zip-bundles.txt to ↵Sven Gothel2023-05-201-1/+2
| | | | | | | | archive w/ same name
* | FFMPEGMediaPlayer: Adjust to AudioFormat changesSven Gothel2023-05-201-2/+2
| |
* | MovieCube: Restart @ EOSSven Gothel2023-05-182-9/+18
| |
* | FFMPEGMediaPlayer: AudioFormat is now a stand-alone class (gluegen ↵Sven Gothel2023-05-181-2/+2
| | | | | | | | 2b339721a4d6dd4f3af129a4654375b15c7ea340)
* | make/scripts/tests.sh: Adjust D_ARGS for AudioSink (moved to gluegen/joal); ↵Sven Gothel2023-05-171-5/+6
| | | | | | | | | | | | | | Validated GLMediaPlayer ... Validated GLMediaPlayer w/ new AudioSink and channels > 2 for ALAudioSink with openal-soft > 1.18 (w/o AL_SOFT_buffer_samples).
* | Common av classes (*AudioSink, ..) are promoted to gluegen (commit ↵Sven Gothel2023-05-1715-2023/+15
| | | | | | | | 270172bcbd91f96d4a38a3d73e23d744f57a25b8) and joal (commit 03f4bb63ce8a358b1c2ef303480e1887d72ecb2e)
* | HiDPI: Revise AWT GLCanvas/GLJPanel ScalableSurface: No setSurfaceScale(), ↵Sven Gothel2023-05-1513-175/+427
| | | | | | | | | | | | | | | | | | | | | | have AWT toolkit define pixelScale only (simplification) This aligns with Glenn's initial AWT patch commit e5e7514d649cd7dd28bbb8e04b72338dc09c2c83, i.e. removing redundancies... Tested on Linux, Windows and MacOS w/ GLCanvas, GLJPanel and GLWindow using pixelScale values: - Linux: 1, 2 - Windows: 1, 1.25, 2 - MacOS: 1, 2
* | Fix MovieSimpleActivity1: Adjust to GLMediaPlayer API change (commit ↵Sven Gothel2023-05-151-11/+12
| | | | | | | | | | | | 9a7b9768e2e018a33ca44a170f372fee84c26a27) Was missing ..
* | HiDPI: Complete testing on Windows (AWT, NEWT, AWT+NEWT): AWT pixel scale ↵Sven Gothel2023-05-145-6/+35
| | | | | | | | propagated properly to our AWT GLCanvas and NEWT