From 2ba049d30d7c9e112c3bb2feb7c98c9666aaa3bf Mon Sep 17 00:00:00 2001
From: Julien Gouesse
Date: Thu, 23 Oct 2014 13:34:57 +0200
Subject: Skips ARB_create_context with ATI Radeon 3100 (see the bug 1038)
---
.../com/jogamp/opengl/GLRendererQuirks.java | 28 ++++++++++++++++++++--
1 file changed, 26 insertions(+), 2 deletions(-)
(limited to 'src/jogl/classes/com')
diff --git a/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java b/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
index 7b5e6b8f1..e4cd5c5d9 100644
--- a/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
+++ b/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
@@ -394,9 +394,33 @@ public class GLRendererQuirks {
*
*/
public static final int NeedSharedObjectSync = 20;
+
+ /**
+ * No reliable ARB_create_context implementation,
+ * even if driver claims otherwise.
+ *
+ * Some drivers wrongly claim to support ARB_create_context.
+ * However, the creation of such context fails:
+ *
+ * javax.media.opengl.GLException: AWT-EventQueue-0: WindowsWGLContex.createContextImpl ctx !ARB, profile > GL2
+ * requested (OpenGL >= 3.0.1). Requested: GLProfile[GL3bc/GL3bc.hw], current: 2.1 (Compat profile, FBO, hardware)
+ * - 2.1.8787
+ *
+ *
+ *
+ * Appears on:
+ *
+ * - GL_VENDOR ATI Technologies Inc.
+ * - GL_RENDERER ATI Radeon 3100 Graphics
+ * - GL_VERSION 2.1.8787
+ * - Platform Windows
+ *
+ *
+ */
+ public static final int NoARBCreateContext = 21;
/** Return the number of known quirks. */
- public static final int getCount() { return 21; }
+ public static final int getCount() { return 22; }
private static final String[] _names = new String[] { "NoDoubleBufferedPBuffer", "NoDoubleBufferedBitmap", "NoSetSwapInterval",
"NoOffscreenBitmap", "NoSetSwapIntervalPostRetarget", "GLSLBuggyDiscard",
@@ -405,7 +429,7 @@ public class GLRendererQuirks {
"NoFullFBOSupport", "GLSLNonCompliant", "GL4NeedsGL3Request",
"GLSharedContextBuggy", "GLES3ViaEGLES2Config", "SingletonEGLDisplayOnly",
"NoMultiSamplingBuffers", "BuggyColorRenderbuffer", "NoPBufferWithAccum",
- "NeedSharedObjectSync"
+ "NeedSharedObjectSync", "NoARBCreateContext"
};
private static final IdentityHashMap stickyDeviceQuirks = new IdentityHashMap();
--
cgit v1.2.3