Bug 76

Summary: Multisampling (FSAA) does not work on ATI
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 1   
Hardware: All   
OS: windows   
Type: DEFECT SCM Refs:
Workaround: ---
Attachments: Patch for fixing FSAA with ATI

Description Sven Gothel 2010-03-24 07:46:28 CET


---- Reported by yvg 2004-04-24 06:01:57 ----

Multisampling (FSAA) does not work on ATI cards.

For some reason ATI drivers return empty string for both 
wglGetExtensionsStringEXT and wglGetExtensionsStringARB, so JOGL can not detect 
presence of multisampling capabilities, and FSAA does not work. The same code 
works fine on NVidia cards.

Other programs (Realtech VR OpenGL extension viewer and NeHe Lesson #46) show 
that multisampling extensions are there and are able to use them.

After detalied investigation, I found that the problem caused by call to 
wglGetExtensionsStringARB outside of GLEventListener methods. Moving request of 
WGL extension string to init(...) method of GLEventListener associated with 
dummyGL solves problem.

Suggested solution is: create additional map [device -> extensions string] in 
WindowsGLContextFactory, fill it in init(...) method of GLEventListener 
associated with dummyGL, and in 
WindowsGLContext.choosePixelFormatAndCreateContext(...) use value from this map 
instead of calling wglGetExtensionsStringARB directly.

See patch attached.

Yuri Vl. Gushchin
JProof



---- Additional Comments From yvg 2004-04-24 06:03:48 ----

Created an attachment
Patch for fixing FSAA with ATI




---- Additional Comments From kbr 2004-04-25 19:23:07 ----

Thanks for the patch. It has been applied to the CVS repository and will show up
in the next nightly build as well as the next release build.




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

This bug was previously known as _bug_ 76 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=76
Imported an attachment (id=20)

The original submitter of attachment 20 [details] is unknown.
   Reassigning to the person who moved it here: sgothel@jausoft.com.