summaryrefslogtreecommitdiffstats
path: root/src/graphui/classes
Commit message (Collapse)AuthorAgeFilesLines
* Graph: Make RenderState a composition of RegionRenderer, which also creates ↵Sven Gothel2023-03-151-2/+1
| | | | and destroys it. Dropping this also from user (complexity).
* GraphUI: Scene/Shape: Decouple PMVMatrix operations (picking, obj<->win) by ↵Sven Gothel2023-03-153-111/+149
| | | | | | | | using a local instance, enable performing on any thread (not using a blocking GL renderer thread) Shape got 2 win<->obj and size-retrieval variants: (a) using given PMVMatrix and viewport (b) using a local PMVMatrix w/ Scene's viewport and using Scene's setupMatrix()
* GLMediaPlayer usage: Fix verbose strings, disable verbose in GraphUI demosSven Gothel2023-03-151-2/+2
|
* Graph: Have RegionRenderer.reshapeNotify(..) track x/y as well (vieport); ↵Sven Gothel2023-03-142-55/+121
| | | | GraphUI.Scene using RegionRenderer's viewport (no duplicate)
* GraphUI: Label: Rename pixelSize -> pixelScale, since we are view-based or ↵Sven Gothel2023-03-141-9/+10
| | | | in model-space.
* GraphUI: MediaButton: No need to re-create GLRegion (anymore), just ↵Sven Gothel2023-03-141-5/+1
| | | | markShapeDirty() to force reupload of texture-coordinates; Also don't mute audio, user shall configure the GLMediaPlayer...
* GraphUI: Button: Allow user to configure 2-pass label z-offsetSven Gothel2023-03-141-2/+10
|
* GraphUI: GLButton: Don't pass FBO size @ ctor, calculate true view-size @ ↵Sven Gothel2023-03-141-4/+11
| | | | 1st draw
* GraphUI: Scene: Add simplified ctor w/ user defined zNear, zFar and ↵Sven Gothel2023-03-142-54/+191
| | | | sceneDistance; Expose the scene-plane AABBox and add surfaceToObjSize() to compute surface-size in object coords.
* GraphUI: MediaButton: Adapt GLMediaPlayer changes: Ready right away and ↵Sven Gothel2023-03-131-9/+12
| | | | reset on Init: GLMediaPlayer.initGL() + recreate GLRegion
* GraphUI: Cleanup 1-pointer zoom, add generic PinchToZoom-Gesture for ↵Sven Gothel2023-03-132-48/+88
| | | | 2-pointer zoom; Scene: Align method names..
* GraphUI: Use pre-calc'ing buffer sizes for Label shapeSven Gothel2023-03-131-0/+7
|
* GLMediaPlayer: Overhaul and simplify states, allow usage before stream ready ↵Sven Gothel2023-03-131-2/+2
| | | | | | | | | | | | | | | showing test-texture. Adding stop(); (API Change) - allow multiple initGL(..) @ uninitialized and initialized - allows usage before stream is ready - using a test-texture @ uninitialized - adding stop() API change - initStream() -> playStream() - play() -> resume() FFMPEG: Added 'ready' check for robustness
* GraphUI: Shape: Add build-in resize w/ 1-pointer-click and drag in 1/4th ↵Sven Gothel2023-03-112-45/+121
| | | | bottom-left or bottom-right corner. Rename translate -> position.
* GraphUI: Add package.html (dummy)Sven Gothel2023-03-101-0/+33
|
* GraphUI: Promote API to JOGL via graphui.jar or within any jogl-all*.jar (WIP)Sven Gothel2023-03-1012-0/+2671
Root package is 'com.jogamp.graph.ui.gl', i.e. a sub-package of Graph denoting UI and OpenGL usage. Implementation will stay small, hence relative files size costs are minimal. Source and build is in parallel to nativewindow, jogl and newt and has a dependency to all of them. The NEWT dependencies are merely the input listener ..