From 18e487fdfe6f27564d976aa3a568d0ddc272d8ba Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 30 Aug 2015 04:59:11 +0200 Subject: Bug 1203: OpenGL ES 3.1 NVIDIA 355.06's EGL impl. is unstable requires GLRendererQuirk.SingletonEGLDisplayOnly Test cases with multiple EGLDisplay init/terminate result to crashes due to NVidia's 355.06 driver. Hence enable GLRendererQuirk.SingletonEGLDisplayOnly if EGL vendor is NVIDIA until a good driver version is known. --- src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl') diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java index 2e5ee0854..fed02f34e 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java @@ -537,10 +537,10 @@ public class EGLDrawableFactory extends GLDrawableFactoryImpl { } // Probe for GLRendererQuirks.SingletonEGLDisplayOnly final boolean singletonEGLDisplayOnlyVendor, singletonEGLDisplayOnlyProbe; - /* if( defaultDeviceEGLFeatures.vendor.contains("NVIDIA") ) { // May use for later .. + if( defaultDeviceEGLFeatures.vendor.contains("NVIDIA") ) { // OpenGL ES 3.1 NVIDIA 355.06 unstable singletonEGLDisplayOnlyVendor=true; singletonEGLDisplayOnlyProbe=false; - } else */ { + } else { singletonEGLDisplayOnlyVendor=false; final long secondEGLDisplay = EGL.eglGetDisplay(EGL.EGL_DEFAULT_DISPLAY); singletonEGLDisplayOnlyProbe = EGL.EGL_NO_DISPLAY == secondEGLDisplay; -- cgit v1.2.3