From 1ac5f46bb15c08b7126e22d10a80e6d607207780 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 8 Oct 2011 01:13:42 +0200 Subject: GLWindow/GLDrawableHelper: Adding experimental notion of skipping GL context release for a specific thread - marked deprecated - used to perf measure situation on omap3, ie figuring out where the low perf. in GearsES2 comes from, our core JOGL code or the GL usage. Turns out it's the GL usage itself, ie the shader - good. - calls are commented out in the demos --- src/jogl/classes/javax/media/opengl/GLAutoDrawable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/javax/media/opengl') diff --git a/src/jogl/classes/javax/media/opengl/GLAutoDrawable.java b/src/jogl/classes/javax/media/opengl/GLAutoDrawable.java index 90290d882..9484f0656 100644 --- a/src/jogl/classes/javax/media/opengl/GLAutoDrawable.java +++ b/src/jogl/classes/javax/media/opengl/GLAutoDrawable.java @@ -249,7 +249,7 @@ public interface GLAutoDrawable extends GLDrawable { front and back buffers are swapped, displaying the results of the render. When disabled, the user is responsible for calling {@link #swapBuffers(..)} manually. */ - public void setAutoSwapBufferMode(boolean onOrOff); + public void setAutoSwapBufferMode(boolean enable); /** Indicates whether automatic buffer swapping is enabled for this drawable. See {@link #setAutoSwapBufferMode}. */ -- cgit v1.2.3