Summary: | Offscreen rendering does not support supersampling | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Owen Dimond <odimond> |
Component: | opengl | Assignee: | Sven Gothel <sgothel> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | wwalker3 |
Priority: | --- | ||
Version: | 2 | ||
Hardware: | All | ||
OS: | windows | ||
Type: | --- | SCM Refs: |
5d18d6b57f7d9d92a9f568e20beb64a6d44de25a
|
Workaround: | --- | ||
Attachments: |
Example application demonstrating the issue
etc\test.bat output stdout with JOGL debug flags enabled |
Created attachment 219 [details]
etc\test.bat output
Created attachment 220 [details]
stdout with JOGL debug flags enabled
The sample works on CentOS 5.4 x86_64; seems like this may be Windows-only. Confirmed bug on Windows XP 32-bit, Java 1.6.0_23-b05, nvidia GeForce FX 5200, driver 6.14.11.7519. 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. 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. |
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.