Bug 1072 - GLJPanel: Allow reconfiguration of offscreen's GLCapabilitiesImmutable
Summary: GLJPanel: Allow reconfiguration of offscreen's GLCapabilitiesImmutable
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2.3.0
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2014-09-20 21:25 CEST by Sven Gothel
Modified: 2019-03-29 17:54 CET (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
026dd9a12058257483bbff1259dd89bf2040ddab
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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'