Bug 271 - wglGetPixelFormatAttribivARB() fails forcing software OpenGL
Summary: wglGetPixelFormatAttribivARB() fails forcing software OpenGL
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All windows
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2007-02-13 11:56 CET by Sven Gothel
Modified: 2010-03-24 07:49 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

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