summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2014-10-01 17:53:32 +0200
committerSven Gothel <[email protected]>2014-10-08 22:11:12 +0200
commit2b27ba90274f31335ccdb96fcdfef7d0110dcc96 (patch)
tree0efcff8649e6812fdf57f3d769933f3e4a0599c0 /src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
parent8126c9e9e4fd33f86d2c298f7a2cad4b0f838074 (diff)
Fix of the bug 1078
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java b/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
index eafc52ef8..ed0f87f1c 100644
--- a/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
+++ b/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
@@ -340,12 +340,28 @@ public class GLRendererQuirks {
* </p>
*/
public static final int BuggyColorRenderbuffer = 18;
+
+ /**
+ * Some Intel drivers under Windows wrongly claims to support pbuffers
+ * with accumulation buffers. Then, the creation of a pbuffer fails:
+ * javax.media.opengl.GLException: pbuffer creation error: Couldn't find a suitable pixel format
+ * <p>
+ * Appears on:
+ * <ul>
+ * <li>GL_VENDOR Intel</li>
+ * <li>GL_RENDERER Intel Bear Lake B</li>
+ * <li>GL_VERSION 1.4.0 - Build 8.14.10.1930</li>
+ * </ul>
+ *
+ * </p>
+ */
+ public static final int NoPBufferWithAccum = 19;
/** @deprecated Use {@link #getCount()}, this value is no more valid! */
public static final int COUNT = 18;
/** Return the number of known quirks. */
- public static final int getCount() { return 19; }
+ public static final int getCount() { return 20; }
private static final String[] _names = new String[] { "NoDoubleBufferedPBuffer", "NoDoubleBufferedBitmap", "NoSetSwapInterval",
"NoOffscreenBitmap", "NoSetSwapIntervalPostRetarget", "GLSLBuggyDiscard",
@@ -353,7 +369,7 @@ public class GLRendererQuirks {
"NeedCurrCtx4ARBPixFmtQueries", "NeedCurrCtx4ARBCreateContext",
"NoFullFBOSupport", "GLSLNonCompliant", "GL4NeedsGL3Request",
"GLSharedContextBuggy", "GLES3ViaEGLES2Config", "SingletonEGLDisplayOnly",
- "NoMultiSamplingBuffers", "BuggyColorRenderbuffer"
+ "NoMultiSamplingBuffers", "BuggyColorRenderbuffer", "NoPBufferWithAccum"
};
private static final IdentityHashMap<String, GLRendererQuirks> stickyDeviceQuirks = new IdentityHashMap<String, GLRendererQuirks>();