<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>271</bug_id>
          
          <creation_ts>2007-02-13 11:56:11 +0100</creation_ts>
          <short_desc>wglGetPixelFormatAttribivARB() fails forcing software OpenGL</short_desc>
          <delta_ts>2010-03-24 07:49:59 +0100</delta_ts>
          <reporter_accessible>0</reporter_accessible>
          <cclist_accessible>0</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>windows</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>287</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:49:59 +0100</bug_when>
    <thetext>


---- 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&apos;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
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>