Re: Graph Type Rendering Updates (Graph UI)
Posted by Sven Gothel on Apr 06, 2023; 2:49pm
URL: https://forum.jogamp.org/Graph-Type-Rendering-Updates-Graph-UI-tp4042173p4042394.html
.. realizing I probably should have dropped this in a separate discussion thread ;-)
Almost through the rewriting of PMVMatrix for 1st draft, surely its the usage and test cases
to adopt causing the work (PIA) lol.
Impact will be
- potential slightly faster user matrix ops 10%+
- better to read and maintained code
- GLUniformData will call a SyncAction of the data provider (PMVMatrix)
to store the 16 floats in .. you guessed it, float array ;-)
So this part closes the loop-hole to use the matrices w/ glUniform*()
While doing this top to bottom cleanup, a few ugly temporary vars also got dropped,
which is generally a good sign as well.