Bug 1486 - Graph/GraphUI AA-Quality + SampleCount Params: Push 'em down to RegionRenderer's RenderState usually rarely set from top of user API, reducing complexity
Summary: Graph/GraphUI AA-Quality + SampleCount Params: Push 'em down to RegionRendere...
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: graph (show other bugs)
Version: 2.6.0
Hardware: All all
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks: 805
  Show dependency treegraph
 
Reported: 2024-01-16 05:13 CET by Sven Gothel
Modified: 2024-01-16 05:14 CET (History)
1 user (show)

See Also:
Type: FEATURE
SCM Refs:
6b1979992a7da2573c420ce3eb22f35abcbd35b7
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2024-01-16 05:13:31 CET
Discussion:
    
Alternative was to pass AA-Quality same as SampleCount from the top (e.g. GraphUI Scene),
however, this convolutes the API even more.
Both parameter modify the resulting shader code in pass2 rendering (only).
    
The used 'renderMode' is still maintained within the Region,
since it contains more dynamic states individual to each Region instance (color-texture, ..).
This despite 'renderMode' also changes the RenderState's shader program.
In the end, it really doesn't matter and is a choice of frequency - the pipeline is
usually rendering from on OpenGL rendering thread sequentially.
AA-Quality and SampleCount simply usually don't change that often
and are set only once.
Comment 1 Sven Gothel 2024-01-16 05:14:01 CET
Resolved w/ commit 6b1979992a7da2573c420ce3eb22f35abcbd35b7