Bug 1077

Summary: Fix GLContextImpl.setRendererQuirks(..) CTX_IMPL_ACCEL_SOFT profile state
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: major CC: sgothel
Priority: ---    
Version: 2.3.0   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
c0c5fac5301f7264cfdd69117c1f85adfdc7b604
Workaround: ---

Description Sven Gothel 2014-09-22 23:38:44 CEST
Fix GLContextImpl.setRendererQuirks(..) CTX_IMPL_ACCEL_SOFT profile state

- GLContextImpl.setRendererQuirks(..) in called in GLContextImpl.setGLFunctionAvailability(..)

- GLContextImpl.setRendererQuirks(..) was called before fixing CTX_IMPL_ACCEL_SOFT
  via isCurrentContextHardwareRasterizer().

  The latter set CTX_IMPL_ACCEL_SOFT based on known software renderer string within GL_RENDERER.

  This lead to incorrect hwAccel assumption and hence wrong setting of GLRendererQuirks:
    - NoDoubleBufferedPBuffer (was selected even w/ later CTX_IMPL_ACCEL_SOFT)
    - BuggyColorRenderbuffer  (was never selected)

- Fix performs GLContextImpl.setRendererQuirks(..) _after_
  fixing CTX_IMPL_ACCEL_SOFT via isCurrentContextHardwareRasterizer().
Comment 1 Sven Gothel 2014-09-22 23:39:19 CEST
commmit c0c5fac5301f7264cfdd69117c1f85adfdc7b604:
  Fixed as described