From b7ad260cd68b0cbbe1e61b95ed8c90aa97487186 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 8 Mar 2023 05:25:34 +0100 Subject: [GL]Capabilities*: Enhance identity-check in root Capabilities.equals(..), comparing the VisualID first; Added VisualIDHolder.isVisualIDSupported(VIDType) We cannot accept 2 capabilities with different VisualID but same attributes otherwise accepted as equal, since the underlying windowing system uniquely identifies them via their VisualID. Such comparison is used in certail GLAutoDrawable implementations like AWT GLCanvas to determine a configuration change etc. --- make/scripts/tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'make/scripts/tests.sh') diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh index 25941902f..dc836928a 100644 --- a/make/scripts/tests.sh +++ b/make/scripts/tests.sh @@ -846,6 +846,7 @@ function testawtswt() { #testawt com.jogamp.opengl.test.junit.newt.TestListenerCom01AWT +#testnoawt com.jogamp.opengl.test.junit.jogl.caps.TestIdentOfCapabilitiesNEWT $* #testawt com.jogamp.opengl.test.junit.jogl.caps.TestMultisampleES1AWT $* #testnoawt com.jogamp.opengl.test.junit.jogl.caps.TestMultisampleES1NEWT $* #testnoawt com.jogamp.opengl.test.junit.jogl.caps.TestMultisampleES2NEWT $* @@ -995,10 +996,11 @@ function testawtswt() { # Linux DRM/GBM # #testmobile com.jogamp.opengl.test.junit.graph.PerfTextRendererNEWT00 $* -testnoawt com.jogamp.opengl.test.junit.graph.PerfTextRendererNEWT00 $* +#testnoawt com.jogamp.opengl.test.junit.graph.PerfTextRendererNEWT00 $* #testmobile com.jogamp.opengl.test.junit.graph.demos.GPUTextNewtDemo $* #testmobile com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtDemo $* #testnoawt com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtDemo $* +testnoawt com.jogamp.opengl.test.junit.jogl.caps.TestIdentOfCapabilitiesNEWT $* #testmobile com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube $* #testmobile com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieSimple $* #testmobile com.jogamp.opengl.test.junit.jogl.demos.es2.newt.TestGearsES2NEWT $* -- cgit v1.2.3