You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(134) |
Sep
(52) |
Oct
(13) |
Nov
(342) |
Dec
(163) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(44) |
Feb
(62) |
Mar
(158) |
Apr
(38) |
May
(70) |
Jun
(58) |
Jul
(104) |
Aug
(207) |
Sep
(83) |
Oct
(122) |
Nov
(23) |
Dec
(49) |
| 2004 |
Jan
(119) |
Feb
(132) |
Mar
(192) |
Apr
(140) |
May
(77) |
Jun
(74) |
Jul
(201) |
Aug
(63) |
Sep
(102) |
Oct
(70) |
Nov
(173) |
Dec
(78) |
| 2005 |
Jan
(174) |
Feb
(197) |
Mar
(105) |
Apr
(59) |
May
(77) |
Jun
(43) |
Jul
(21) |
Aug
(18) |
Sep
(47) |
Oct
(37) |
Nov
(74) |
Dec
(50) |
| 2006 |
Jan
(44) |
Feb
(19) |
Mar
(32) |
Apr
(24) |
May
(31) |
Jun
(55) |
Jul
(138) |
Aug
(28) |
Sep
(12) |
Oct
(41) |
Nov
(58) |
Dec
(24) |
| 2007 |
Jan
(28) |
Feb
(14) |
Mar
(10) |
Apr
(68) |
May
(30) |
Jun
(26) |
Jul
(18) |
Aug
(63) |
Sep
(19) |
Oct
(29) |
Nov
(20) |
Dec
(10) |
| 2008 |
Jan
(38) |
Feb
(7) |
Mar
(37) |
Apr
(120) |
May
(41) |
Jun
(36) |
Jul
(39) |
Aug
(24) |
Sep
(28) |
Oct
(30) |
Nov
(36) |
Dec
(75) |
| 2009 |
Jan
(46) |
Feb
(22) |
Mar
(50) |
Apr
(70) |
May
(134) |
Jun
(105) |
Jul
(75) |
Aug
(34) |
Sep
(38) |
Oct
(34) |
Nov
(19) |
Dec
(20) |
| 2010 |
Jan
(11) |
Feb
(20) |
Mar
(65) |
Apr
(83) |
May
(104) |
Jun
(73) |
Jul
(78) |
Aug
(57) |
Sep
(43) |
Oct
(35) |
Nov
(9) |
Dec
(4) |
| 2011 |
Jan
(21) |
Feb
(11) |
Mar
(18) |
Apr
(10) |
May
(18) |
Jun
(15) |
Jul
(48) |
Aug
(25) |
Sep
(17) |
Oct
(45) |
Nov
(15) |
Dec
(12) |
| 2012 |
Jan
(21) |
Feb
(9) |
Mar
(12) |
Apr
(9) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(10) |
Sep
(12) |
Oct
(1) |
Nov
(28) |
Dec
(5) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
(4) |
2
(4) |
3
|
4
(2) |
5
|
6
|
7
|
|
8
|
9
(4) |
10
|
11
|
12
(1) |
13
(1) |
14
|
|
15
|
16
(21) |
17
(2) |
18
|
19
|
20
(1) |
21
|
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
|
29
|
30
|
31
(4) |
|
|
|
|
|
From: Elias N. <eli...@us...> - 2006-01-01 19:50:17
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14642/src/native/win32 Modified Files: org_lwjgl_opengl_Win32ContextImplementation.c Log Message: Added setSwapInterval to Display and AWTGLCanvas Index: org_lwjgl_opengl_Win32ContextImplementation.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_Win32ContextImplementation.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- org_lwjgl_opengl_Win32ContextImplementation.c 8 Aug 2005 16:00:15 -0000 1.4 +++ org_lwjgl_opengl_Win32ContextImplementation.c 1 Jan 2006 19:50:06 -0000 1.5 @@ -119,15 +119,11 @@ return wglGetCurrentContext() == context_info->context; } -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32ContextImplementation_nSetVSync - (JNIEnv *env, jclass clazz, jobject context_handle, jboolean enable) { +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32ContextImplementation_nSetSwapInterval + (JNIEnv *env, jclass clazz, jobject context_handle, jint value) { Win32Context *context_info = (Win32Context *)(*env)->GetDirectBufferAddress(env, context_handle); if (context_info->extensions.WGL_EXT_swap_control) { - if (enable == JNI_TRUE) { - context_info->extensions.wglSwapIntervalEXT(1); - } else { - context_info->extensions.wglSwapIntervalEXT(0); - } + context_info->extensions.wglSwapIntervalEXT(value); } } |
|
From: Elias N. <eli...@us...> - 2006-01-01 19:50:14
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14642/src/java/org/lwjgl/opengl Modified Files: AWTGLCanvas.java Context.java ContextImplementation.java Display.java LinuxContextImplementation.java MacOSXContextImplementation.java Win32ContextImplementation.java Log Message: Added setSwapInterval to Display and AWTGLCanvas Index: ContextImplementation.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ContextImplementation.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ContextImplementation.java 23 Feb 2005 11:11:06 -0000 1.2 +++ ContextImplementation.java 1 Jan 2006 19:50:05 -0000 1.3 @@ -75,7 +75,7 @@ */ public boolean isCurrent(ByteBuffer handle) throws LWJGLException; - public void setVSync(boolean enable); + public void setSwapInterval(int value); /** * Destroys the Context. Index: AWTGLCanvas.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/AWTGLCanvas.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- AWTGLCanvas.java 29 Dec 2005 22:30:13 -0000 1.16 +++ AWTGLCanvas.java 1 Jan 2006 19:50:05 -0000 1.17 @@ -170,17 +170,24 @@ } /** - * Enable vsync + * Set swap interval. */ - public void setVSyncEnabled(boolean enabled) throws LWJGLException { + public void setSwapInterval(int swap_interval) throws LWJGLException { synchronized(SYNC_LOCK) { if (context == null) throw new IllegalStateException("Canvas not yet displayable"); - Context.setVSync(enabled); + Context.setSwapInterval(swap_interval); } } /** + * Enable vsync + */ + public void setVSyncEnabled(boolean enabled) throws LWJGLException { + setSwapInterval(enabled ? 1 : 0); + } + + /** * Swap the canvas' buffer */ public void swapBuffers() throws LWJGLException { Index: Display.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Display.java,v retrieving revision 1.58 retrieving revision 1.59 diff -u -d -r1.58 -r1.59 --- Display.java 29 Dec 2005 22:31:46 -0000 1.58 +++ Display.java 1 Jan 2006 19:50:05 -0000 1.59 @@ -91,8 +91,8 @@ /** Fullscreen */ private static boolean fullscreen; - /** VSync */ - private static boolean vsync; + /** Swap interval */ + private static int swap_interval; /** A unique context object, so we can track different contexts between creates() and destroys() */ private static PeerInfo peer_info; @@ -267,7 +267,7 @@ setTitle(title); initControls(); - setVSyncEnabled(vsync); + setSwapInterval(swap_interval); window_created = true; // set cached window icon if exists @@ -774,14 +774,28 @@ } /** + * Set the buffer swap interval. This call is a best-attempt at changing + * the monitor swap interval, which is the minimum periodicity of color buffer swaps, + * measured in video frame periods, and is not guaranteed to be successful. + * + * A video frame period is the time required to display a full frame of video data. + * + * @param sync true to synchronize; false to ignore synchronization + */ + public static void setSwapInterval(int value) { + swap_interval = value; + if (isCreated()) + Context.setSwapInterval(swap_interval); + } + + + /** * Enable or disable vertical monitor synchronization. This call is a best-attempt at changing * the vertical refresh synchronization of the monitor, and is not guaranteed to be successful. * @param sync true to synchronize; false to ignore synchronization */ public static void setVSyncEnabled(boolean sync) { - vsync = sync; - if (isCreated()) - Context.setVSync(vsync); + setSwapInterval(sync ? 1 : 0); } /** Index: LinuxContextImplementation.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/LinuxContextImplementation.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- LinuxContextImplementation.java 4 May 2005 20:59:36 -0000 1.6 +++ LinuxContextImplementation.java 1 Jan 2006 19:50:05 -0000 1.7 @@ -129,17 +129,17 @@ } private static native boolean nIsCurrent(ByteBuffer context_handle) throws LWJGLException; - public void setVSync(boolean enabled) { + public void setSwapInterval(int value) { Context current_context = Context.getCurrentContext(); if (current_context == null) throw new IllegalStateException("No context is current"); synchronized (current_context) { LinuxDisplay.lockAWT(); - nSetVSync(current_context.getHandle(), enabled); + nSetSwapInterval(current_context.getHandle(), value); LinuxDisplay.unlockAWT(); } } - private static native void nSetVSync(ByteBuffer context_handle, boolean enabled); + private static native void nSetSwapInterval(ByteBuffer context_handle, int value); public void destroy(PeerInfo peer_info, ByteBuffer handle) throws LWJGLException { LinuxDisplay.lockAWT(); Index: Context.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Context.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Context.java 2 Nov 2005 09:28:10 -0000 1.7 +++ Context.java 1 Jan 2006 19:50:05 -0000 1.8 @@ -209,14 +209,19 @@ } /** - * Enable or disable vertical monitor synchronization. This call is a best-attempt at changing - * the monitor vertical refresh synchronization of the context, and is not guaranteed to be successful. + * Set the buffer swap interval. This call is a best-attempt at changing + * the monitor swap interval, which is the minimum periodicity of color buffer swaps, + * measured in video frame periods, and is not guaranteed to be successful. + * + * A video frame period is the time required to display a full frame of video data. + * * @param sync true to synchronize; false to ignore synchronization */ - public static void setVSync(boolean enable) { - implementation.setVSync(enable); + public static void setSwapInterval(int value) { + implementation.setSwapInterval(value); } + /** * Destroy the context. This method behaves the same as destroy() with the extra * requirement that the context must be either current to the current thread or not Index: MacOSXContextImplementation.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/MacOSXContextImplementation.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- MacOSXContextImplementation.java 4 May 2005 20:59:35 -0000 1.5 +++ MacOSXContextImplementation.java 1 Jan 2006 19:50:05 -0000 1.6 @@ -110,13 +110,13 @@ } private static native boolean nIsCurrent(ByteBuffer context_handle) throws LWJGLException; - public void setVSync(boolean enabled) { + public void setSwapInterval(int value) { Context current_context = Context.getCurrentContext(); synchronized (current_context) { - nSetVSync(current_context.getHandle(), enabled); + nSetSwapInterval(current_context.getHandle(), value); } } - private static native void nSetVSync(ByteBuffer context_handle, boolean enabled); + private static native void nSetSwapInterval(ByteBuffer context_handle, int value); public void destroy(PeerInfo peer_info, ByteBuffer handle) throws LWJGLException { nDestroy(handle); Index: Win32ContextImplementation.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/Win32ContextImplementation.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Win32ContextImplementation.java 4 May 2005 20:59:36 -0000 1.5 +++ Win32ContextImplementation.java 1 Jan 2006 19:50:05 -0000 1.6 @@ -92,15 +92,15 @@ } private static native boolean nIsCurrent(ByteBuffer context_handle) throws LWJGLException; - public void setVSync(boolean enabled) { + public void setSwapInterval(int value) { Context current_context = Context.getCurrentContext(); if (current_context == null) throw new IllegalStateException("No context is current"); synchronized (current_context) { - nSetVSync(current_context.getHandle(), enabled); + nSetSwapInterval(current_context.getHandle(), value); } } - private static native void nSetVSync(ByteBuffer context_handle, boolean enabled); + private static native void nSetSwapInterval(ByteBuffer context_handle, int value); public void destroy(PeerInfo peer_info, ByteBuffer handle) throws LWJGLException { nDestroy(handle); |
|
From: Elias N. <eli...@us...> - 2006-01-01 19:50:14
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14642/src/native/linux Modified Files: org_lwjgl_opengl_LinuxContextImplementation.c Log Message: Added setSwapInterval to Display and AWTGLCanvas Index: org_lwjgl_opengl_LinuxContextImplementation.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_LinuxContextImplementation.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- org_lwjgl_opengl_LinuxContextImplementation.c 20 Nov 2005 13:19:39 -0000 1.5 +++ org_lwjgl_opengl_LinuxContextImplementation.c 1 Jan 2006 19:50:06 -0000 1.6 @@ -88,13 +88,12 @@ context_info->context = context; } -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_LinuxContextImplementation_nSetVSync - (JNIEnv *env, jclass clazz, jobject context_handle, jboolean sync) +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_LinuxContextImplementation_nSetSwapInterval + (JNIEnv *env, jclass clazz, jobject context_handle, jint value) { X11Context *context_info = (*env)->GetDirectBufferAddress(env, context_handle); if (context_info->extension_flags.GLX_SGI_swap_control) { - int interval = sync == JNI_TRUE ? 1 : 0; - lwjgl_glXSwapIntervalSGI(interval); + lwjgl_glXSwapIntervalSGI(value); } } |
|
From: Elias N. <eli...@us...> - 2006-01-01 19:50:14
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/macosx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14642/src/native/macosx Modified Files: org_lwjgl_opengl_MacOSXContextImplementation.m Log Message: Added setSwapInterval to Display and AWTGLCanvas Index: org_lwjgl_opengl_MacOSXContextImplementation.m =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/macosx/org_lwjgl_opengl_MacOSXContextImplementation.m,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_MacOSXContextImplementation.m 30 Mar 2005 08:49:02 -0000 1.1 +++ org_lwjgl_opengl_MacOSXContextImplementation.m 1 Jan 2006 19:50:06 -0000 1.2 @@ -138,12 +138,12 @@ return result ? JNI_TRUE : JNI_FALSE; } -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nSetVSync - (JNIEnv *env, jclass clazz, jobject context_handle, jboolean enable) { +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nSetSwapInterval + (JNIEnv *env, jclass clazz, jobject context_handle, jint int_value) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MacOSXContext *context_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, context_handle); - long vsync_value = enable == JNI_TRUE ? 1 : 0; - [context_info->context setValues:&vsync_value forParameter:NSOpenGLCPSwapInterval]; + long value = int_value; + [context_info->context setValues:&value forParameter:NSOpenGLCPSwapInterval]; [pool release]; } |