SW Tracking Report Feature Objectives Overview: Difference between revisions
No edit summary |
|||
(20 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
using Java & JogAmp on Desktop and Embedded Devices. | using Java & JogAmp on Desktop and Embedded Devices. | ||
Notably [[# | Notably [[#Graph|Graph & Graph UI]] as well as [[#NEWT_+_Wayland|Wayland]] & [[#Vulkan|Vulkan]] support could be of interest here? | ||
Also see [[Completed Features Objectives]] ... | Also see [[Completed Features Objectives]] ... | ||
Line 20: | Line 20: | ||
* Fix general issues with current implementation and API, if any | * Fix general issues with current implementation and API, if any | ||
* Fix Graph rendering bugs (Tessellation) | * Fix Graph rendering bugs (Tessellation) | ||
** [https://jausoft.com/blog/2024/02/13/fixing-jogamps-graph-delaunay-tessellation-of-complex-non-convex-shapes/ First round done] | |||
* Use of super-sized triangles to render Graph lines & curves to allow | * Use of super-sized triangles to render Graph lines & curves to allow | ||
** Using a one-pass smooth AA Graph renderer to save resources otherwise used in our pass-2 FBO supersampling renderer | ** Using a one-pass smooth AA Graph renderer to save resources otherwise used in our pass-2 FBO supersampling renderer | ||
Line 26: | Line 27: | ||
* Allow passing or better attaching per-vertex color to Graph Outline (API) | * Allow passing or better attaching per-vertex color to Graph Outline (API) | ||
* <s>Add subtitles in MediaPlayer GraphUI widget</s> ''([https://jausoft.com/blog/2024/02/07/graphui-mediaplayer-feature-complete/ done])'' | * <s>Add subtitles in MediaPlayer GraphUI widget</s> ''([https://jausoft.com/blog/2024/02/07/graphui-mediaplayer-feature-complete/ done])'' | ||
* Add video encoding in our | * Add video encoding in our FFmpeg binding, i.e. an FFMPEGMediaRecorder (Encoding + Multiplexing) | ||
Further more, if so desired, a C++ implementation of our Graph + GraphUI framework | Further more, if so desired, a C++ implementation of our Graph + GraphUI framework | ||
Line 34: | Line 35: | ||
this work and may also like to receive support in adopting this framework, | this work and may also like to receive support in adopting this framework, | ||
please contact [[Maintainer_and_Contacts#Commercial_Support|Göthel Software e.K.]] | please contact [[Maintainer_and_Contacts#Commercial_Support|Göthel Software e.K.]] | ||
== OpenJDK Compatibility / Integration == | |||
Objectives should be to allow seamless integration into | |||
OpenJDK's deployment and JVM launch methods. | |||
A dual JAR file to be used with and without modules is desired, | |||
however it seems that certain JAR options are not available with this | |||
configuration if our classes are not build as modules itself. | |||
An optional [https://jogamp.org/bugzilla/show_bug.cgi?id=1505#c0 JVM Launch Pad (JLP)] might be helpful, | |||
even though it instructs further complexity and is not helping | |||
with a vanilla OpenJDK deployment. | |||
=== OpenJDK >= 11 === | |||
See [https://jogamp.org/bugzilla/show_bug.cgi?id=1404 Bug 1404] | |||
'''JVM Commandline Parameter''' | |||
Current used 'add-opens' in my JogAmp test scripts for Java >= 11, | |||
covering all AWT utilization including background erase is: | |||
<pre> | |||
--add-opens java.desktop/sun.awt=ALL-UNNAMED | |||
--add-opens java.desktop/sun.awt.windows=ALL-UNNAMED | |||
--add-opens java.desktop/sun.java2d=ALL-UNNAMED | |||
</pre> | |||
=== OpenJDK >= 2x === | |||
See [https://jogamp.org/bugzilla/show_bug.cgi?id=1505 Bug 1505] | |||
'''JVM Commandline Parameter''' | |||
Current used 'add-opens' in my JogAmp test scripts for Java >= 23, | |||
covering all AWT utilization including background erase is: | |||
<pre> | |||
--add-opens java.desktop/sun.awt=ALL-UNNAMED | |||
--add-opens java.desktop/sun.awt.windows=ALL-UNNAMED | |||
--add-opens java.desktop/sun.java2d=ALL-UNNAMED | |||
--TO_BE_DETERMINED | |||
</pre> | |||
== Graph UI == | == Graph UI == | ||
Line 41: | Line 86: | ||
Graph UI utilizes [https://jausoft.com/blog/2011/10/05/jogljogamp-red-square-moscow-nurbs-graphicon2011/ Resolution Independent NURBS Curves Rendering using Programmable Graphics Pipeline], i.e. rendering curves directly on the GPU, resolution independent [ [https://jogamp.org/doc/gpunurbs2011/p70-santina.pdf paper], [https://jogamp.org/doc/gpunurbs2011/graphicon2011-slides.pdf slides] ]. | Graph UI utilizes [https://jausoft.com/blog/2011/10/05/jogljogamp-red-square-moscow-nurbs-graphicon2011/ Resolution Independent NURBS Curves Rendering using Programmable Graphics Pipeline], i.e. rendering curves directly on the GPU, resolution independent [ [https://jogamp.org/doc/gpunurbs2011/p70-santina.pdf paper], [https://jogamp.org/doc/gpunurbs2011/graphicon2011-slides.pdf slides] ]. | ||
This method allows us | This method allows us to have an ultimate fast font and UI rendering engine, suitable for all devices and applications. No CPU based curve nor font pre-rendering (matching a target resolution) is required. | ||
Think of an integrated QT or OpenJFX in your 2D/3D application | Think of an integrated QT or OpenJFX in your 2D/3D application | ||
Line 101: | Line 146: | ||
</bugzilla> | </bugzilla> | ||
= | = WebAssembly (wasm) Target Platform = | ||
See [[WebAssembly (wasm) Target Platform]] | |||
[ | |||
= NEWT = | = NEWT = | ||
Line 120: | Line 162: | ||
} | } | ||
</bugzilla> | </bugzilla> | ||
= NEWT + Wayland = | |||
Currently NEWT supports the X11/Xorg windowing server on Unix alike platforms. | |||
It might be desired to add direct support to Wayland, as we already added support for | |||
[https://jogamp.org/bugzilla/show_bug.cgi?id=1156 bare metal devices w/o a windowing system via the Linux DRM/GBM console mode] | |||
throughout JOGL + NEWT. | |||
= Vulkan = | = Vulkan = | ||
Line 172: | Line 221: | ||
} | } | ||
</bugzilla> | </bugzilla> | ||
= OpenJFX = | |||
[https://jogamp.org/bugzilla//show_bug.cgi?id=607#c20 Bug report 607] describes different ways to either | |||
* enhance external rendering via JOGL into an OpenJFX UI elements, or | |||
* to replace OpenJFX's Glass w/ NEWT and Prism's OpenGL coding with JOGL | |||
= Misc = | = Misc = |
Latest revision as of 07:11, 4 April 2024
This list exposes building blocks for potential use and business case scenarios using Java & JogAmp on Desktop and Embedded Devices.
Notably Graph & Graph UI as well as Wayland & Vulkan support could be of interest here?
Also see Completed Features Objectives ...
Graph
Graph/GraphUI Progress Blog Entries
Desired Work Items
This is an ad-hoc list of desired features and fixes, which shall result in proper bug-reports soon.
After having reached UI usability with widgets and clipping, the following items are becoming more interesting
- Fix general issues with current implementation and API, if any
- Fix Graph rendering bugs (Tessellation)
- Use of super-sized triangles to render Graph lines & curves to allow
- Using a one-pass smooth AA Graph renderer to save resources otherwise used in our pass-2 FBO supersampling renderer
- Generate outlines, i.e. outlined fonts
- Generate special effects like glowing/pumping outlines indicating selection etc
- Allow passing or better attaching per-vertex color to Graph Outline (API)
Add subtitles in MediaPlayer GraphUI widget(done)- Add video encoding in our FFmpeg binding, i.e. an FFMPEGMediaRecorder (Encoding + Multiplexing)
Further more, if so desired, a C++ implementation of our Graph + GraphUI framework may also be of interest.
In case any company or organization is interested and likes to support this work and may also like to receive support in adopting this framework, please contact Göthel Software e.K.
OpenJDK Compatibility / Integration
Objectives should be to allow seamless integration into OpenJDK's deployment and JVM launch methods.
A dual JAR file to be used with and without modules is desired, however it seems that certain JAR options are not available with this configuration if our classes are not build as modules itself.
An optional JVM Launch Pad (JLP) might be helpful, even though it instructs further complexity and is not helping with a vanilla OpenJDK deployment.
OpenJDK >= 11
See Bug 1404
JVM Commandline Parameter
Current used 'add-opens' in my JogAmp test scripts for Java >= 11, covering all AWT utilization including background erase is:
--add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.awt.windows=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED
OpenJDK >= 2x
See Bug 1505
JVM Commandline Parameter
Current used 'add-opens' in my JogAmp test scripts for Java >= 23, covering all AWT utilization including background erase is:
--add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.awt.windows=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED --TO_BE_DETERMINED
Graph UI
Graph UI will enable an immersive UI within the 3D scene on the desktop, mobile and on bare-metal embedded systems without a windowing system.
Graph UI utilizes Resolution Independent NURBS Curves Rendering using Programmable Graphics Pipeline, i.e. rendering curves directly on the GPU, resolution independent [ paper, slides ].
This method allows us to have an ultimate fast font and UI rendering engine, suitable for all devices and applications. No CPU based curve nor font pre-rendering (matching a target resolution) is required.
Think of an integrated QT or OpenJFX in your 2D/3D application working on desktop and embedded devices even w/o any windowing system on top of a plain console DRM/GBM as support by JOGL(EGL) and NEWT as demonstrated by Xerxes on a Raspberry Pi4.
Reimagine Java on Desktop & Bare-Metal Devices demonstrates the updated Graph Curve Rendering and UI, while this update shows clipping and widgets. Further updates will be posted here....
Notably the Graph Curve Rendering is almost feature complete, as well as our own user input including gesture detection within NEWT.
- Parent Main Node
- Dependency Tree
- All GraphUI
- Open Items graphui
ID | Version | Product | Component | Priority | Severity | Status | Summary |
---|---|---|---|---|---|---|---|
544 | tbd | GraphUI | Core | P3 | enhancement | UNCONFIRMED | RFE for UI part of the graph package |
804 | tbd | GraphUI | Plugin | --- | enhancement | UNCONFIRMED | Add SVG Input Specification (Curved Geometry, Object Interaction) to Graph-UI |
805 | 2.6.0 | GraphUI | Core | --- | enhancement | IN_PROGRESS | Basic Graph-UI Widgets - I |
1483 | tbd | GraphUI | Plugin | P4 | normal | CONFIRMED | Enhanced Graph-UI Elements - II |
4 Total; 4 Open (100%); 0 Resolved (0%); 0 Verified (0%);
- Completed Items graphui
15 Total; 0 Open (0%); 15 Resolved (100%); 0 Verified (0%);
Jogl / Graph
Dependency Tree Graph Font Issues
- Open Items Jogl / graph
ID | Version | Product | Component | Priority | Severity | Status | Summary |
---|---|---|---|---|---|---|---|
1064 | tbd | Jogl | graph | P1 | major | IN_PROGRESS | Fix Graph Font Rendering (group for related bugs) |
1502 | 2.6.0 | Jogl | graph | P4 | normal | IN_PROGRESS | Graph: Improve Performance of Non-Convex/Intersection Classification and/or Intersection-Test itself (Bug 1501) |
1503 | 2.6.0 | Jogl | graph | P4 | normal | IN_PROGRESS | Graph: Resolve Tessellation Bugs (Delaunay Triangulation) - Part II |
3 Total; 3 Open (100%); 0 Resolved (0%); 0 Verified (0%);
- Completed Items Jogl / graph
33 Total; 0 Open (0%); 32 Resolved (96.97%); 1 Verified (3.03%);
WebAssembly (wasm) Target Platform
See WebAssembly (wasm) Target Platform
NEWT
11 Total; 11 Open (100%); 0 Resolved (0%); 0 Verified (0%);
NEWT + Wayland
Currently NEWT supports the X11/Xorg windowing server on Unix alike platforms.
It might be desired to add direct support to Wayland, as we already added support for bare metal devices w/o a windowing system via the Linux DRM/GBM console mode throughout JOGL + NEWT.
Vulkan
ID | Version | Product | Component | Priority | Severity | Status | Summary |
---|---|---|---|---|---|---|---|
1137 | tbd | Jogl | vulkan | --- | enhancement | CONFIRMED | Add Support for Vulkan (group) |
1138 | tbd | Jogl | vulkan | --- | enhancement | UNCONFIRMED | Common Subset of OpenCL >= 2.1 / Vulkan Command API (Queue, Buffer) and Context |
1139 | tbd | Jogl | vulkan | --- | enhancement | UNCONFIRMED | Generalize high-level API GLContext, GLDrawable, GLAutoDrawable for Vulkan and OpenGL |
1140 | tbd | Jogl | vulkan | --- | enhancement | UNCONFIRMED | Add Support for SPIR-V >= 2.0 (group) |
4 Total; 4 Open (100%); 0 Resolved (0%); 0 Verified (0%);
Video Encoding/Decoding & Player
Across our releases, we supported video encoding and decoding (with a player) based on either FFmpeg or Android's library as shown in this clip at 2:12 min mark.
Goal would be to
- Update general ffmpeg video decoding support
- Enhance ffmpeg video encoding support
- Potentially add better control about video-frame to framebuffer control for editing software
See related buglist
14 Total; 3 Open (21.43%); 11 Resolved (78.57%); 0 Verified (0%);
iOS Enhancements
Early iOS support has been demonstrated in 2019
Enhancing this port would allow to use JogAmp in a similar fashion as on Android, but using an OpenJDK iOS build.
Source Certification Contract (SCC)
ID | Version | Product | Component | Priority | Severity | Status | Summary |
---|---|---|---|---|---|---|---|
1368 | tbd | General | builds | P4 | normal | IN_PROGRESS | Source Certification Contract (SCC) |
1369 | 2.4.0 | Gluegen | core | P4 | normal | RESOLVED | SCC: Implement basic Secure Hash (SHA256) build time signatures & runtime validation |
2 Total; 1 Open (50%); 1 Resolved (50%); 0 Verified (0%);
OpenJFX
Bug report 607 describes different ways to either
- enhance external rendering via JOGL into an OpenJFX UI elements, or
- to replace OpenJFX's Glass w/ NEWT and Prism's OpenGL coding with JOGL
Misc
82 Total; 62 Open (75.61%); 19 Resolved (23.17%); 1 Verified (1.22%);