| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
allowing off-thread mutation
|
| |
|
|
|
|
| |
complete PMVMatrix, use it in getSurfaceSize(..), shapeToWinCoord(..) and winToShapeCoord(..)
|
|
|
|
| |
variants
|
| |
|
| |
|
|
|
|
| |
key-symbols F4, ESC and Q to trigger off-thread window.destroy()
|
| |
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 ...
|
| |
|
|
|
|
|
|
| |
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().
|
| |
|
|
|
|
| |
TODO: Full cleanup perhaps
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
AWT rendering thread support. Adopt it in tests and demos
|
|
|
|
| |
gap) for test case to compare pixel-by-pixel
|
|
|
|
| |
color-channel again, was enforced to be set in commit bb6ee81bc5514663bb7b22224fcdd5ba34a51ac6
|
|
|
|
| |
shall handle null streamWorker, i.e. when using NullGLMediaPlayer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Also tested with Sofr-HiDPI on Linux using GDK_SCALE=2
|
|
|
|
|
|
|
| |
colors within one region)
Note, commit bb6ee81bc5514663bb7b22224fcdd5ba34a51ac6
relaxes the requirement for using a color-channel.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Remove potential leak
|
|
|
|
| |
(and fwd 'em to RenderState aggregate)
|
| |
|
|
|
|
| |
texture unit after ctor
|
|
|
|
| |
avoid side-effects. Usually called @ GLEventListener.init(..)
|
|
|
|
|
|
| |
rendering if no static color has been set
Shader either uses just colorStatic or multiplies it w/ the color-stream value
|
|
|
|
| |
(default texture unit is 0)
|
|
|
|
| |
projection settings
|
| |
|
|
|
|
| |
for tracking of blending states)
|
|
|
|
| |
returns the whole Recti viewport of the shape
|
|
|
|
| |
RegionRenderer.enable(..) merge '!enable' branch, fix API doc
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
draw(..) until it returns true.
|
|
|
|
| |
forAll(..), should be setup before call by user
|
| |
|
|
|
|
|
|
|
| |
AudioSink.setChannelLimit() ..
May be utilized to enforce 1 channel (mono) downsampling
in combination with JOAL/OpenAL to experience spatial 3D position effects.
|
| |
|
|
|
|
|
|
|
| |
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.
|