Bug 193

Summary: antialiasing querying using GLCapabilitiesChooser no longer works in JSR 231 beta 02
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---

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