Bug 76 - Multisampling (FSAA) does not work on ATI
Summary: Multisampling (FSAA) does not work on ATI
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All windows
: P2 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2004-04-24 06:01 CEST by Sven Gothel
Modified: 2010-03-24 07:46 CET (History)
0 users

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


Attachments
Patch for fixing FSAA with ATI (2.24 KB, text/plain)
2004-04-24 06:03 CEST, Sven Gothel
Details

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