Bug 193 - antialiasing querying using GLCapabilitiesChooser no longer works in JSR 231 beta 02
Summary: antialiasing querying using GLCapabilitiesChooser no longer works in JSR 231 ...
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2006-01-20 04:14 CET by Sven Gothel
Modified: 2010-03-24 07:48 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:48:18 CET


---- Reported by jzwiers 2006-01-20 04:14:28 ----

With the previous JSR231 release (beta01, October 2005), the antialiasing demo 
used some form of querying to find out whether antialisaing is supported at 
all. But with the new release (JSR231 beta02), the antialiasing demo reports:  
WARNING: antialiasing will be disabled because none of the available pixel 
formats had it to offer
Despite this warning, antialiasing does work, without any problem. 
It appears that the GLCapabilities[] passed to the  MultisampleChooser in the 
antialiasing demo receives an array with identical copies of one and the same 
GLCapability: printing the info yields: caps.getSampleBuffers() is false, 
caps.getNumSamples() = 2.



---- Additional Comments From kbr 2006-01-20 12:22:20 ----

This was a bug inadvertently introduced during refactoring of the multisample
support during the development of JSR-231 beta 2 to support multisampled
pbuffers. Additionally another bug was introduced during yesterday's bug fix for
exceptions thrown while producing the GLCapabilities[] array for the
GLCapabilitiesChooser. Both issues have been fixed in this checkin. The printing
code in GLCapabilities has also been extended to print the multisampling-related
properties.




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

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