Bug 1072

Summary: GLJPanel: Allow reconfiguration of offscreen's GLCapabilitiesImmutable
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: enhancement CC: sgothel
Priority: ---    
Version: 2.3.0   
Hardware: All   
OS: all   
Type: --- SCM Refs:
026dd9a12058257483bbff1259dd89bf2040ddab
Workaround: ---

Description Sven Gothel 2014-09-20 21:25:27 CEST
Since GLJPanel utilizes offscreen drawable not 
bound to the GLJPanel itself, allow its reconfiguration (recreation)
by changing it's capabilities.

This may help w/ issues, where certain requested caps are not available
and resulting caps are not 'good enough'.
Comment 1 Sven Gothel 2014-09-20 21:25:54 CEST
026dd9a12058257483bbff1259dd89bf2040ddab

Offscreen's GLCapabilitiesImmutable reconfiguration will dispose a realized instance
and issues recreation via initializeBackendImpl() immedietly.

Implementation performs operation on AWT-EDT.

Tests:
  - TestGearsES2GLJPanelAWT:
      - Toggle MSAA via 'm'

  - TestGearsGLJPanelAWT:
      - Toggle MSAA via 'm'
      - Toggle Bitmap via 'b'