summaryrefslogtreecommitdiffstats
path: root/make/gl-common.cfg
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-04-24 22:59:51 +0000
committerKenneth Russel <[email protected]>2005-04-24 22:59:51 +0000
commit492f117fd3f76c7a5778ca2a07c6f5803242b8e0 (patch)
treebebfe51a2cb8fc36613cdd8ad6caf04b88d1ef47 /make/gl-common.cfg
parentc35019b5256ca33fb642d54608101ab7292f3c60 (diff)
Merged with current JOGL trunk (by using -r HEAD)
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@262 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/gl-common.cfg')
-rw-r--r--make/gl-common.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/make/gl-common.cfg b/make/gl-common.cfg
index a2f091f43..da4d7ea17 100644
--- a/make/gl-common.cfg
+++ b/make/gl-common.cfg
@@ -343,6 +343,16 @@ CustomJavaCode GL * {@link GLX#glXAllocateMemoryNV} extension.
CustomJavaCode GL */
CustomJavaCode GL public java.nio.ByteBuffer glAllocateMemoryNV(int arg0, float arg1, float arg2, float arg3);
+CustomJavaCode GL /** Provides a platform-independent way to specify the minimum swap
+CustomJavaCode GL interval for buffer swaps. An argument of 0 disables
+CustomJavaCode GL sync-to-vertical-refresh completely, while an argument of 1
+CustomJavaCode GL causes the application to wait until the next vertical refresh
+CustomJavaCode GL until swapping buffers. The default, which is platform-specific,
+CustomJavaCode GL is usually either 0 or 1. This function is not guaranteed to
+CustomJavaCode GL have an effect, and in particular only affects heavyweight
+CustomJavaCode GL onscreen components. */
+CustomJavaCode GL public void setSwapInterval(int interval);
+
#
# Directives needed when processing wglext.h on Windows and other platforms
#