Bug 930

Summary: OSX: Using 'Apple Software Renderer' GLRendererQuirks Quirk GL4NeedsGL3Request not set
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: macosxAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
3120d4ad150a24b370d7c64b3af3f0557097e979
Workaround: ---
Bug Depends on: 867    
Bug Blocks:    

Description Sven Gothel 2013-12-23 13:28:43 CET
OSX 10.9 Retina reports GL 4.1 Context w/ 'Apple Software Renderer'

GLRendererQuirks Quirk GL4NeedsGL3Request is not set,
as it should be, see Bug 867
Comment 1 Sven Gothel 2013-12-23 13:30:06 CET
Swap Interval  1
GL Profile     GLProfile[GL2ES2/GL4.sw]
GL Version     4.1 (Core profile, arb, ES2 compat, FBO, software) - 4.1 APPLE-9.0.83 [GL 4.1.0, vendor 9.0.83 (APPLE-9.0.83)]
Quirks         [NoOffscreenBitmap]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Apple Computer, Inc.
GL_RENDERER    Apple Software Renderer
GL_VERSION     4.1 APPLE-9.0.83
GLSL           true, has-compiler-func: true, version: 4.10 / 4.10.0
GL FBO: basic true, full true
GL_EXTENSIONS  46
GLX_EXTENSIONS 0
Comment 2 Sven Gothel 2013-12-23 13:33:46 CET
Regression happened between JOGL build 1177 and 1182.
Comment 3 Sven Gothel 2013-12-23 13:36:34 CET
c8726ef04b94ad8e66e1191a06ff793b908d130c(In reply to comment #2)
> Regression happened between JOGL build 1177 and 1182.

build 1177, git-sha1 c8726ef04b94ad8e66e1191a06ff793b908d130c
build 1182, git-sha1 

Probably commit 972feb4be95d1c16c71b84694729952e91dda668,
i.e. related to add Quirk 'GLES3ViaEGLES2Config' ..
Comment 4 Sven Gothel 2013-12-23 22:55:56 CET
Regression was caused by commit ddd5eb35b83ca85dbf43039e8199a7ecf011cdd8:
 Missing braces around 'isES' _and_ term!
Comment 5 Sven Gothel 2013-12-23 23:10:23 CET
3120d4ad150a24b370d7c64b3af3f0557097e979

    GL3 core version validation failed due to missing braces around 'isES' _and_ term,
    where the latter consist out of 2 _or_ terms testing version mismatch.
    
    On OSX we validate a GL3 core context first and expect it to return a GL4 version if available,
    which in turn triggers the quirk GL4NeedsGL3Request.
    This behavior was disabled due to above mentioned bug, where the unqual major version caused
    the validation to fail.
    
    TestGLProfile01NEWT: Fixed 'GL4ES3' test, where 'GL4ES3' is only available
    if extension <code>GL_ARB_ES3_compatibility</code> is available as well.