Bug 271

Summary: wglGetPixelFormatAttribivARB() fails forcing software OpenGL
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: windows   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:49:59 CET


---- Reported by kenchapin 2007-02-13 11:56:11 ----

In in createPbuffer() in WindowsPbufferGLDrawable class there is a query of some
attributes that includes WGLExt.WGL_SAMPLE_BUFFERS and WGLExt.WGL_SAMPLES_ARB. 
But if the OpenGL renderer does not support WGL_ARB_multisample,  it has already
been determined that it doesn't, the query will fail and jogl assumes that
Pbuffers are not supported.

If the code were modified to ask for multisample related attributes only if the
renderer supported the multisample extension then Pbuffer support would work fine.



---- Additional Comments From kbr 2007-02-19 19:59:09 ----

New code added for support of getChosenGLCapabilities() was causing these
errors. Conditionalized querying of multisample properties based on availability
of WGL_ARB_multisample extension.

Please try a nightly build dated 2/20 or later and reopen this bug if errors
persist.





--- Bug imported by sgothel@jausoft.com 2010-03-24 07:49 EDT  ---

This bug was previously known as _bug_ 271 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=271