diff options
author | Sven Gothel <[email protected]> | 2014-07-31 00:54:24 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-07-31 00:54:24 +0200 |
commit | 2e1484f4c25605c6dc0307f12f3e4e434c429a37 (patch) | |
tree | edd3e1e172bd7278985b55671aae2b8cf640bb29 /src/test/com/jogamp | |
parent | a8ccbdf228727d8eef7e6684b738a118610b5744 (diff) |
Bug 830 - Refine Heuristics for to query whether GLDrawableUtil.swapGLContextAndAllGLEventListener is safe: Add Accumulator Buffer bits
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/GLContextDrawableSwitchBase0.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/GLContextDrawableSwitchBase0.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/GLContextDrawableSwitchBase0.java index 239cab26d..08614f9fb 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/GLContextDrawableSwitchBase0.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/glels/GLContextDrawableSwitchBase0.java @@ -183,17 +183,17 @@ public abstract class GLContextDrawableSwitchBase0 extends UITestCase { testImpl(reqGLCaps, true); } - private void testImpl(final GLCapabilitiesImmutable srcCaps, final boolean dstOnscreen) throws InterruptedException, InvocationTargetException { + private void testImpl(final GLCapabilitiesImmutable srcCapsRequested, final boolean dstOnscreen) throws InterruptedException, InvocationTargetException { final QuitAdapter quitAdapter = new QuitAdapter(); - final GLAutoDrawable gladSource = createGLAutoDrawable(quitAdapter, srcCaps, width, height); + final GLAutoDrawable gladSource = createGLAutoDrawable(quitAdapter, srcCapsRequested, width, height); final GLCapabilitiesImmutable srcCapsChosen = gladSource.getChosenGLCapabilities(); final GLCapabilities dstCaps = (GLCapabilities) srcCapsChosen.cloneMutable(); dstCaps.setOnscreen(dstOnscreen); - final boolean isSwapGLContextSafe = GLDrawableUtil.isSwapGLContextSafe(srcCapsChosen, dstCaps); - System.err.println("Source Caps Requested: "+srcCaps); + final boolean isSwapGLContextSafe = GLDrawableUtil.isSwapGLContextSafe(srcCapsRequested, srcCapsChosen, dstCaps); + System.err.println("Source Caps Requested: "+srcCapsRequested); System.err.println("Source Caps Chosen : "+srcCapsChosen); System.err.println("Dest Caps Requested: "+dstCaps); System.err.println("Is SwapGLContext safe: "+isSwapGLContextSafe); |