Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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) | ||||
* | UISceneDemoU01a: Destory textRegion @ dispose | Sven Gothel | 2023-08-01 | 1 | -0/+1 |
| | |||||
* | Graph Add {GLRegion, GraphShape}.setTextureUnit(int): Allowing to set ↵ | Sven Gothel | 2023-08-01 | 6 | -10/+48 |
| | | | | texture unit after ctor | ||||
* | Graph RegionRendered.init(..): Disable renderer (and shader programs etc) to ↵ | Sven Gothel | 2023-08-01 | 3 | -11/+7 |
| | | | | avoid side-effects. Usually called @ GLEventListener.init(..) | ||||
* | Graph RenderState: Initialize colorStatic w/ alpha=1 to avoid invisible ↵ | Sven Gothel | 2023-08-01 | 1 | -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 Gothel | 2023-08-01 | 1 | -5/+23 |
| | | | | (default texture unit is 0) | ||||
* | Add Graph/GraphUI UISceneDemoU01a, showcase integration and multiple ↵ | Sven Gothel | 2023-08-01 | 1 | -0/+351 |
| | | | | projection settings | ||||
* | GLStateTracker: Add tracking of blending states (part-1) | Sven Gothel | 2023-08-01 | 1 | -2/+129 |
| | |||||
* | GLStateTracker: Encapsulate PixelStateMap for PixelStorei states (prepare ↵ | Sven Gothel | 2023-08-01 | 1 | -44/+69 |
| | | | | for tracking of blending states) | ||||
* | GraphUI: Add Shape.getSurfacePort(..): Similar to getSurfaceSize(..) but ↵ | Sven Gothel | 2023-08-01 | 1 | -0/+31 |
| | | | | returns the whole Recti viewport of the shape | ||||
* | Graph: Minor cleanup: TextRegionUtil: Fix API doc references; ↵ | Sven Gothel | 2023-08-01 | 3 | -8/+6 |
| | | | | RegionRenderer.enable(..) merge '!enable' branch, fix API doc | ||||
* | Add {GL, GLContext}.getDefaultDrawBuffer() to complement getDefaultReadBuffer() | Sven Gothel | 2023-07-15 | 6 | -28/+98 |
| | |||||
* | NativeSignatureJavaMethodBindingEmitter: Adopt to GlueGen changes | Sven Gothel | 2023-07-10 | 1 | -41/+40 |
| | |||||
* | Adopt to GlueGen Struct API Change get/set array arguments | Sven Gothel | 2023-06-16 | 1 | -2/+3 |
| | |||||
* | Adopt to GlueGen commit 952e0c1f83c9e0583a97d39988a6ba1428911c8c | Sven Gothel | 2023-06-16 | 3 | -207/+205 |
| | | | | | | | | | 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. | ||||
* | Use DPI scaling to scale drawn fonts. | Glenn Burkhardt | 2023-06-04 | 1 | -1/+14 |
| | |||||
* | GraphUI UISceneDemo20: Add OpenAL spatial 3D sound features: Add ↵ | Sven Gothel | 2023-05-23 | 1 | -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 Gothel | 2023-05-23 | 1 | -0/+22 |
| | | | | draw(..) until it returns true. | ||||
* | GraphUI Scene: Drop redundant and wrong setupMatrix(pmv) for forOne(..) and ↵ | Sven Gothel | 2023-05-23 | 1 | -4/+2 |
| | | | | forAll(..), should be setup before call by user | ||||
* | GraphUI MediaButton: Expose AudioSink | Sven Gothel | 2023-05-23 | 1 | -0/+3 |
| | |||||
* | GLMediaPlayer: Add setAudioChannelLimit(..), correlating with ↵ | Sven Gothel | 2023-05-23 | 3 | -1/+29 |
| | | | | | | | AudioSink.setChannelLimit() .. May be utilized to enforce 1 channel (mono) downsampling in combination with JOAL/OpenAL to experience spatial 3D position effects. | ||||
* | *MediaPlayer: Adop to JOAL 39a32fd56de313c31bd197ee6022288e97f9729a | Sven Gothel | 2023-05-21 | 2 | -2/+6 |
| | |||||
* | Relocate 'jar/atomic/jogl-fonts-p0.jar' -> 'jar/jogl-fonts-p0.jar' to ↵ | Sven Gothel | 2023-05-20 | 1 | -2/+1 |
| | | | | | | | 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. | ||||
* | FFMPEGMediaPlayer: Adjust to AudioFormat changes | Sven Gothel | 2023-05-20 | 1 | -2/+2 |
| | |||||
* | MovieCube: Restart @ EOS | Sven Gothel | 2023-05-18 | 2 | -9/+18 |
| | |||||
* | FFMPEGMediaPlayer: AudioFormat is now a stand-alone class (gluegen ↵ | Sven Gothel | 2023-05-18 | 1 | -2/+2 |
| | | | | 2b339721a4d6dd4f3af129a4654375b15c7ea340) | ||||
* | Common av classes (*AudioSink, ..) are promoted to gluegen (commit ↵ | Sven Gothel | 2023-05-17 | 14 | -2021/+13 |
| | | | | 270172bcbd91f96d4a38a3d73e23d744f57a25b8) and joal (commit 03f4bb63ce8a358b1c2ef303480e1887d72ecb2e) | ||||
* | HiDPI: Revise AWT GLCanvas/GLJPanel ScalableSurface: No setSurfaceScale(), ↵ | Sven Gothel | 2023-05-15 | 11 | -171/+422 |
| | | | | | | | | | | | 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 Gothel | 2023-05-15 | 1 | -11/+12 |
| | | | | | | 9a7b9768e2e018a33ca44a170f372fee84c26a27) Was missing .. | ||||
* | HiDPI: Complete testing on Windows (AWT, NEWT, AWT+NEWT): AWT pixel scale ↵ | Sven Gothel | 2023-05-14 | 2 | -4/+10 |
| | | | | propagated properly to our AWT GLCanvas and NEWT | ||||
* | HiDPI: Revert WindowImpl.applySoftPixelScale()'s if( DEBUG...) { ..; ↵ | Sven Gothel | 2023-05-14 | 1 | -1/+1 |
| | | | | dumpStack(); } | ||||
* | SurfaceScaleUtils: Remove unused isZero(..) | Sven Gothel | 2023-05-14 | 1 | -9/+0 |
| | |||||
* | HiDPI AWT/NEWT: Propagate AWT enforced pixelScale via setSurfaceScale() ↵ | Sven Gothel | 2023-05-14 | 8 | -64/+752 |
| | | | | blocking native change by monitor-pixelScale (Windows, X11) | ||||
* | HiDPI: NEWT/MacOS: WindowDriver.sizeScreenPosInsetsChanged() is called w/ ↵ | Sven Gothel | 2023-05-13 | 1 | -1/+1 |
| | | | | client-area in windowUnits (*fix regression*) | ||||
* | HiDPI: TestGearsES2NEWT: Show MonitorDevice properties, validating pixelScale | Sven Gothel | 2023-05-13 | 1 | -0/+5 |
| | |||||
* | Fix GLMediaPlayerImpl.initGL(GL): Allow null==gl and audio-only mode ↵ | Sven Gothel | 2023-05-09 | 1 | -16/+33 |
| | | | | (regression to initial implementation) | ||||
* | GLMediaPlayer: Replace GLMediaEventListener.EVENT_CHANGE_* 'int event_mask' ↵ | Sven Gothel | 2023-05-09 | 10 | -156/+221 |
| | | | | with EventMask.Bit/EventMask | ||||
* | MacOSXCGLDrawableFactory.canCreateGLPbuffer(): Disabled for MacOS >= 10.13 ↵ | Sven Gothel | 2023-05-06 | 2 | -2/+6 |
| | | | | | | (High Sierra) This expands blocking Pbuffer on MacOS, see commit 1562a6d4c71b27378612306f825c2530c938f859 | ||||
* | Nativewindow OSXmisc.m: Minor cleanup | Sven Gothel | 2023-05-06 | 1 | -18/+19 |
| | |||||
* | Graph CDTriangulator2D: Drop invalid innerPoly, avoiding ↵ | Sven Gothel | 2023-05-05 | 1 | -2/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Loop.initFromPolyline(..) outline.getGraphPoint().size() < 3 IllegalArgumentException This issue has to be added to our CD .. /* * Font FreeMono-Bold: ID 0 + 465: Glyph[id 465 'uni020F', advance 600, leftSideBearings 42, kerning[size 0, horiz true, cross true], shape true], OutlineShape@5e8a459[outlines 2, vertices 34] Drop innerPoly ctrlpts < 3 - innerPo[vertices 2, ctrlpts 2] < 3 - outline[vertices 4, ctrlpts 4] - Input[vertices 4] * * Font FreeSans-Regular: ID 0 + 409: Glyph[id 409 'Udieresiscaron', advance 720, leftSideBearings 80, kerning[size 0, horiz true, cross false], shape true], OutlineShape@5eb97ced[outlines 3, vertices 33] Drop innerPoly ctrlpts < 3 - innerPo[vertices 1, ctrlpts 1] < 3 - outline[vertices 1, ctrlpts 1] - Input[vertices 1] * Stack: at jogamp.graph.curve.tess.CDTriangulator2D.addCurve(CDTriangulator2D.java:97) at com.jogamp.graph.curve.OutlineShape.triangulateImpl(OutlineShape.java:988) at com.jogamp.graph.curve.OutlineShape.getTriangles(OutlineShape.java:1012) at com.jogamp.graph.curve.Region.countOutlineShape(Region.java:503) at com.jogamp.graph.ui.shapes.GlyphShape.<init>(GlyphShape.java:77) */ | ||||
* | Graph GLRegion: DEBUG_BUFFER (growth) 'jogl.debug.graph.curve.Buffer' | Sven Gothel | 2023-05-05 | 1 | -19/+35 |
| | |||||
* | Graph GLRegion.growBuffer(..): Disable debug output (static final flag) | Sven Gothel | 2023-05-04 | 1 | -3/+9 |
| | |||||
* | AudioSinkFactory: Add debug output in case of failed initialization | Sven Gothel | 2023-05-04 | 1 | -0/+2 |
| | |||||
* | Graph FontFactor: Adopt to GlueGen commit ↵ | Sven Gothel | 2023-05-04 | 1 | -1/+1 |
| | | | | 69d22df0a6132dbf8b88fd04090c0bc81129237f IOUtil.copyStream2File() changes | ||||
* | GraphUI GridLayout: Handle 'diffBL' in 2nd path, no need to store as we ↵ | Sven Gothel | 2023-04-29 | 1 | -10/+10 |
| | | | | don't use PMVMatrix for computation | ||||
* | GraphUI GridLayout: Remove old unused layout0(..) method | Sven Gothel | 2023-04-29 | 1 | -134/+0 |
| | |||||
* | GraphUI Working GridLayout w/ and w/o cell-size and alignment; Added BoxLayout. | Sven Gothel | 2023-04-29 | 11 | -155/+1070 |
| | |||||
* | GraphUI Shape: Use null rotPivot indicating unset (isZero not sufficient); ↵ | Sven Gothel | 2023-04-28 | 1 | -13/+17 |
| | | | | toString() just drop no-border and no-padding. |