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
(1) |
2
(1) |
|
3
(6) |
4
|
5
|
6
(2) |
7
|
8
|
9
|
|
10
|
11
(2) |
12
|
13
(1) |
14
|
15
(2) |
16
(4) |
|
17
(4) |
18
(3) |
19
|
20
|
21
|
22
(5) |
23
(14) |
|
24
(9) |
25
|
26
(2) |
27
(6) |
28
(5) |
29
(3) |
30
|
|
31
|
|
|
|
|
|
|
|
From: Ioannis T. <sp...@us...> - 2004-10-29 19:48:23
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common/arb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv326 Modified Files: org_lwjgl_opengl_ARBShaderObjects.c Log Message: Fixed memory leak Index: org_lwjgl_opengl_ARBShaderObjects.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/arb/org_lwjgl_opengl_ARBShaderObjects.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ARBShaderObjects.c 10 Sep 2004 08:13:51 -0000 1.1 +++ org_lwjgl_opengl_ARBShaderObjects.c 29 Oct 2004 19:48:12 -0000 1.2 @@ -1,31 +1,31 @@ -/* +/* * Copyright (c) 2002-2004 LWJGL Project * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are + * modification, are permitted provided that the following conditions are * met: - * - * * Redistributions of source code must retain the above copyright + * + * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * * Neither the name of 'LWJGL' nor the names of - * its contributors may be used to endorse or promote products derived + * * Neither the name of 'LWJGL' nor the names of + * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ @@ -120,7 +120,6 @@ static glGetUniformivARBPROC glGetUniformivARB; static glGetShaderSourceARBPROC glGetShaderSourceARB; -static int sourcesSize; static int sourceCount; static GLcharARB** sources = NULL; static GLint* sourcesLengths = NULL; @@ -133,7 +132,7 @@ (JNIEnv * env, jclass clazz, jint obj) { glDeleteObjectARB(obj); - + } /* @@ -144,7 +143,7 @@ (JNIEnv * env, jclass clazz, jint pname) { GLhandleARB result = glGetHandleARB(pname); - + return result; } @@ -156,7 +155,7 @@ (JNIEnv * env, jclass clazz, jint containerObj, jint attachedObj) { glDetachObjectARB(containerObj, attachedObj); - + } /* @@ -167,7 +166,7 @@ (JNIEnv * env, jclass clazz, jint shaderType) { GLhandleARB result = glCreateShaderObjectARB(shaderType); - + return result; } @@ -176,17 +175,8 @@ { sourceCount = count; - if ( sources == NULL || sourcesLengths == NULL || sourceCount > sourcesSize ) { - sourcesSize = sourceCount * 2; - - if (sources != NULL) - free(sources); - if (sourcesLengths != NULL) - free(sourcesLengths); - - sources = (GLcharARB**)malloc(sizeof(GLcharARB*)*sourcesSize); - sourcesLengths = (GLint*)malloc(sizeof(GLint)*sourcesSize); - } + sources = (GLcharARB**)malloc(sizeof(GLcharARB*) * sourceCount); + sourcesLengths = (GLint*)malloc(sizeof(GLint) * sourceCount); } /* @@ -210,7 +200,9 @@ (JNIEnv * env, jclass clazz, jint shaderObj) { glShaderSourceARB(shaderObj, sourceCount, (const GLcharARB **)sources, (const GLint *)sourcesLengths); - + + free(sources); + free(sourcesLengths); } /* @@ -221,7 +213,7 @@ (JNIEnv * env, jclass clazz, jint shaderObj) { glCompileShaderARB(shaderObj); - + } /* @@ -232,7 +224,7 @@ (JNIEnv * env, jclass clazz) { GLuint result = glCreateProgramObjectARB(); - + return result; } @@ -244,7 +236,7 @@ (JNIEnv * env, jclass clazz, jint containerObj, jint obj) { glAttachObjectARB(containerObj, obj); - + } /* @@ -255,7 +247,7 @@ (JNIEnv * env, jclass clazz, jint programObj) { glLinkProgramARB(programObj); - + } /* @@ -266,7 +258,7 @@ (JNIEnv * env, jclass clazz, jint programObj) { glUseProgramObjectARB(programObj); - + } /* @@ -277,7 +269,7 @@ (JNIEnv * env, jclass clazz, jint programObj) { glValidateProgramARB(programObj); - + } /* @@ -288,7 +280,7 @@ (JNIEnv * env, jclass clazz, jint location, jfloat v0) { glUniform1fARB(location, v0); - + } /* @@ -299,7 +291,7 @@ (JNIEnv * env, jclass clazz, jint location, jfloat v0, jfloat v1) { glUniform2fARB(location, v0, v1); - + } /* @@ -310,7 +302,7 @@ (JNIEnv * env, jclass clazz, jint location, jfloat v0, jfloat v1, jfloat v2) { glUniform3fARB(location, v0, v1, v2); - + } /* @@ -321,7 +313,7 @@ (JNIEnv * env, jclass clazz, jint location, jfloat v0, jfloat v1, jfloat v2, jfloat v3) { glUniform4fARB(location, v0, v1, v2, v3); - + } /* @@ -332,7 +324,7 @@ (JNIEnv * env, jclass clazz, jint location, jint v0) { glUniform1iARB(location, v0); - + } /* @@ -343,7 +335,7 @@ (JNIEnv * env, jclass clazz, jint location, jint v0, jint v1) { glUniform2iARB(location, v0, v1); - + } /* @@ -354,7 +346,7 @@ (JNIEnv * env, jclass clazz, jint location, jint v0, jint v1, jint v2) { glUniform3iARB(location, v0, v1, v2); - + } /* @@ -365,7 +357,7 @@ (JNIEnv * env, jclass clazz, jint location, jint v0, jint v1, jint v2, jint v3) { glUniform4iARB(location, v0, v1, v2, v3); - + } /* @@ -377,7 +369,7 @@ { GLfloat *values_ptr = (GLfloat *)(*env)->GetDirectBufferAddress(env, values) + valuesOffset; glUniform1fvARB(location, count, values_ptr); - + } /* @@ -389,7 +381,7 @@ { GLfloat *values_ptr = (GLfloat *)(*env)->GetDirectBufferAddress(env, values) + valuesOffset; glUniform2fvARB(location, count, values_ptr); - + } /* @@ -401,7 +393,7 @@ { GLfloat *values_ptr = (GLfloat *)(*env)->GetDirectBufferAddress(env, values) + valuesOffset; glUniform3fvARB(location, count, values_ptr); - + } /* @@ -413,7 +405,7 @@ { GLfloat *values_ptr = (GLfloat *)(*env)->GetDirectBufferAddress(env, values) + valuesOffset; glUniform4fvARB(location, count, values_ptr); - + } /* @@ -425,7 +417,7 @@ { GLint *values_ptr = (GLint *)(*env)->GetDirectBufferAddress(env, values) + valuesOffset; glUniform1ivARB(location, count, values_ptr); - + } /* @@ -437,7 +429,7 @@ { GLint *values_ptr = (GLint *)(*env)->GetDirectBufferAddress(env, values) + valuesOffset; glUniform2ivARB(location, count, values_ptr); - + } /* @@ -449,7 +441,7 @@ { GLint *values_ptr = (GLint *)(*env)->GetDirectBufferAddress(env, values) + valuesOffset; glUniform3ivARB(location, count, values_ptr); - + } /* @@ -461,7 +453,7 @@ { GLint *values_ptr = (GLint *)(*env)->GetDirectBufferAddress(env, values) + valuesOffset; glUniform4ivARB(location, count, values_ptr); - + } /* @@ -473,7 +465,7 @@ { GLfloat *matrices_ptr = (GLfloat *)(*env)->GetDirectBufferAddress(env, matrices) + matricesOffset; glUniformMatrix2fvARB(location, count, transpose, matrices_ptr); - + } /* @@ -485,7 +477,7 @@ { GLfloat *matrices_ptr = (GLfloat *)(*env)->GetDirectBufferAddress(env, matrices) + matricesOffset; glUniformMatrix3fvARB(location, count, transpose, matrices_ptr); - + } /* @@ -497,7 +489,7 @@ { GLfloat *matrices_ptr = (GLfloat *)(*env)->GetDirectBufferAddress(env, matrices) + matricesOffset; glUniformMatrix4fvARB(location, count, transpose, matrices_ptr); - + } /* @@ -509,7 +501,7 @@ { GLfloat *params_ptr = (GLfloat *)(*env)->GetDirectBufferAddress(env, params) + paramsOffset; glGetObjectParameterfvARB(obj, pname, params_ptr); - + } /* @@ -521,7 +513,7 @@ { GLint *params_ptr = (GLint *)(*env)->GetDirectBufferAddress(env, params) + paramsOffset; glGetObjectParameterivARB(obj, pname, params_ptr); - + } /* @@ -541,7 +533,7 @@ glGetInfoLogARB(obj, maxLength, length_ptr, infoLog_ptr); } - + } /* @@ -561,7 +553,7 @@ glGetAttachedObjectsARB(containerObj, maxCount, count_ptr, obj_ptr); } - + } /* @@ -573,7 +565,7 @@ { GLubyte *name_ptr = (GLubyte *)(*env)->GetDirectBufferAddress(env, name) + nameOffset; GLuint result = glGetUniformLocationARB(programObj, name_ptr); - + return result; } @@ -596,7 +588,7 @@ glGetActiveUniformARB(programObj, index, maxLength, length_ptr, size_ptr, type_ptr, name_ptr); } - + } /* @@ -608,7 +600,7 @@ { GLfloat *params_ptr = (GLfloat *)(*env)->GetDirectBufferAddress(env, params) + paramsOffset; glGetUniformfvARB(programObj, location, params_ptr); - + } /* @@ -620,7 +612,7 @@ { GLint *params_ptr = (GLint *)(*env)->GetDirectBufferAddress(env, params) + paramsOffset; glGetUniformivARB(programObj, location, params_ptr); - + } /* @@ -639,7 +631,7 @@ glGetShaderSourceARB(obj, maxLength, length_ptr, source_ptr); } - + } #ifdef __cplusplus |
|
From: Ioannis T. <sp...@us...> - 2004-10-29 19:45:58
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32284 Modified Files: org_lwjgl_opengl_GL20.c Log Message: Fixed memory leak Index: org_lwjgl_opengl_GL20.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/org_lwjgl_opengl_GL20.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_GL20.c 10 Sep 2004 08:13:49 -0000 1.1 +++ org_lwjgl_opengl_GL20.c 29 Oct 2004 19:45:42 -0000 1.2 @@ -89,7 +89,6 @@ typedef void (APIENTRY * glUseProgramPROC) (GLuint program); typedef void (APIENTRY * glValidateProgramPROC) (GLuint program); -static int sourcesSize; static int sourceCount; static GLchar** sources = NULL;; static GLint* sourcesLengths = NULL; @@ -172,17 +171,8 @@ { sourceCount = count; - if ( sources == NULL || sourcesLengths == NULL || sourceCount > sourcesSize ) { - sourcesSize = sourceCount * 2; - - if (sources != NULL) - free(sources); - if (sourcesLengths != NULL) - free(sourcesLengths); - - sources = (GLchar**)malloc(sizeof(GLchar*)*sourcesSize); - sourcesLengths = (GLint*)malloc(sizeof(GLint)*sourcesSize); - } + sources = (GLchar**)malloc(sizeof(GLchar*) * sourceCount); + sourcesLengths = (GLint*)malloc(sizeof(GLint) * sourceCount); } /* @@ -206,6 +196,9 @@ (JNIEnv * env, jclass clazz, jint shader) { glShaderSource(shader, sourceCount, (const GLchar **)sources, (const GLint *)sourcesLengths); + + free(sources); + free(sourcesLengths); } /* |
|
From: Ioannis T. <sp...@us...> - 2004-10-29 19:43:34
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31732 Modified Files: ARBShaderObjects.java GL20.java Log Message: Fixed memory leak Index: ARBShaderObjects.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ARBShaderObjects.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- ARBShaderObjects.java 31 Jul 2004 09:34:09 -0000 1.11 +++ ARBShaderObjects.java 29 Oct 2004 19:43:16 -0000 1.12 @@ -131,6 +131,9 @@ * @param strings */ public static void glShaderSourceARB(int shaderObj, ByteBuffer[] strings) { + if ( strings == null || strings.length == 0 ) + throw new IllegalArgumentException("Invalid shader string array."); + initShaderSource(strings.length); for ( int i = 0; i < strings.length; i++ ) { BufferChecks.checkDirect(strings[i]); Index: GL20.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/GL20.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- GL20.java 9 Sep 2004 23:48:50 -0000 1.1 +++ GL20.java 29 Oct 2004 19:43:16 -0000 1.2 @@ -112,6 +112,7 @@ */ public static void glShaderSource(int shader, ByteBuffer string) { BufferChecks.checkDirect(string); + initShaderSource(1); setShaderString(0, string, string.position(), string.remaining()); @@ -127,6 +128,9 @@ * @param strings */ public static void glShaderSource(int shader, ByteBuffer[] strings) { + if ( strings == null || strings.length == 0 ) + throw new IllegalArgumentException("Invalid shader string array."); + initShaderSource(strings.length); for ( int i = 0; i < strings.length; i++ ) { BufferChecks.checkDirect(strings[i]); |