Bug 461 - Offscreen rendering does not support supersampling
Summary: Offscreen rendering does not support supersampling
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: opengl (show other bugs)
Version: 2
Hardware: All windows
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2011-01-21 18:34 CET by Owen Dimond
Modified: 2011-02-05 02:55 CET (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
5d18d6b57f7d9d92a9f568e20beb64a6d44de25a
Workaround: ---


Attachments
Example application demonstrating the issue (3.30 KB, application/octet-stream)
2011-01-21 18:34 CET, Owen Dimond
Details
etc\test.bat output (7.87 KB, text/x-log)
2011-01-21 18:34 CET, Owen Dimond
Details
stdout with JOGL debug flags enabled (33.53 KB, text/plain)
2011-01-21 18:35 CET, Owen Dimond
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Dimond 2011-01-21 18:34:06 CET
Created attachment 218 [details]
Example application demonstrating the issue

We are seeing the following exception: "pbuffer creation error: Couldn't find a suitable pixel format" when enabling supersampling with an offscreen buffer. We do not see the problem using JOGL1.
Comment 1 Owen Dimond 2011-01-21 18:34:53 CET
Created attachment 219 [details]
etc\test.bat output
Comment 2 Owen Dimond 2011-01-21 18:35:46 CET
Created attachment 220 [details]
stdout with JOGL debug flags enabled
Comment 3 Wade Walker 2011-01-25 17:54:01 CET
The sample works on CentOS 5.4 x86_64; seems like this may be Windows-only.
Comment 4 Wade Walker 2011-01-25 18:15:24 CET
Confirmed bug on Windows XP 32-bit, Java 1.6.0_23-b05, nvidia GeForce FX 5200, driver 6.14.11.7519.
Comment 5 Wade Walker 2011-01-26 23:40:53 CET
I created a unit test for this issue and submitted it as a pull request at https://github.com/sgothel/jogl/pull/21.

I also tested this with JOGL 1.1.1a and confirmed that it works that way.
Comment 6 Sven Gothel 2011-02-05 02:55:44 CET
commit 5d18d6b57f7d9d92a9f568e20beb64a6d44de25a
Author: Sven Gothel <sgothel@jausoft.com>
Date:   Sat Feb 5 02:39:25 2011 +0100

    Fix bug #461 on NV/Win (caps selection)
    
    Allows TestBug461OffscreenSupersamplingSwingAWT to pass on NV/Win7.
    Root cause was using the requested unfixed caps (onscreen, !pbuffer)
    instead of the fixed ones.