Bug 1035

Summary: Allow Gamma [Brightness, Contrast] settings to be performed on display/screen of a NativeSurface
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: enhancement CC: askinner, sgothel
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
15b9e36e80d6f62f7dfb5c45d00cd04de2007ee5
Workaround: ---

Description Sven Gothel 2014-07-27 23:21:41 CEST
Currently GLDrawableFactoryImpl's gamma settings are performed 
only on the main screen.

Allow passing a NativeSurface, so it's display/screen 
gamma values will be changed.

Further, promote low-level gamma settings to GLDrawableFactory
for direct usage.

Change com.jogamp.opengl.util.Gamma to use a GLDrawable
instead of a GL object to clarify that we use the drawable.

Also add a GLAutoDrawable variant, allowing proper locking 
of its 'upstream-lock' to guarantee atomicity.
Comment 1 Sven Gothel 2014-07-27 23:23:46 CEST
Fixed as described in commit 15b9e36e80d6f62f7dfb5c45d00cd04de2007ee5