aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-01-24 19:33:24 +0100
committerSven Gothel <[email protected]>2014-01-24 19:33:24 +0100
commitf1af72e1d93e8b928409c7bd8da0acb2b41cd345 (patch)
tree824b8b09227ef22d39a728d3dcbc1906c39a8f3a /src/jogl/classes/com
parentbf99c8637f94695a802ff80eb4f630e7c4a4f136 (diff)
Bug 948 - Autodetect GLRendererQuirks.SingletonEGLDisplayOnly
Refines commit fbe00e6f5dca8043b40dd96f096fecc9424e0cc3 Instead of querying driver artifacts (vendor, platform, version ..) we simply can autodetect this quirk by trying to get a second egl-display handle when initializing the EGLDrawablFactory's default device: EGL.eglGetDisplay(EGL.EGL_DEFAULT_DISPLAY)
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java b/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
index 57c5446f1..a643d81a9 100644
--- a/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
+++ b/src/jogl/classes/com/jogamp/opengl/GLRendererQuirks.java
@@ -272,15 +272,19 @@ public class GLRendererQuirks {
* <p>
* Reusing global EGL display works.
* </p>
+ * <p>
+ * The quirk is autodetected within EGLDrawableFactory's initial default device setup!
+ * </p>
+ * <p>
+ * Appears on:
* <ul>
* <li>EGL_VENDOR NVIDIA</li>
* <li>EGL_VERSION 1.4</li>
* <li>GL_VENDOR NVIDIA Corporation</li>
+ * <li>GL_VERSION OpenGL ES 3.0 331.38 (probably w/ 1st NV EGL lib on x86)</li>
* <li>Platform X11</li>
* <li>CPU Family {@link Platform.CPUFamily#X86}</li>
* </ul>
- * <p>
- * FIXME: Constrain driver version.
* </p>
*/
public static final int SingletonEGLDisplayOnly = 16;