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
|
|
2
|
3
|
4
(1) |
5
|
6
(4) |
7
|
8
|
|
9
|
10
(3) |
11
|
12
|
13
|
14
|
15
(5) |
|
16
|
17
|
18
|
19
|
20
(9) |
21
(4) |
22
|
|
23
(3) |
24
|
25
|
26
|
27
(2) |
28
(3) |
29
|
|
30
(2) |
31
(1) |
|
|
|
|
|
|
From: Elias N. <eli...@us...> - 2005-10-28 15:44:09
|
Update of /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/openal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14211/src/templates/org/lwjgl/openal Modified Files: AL10.java Log Message: Added missing @Const annotations to opengl and openal functions Index: AL10.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/openal/AL10.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- AL10.java 20 Feb 2005 20:53:50 -0000 1.3 +++ AL10.java 28 Oct 2005 15:43:50 -0000 1.4 @@ -636,7 +636,7 @@ */ @StripPostfix("value") @ALvoid - void alListenerfv(@ALenum int pname, @Check("1") FloatBuffer value); + void alListenerfv(@ALenum int pname, @Check("1") @Const FloatBuffer value); /** * Listener attributes are changed using the Listener group of commands. @@ -736,7 +736,7 @@ // TODO: What's the correct minimum value? @StripPostfix("value") @ALvoid - void alSourcefv(@ALuint int source, @ALenum int pname, @Check("1") FloatBuffer value); + void alSourcefv(@ALuint int source, @ALenum int pname, @Check("1") @Const FloatBuffer value); /** * Specifies the position and other properties as taken into account during |
|
From: Elias N. <eli...@us...> - 2005-10-28 15:44:03
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/generated In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14211/src/native/generated Modified Files: org_lwjgl_openal_AL10.c org_lwjgl_opengl_ARBImaging.c org_lwjgl_opengl_ARBMatrixPalette.c org_lwjgl_opengl_ARBPointParameters.c org_lwjgl_opengl_ARBTransposeMatrix.c org_lwjgl_opengl_ATIEnvmapBumpmap.c org_lwjgl_opengl_EXTSecondaryColor.c org_lwjgl_opengl_EXTVertexShader.c org_lwjgl_opengl_GL14.c Log Message: Added missing @Const annotations to opengl and openal functions Index: org_lwjgl_opengl_EXTVertexShader.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_EXTVertexShader.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_EXTVertexShader.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_EXTVertexShader.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -16,16 +16,16 @@ typedef void (APIENTRY *glInsertComponentEXTPROC) (GLuint res, GLuint src, GLuint num); typedef void (APIENTRY *glExtractComponentEXTPROC) (GLuint res, GLuint src, GLuint num); typedef GLuint (APIENTRY *glGenSymbolsEXTPROC) (GLenum dataType, GLenum storageType, GLenum range, GLuint components); -typedef void (APIENTRY *glSetInvariantEXTPROC) (GLuint id, GLenum type, GLvoid * pAddr); -typedef void (APIENTRY *glSetLocalConstantEXTPROC) (GLuint id, GLenum type, GLvoid * pAddr); -typedef void (APIENTRY *glVariantbvEXTPROC) (GLuint id, GLbyte * pAddr); -typedef void (APIENTRY *glVariantsvEXTPROC) (GLuint id, GLshort * pAddr); -typedef void (APIENTRY *glVariantivEXTPROC) (GLuint id, GLint * pAddr); -typedef void (APIENTRY *glVariantfvEXTPROC) (GLuint id, GLfloat * pAddr); -typedef void (APIENTRY *glVariantubvEXTPROC) (GLuint id, GLubyte * pAddr); -typedef void (APIENTRY *glVariantusvEXTPROC) (GLuint id, GLushort * pAddr); -typedef void (APIENTRY *glVariantuivEXTPROC) (GLuint id, GLuint * pAddr); -typedef void (APIENTRY *glVariantPointerEXTPROC) (GLuint id, GLenum type, GLuint stride, GLvoid * pAddr); +typedef void (APIENTRY *glSetInvariantEXTPROC) (GLuint id, GLenum type, const GLvoid * pAddr); +typedef void (APIENTRY *glSetLocalConstantEXTPROC) (GLuint id, GLenum type, const GLvoid * pAddr); +typedef void (APIENTRY *glVariantbvEXTPROC) (GLuint id, const GLbyte * pAddr); +typedef void (APIENTRY *glVariantsvEXTPROC) (GLuint id, const GLshort * pAddr); +typedef void (APIENTRY *glVariantivEXTPROC) (GLuint id, const GLint * pAddr); +typedef void (APIENTRY *glVariantfvEXTPROC) (GLuint id, const GLfloat * pAddr); +typedef void (APIENTRY *glVariantubvEXTPROC) (GLuint id, const GLubyte * pAddr); +typedef void (APIENTRY *glVariantusvEXTPROC) (GLuint id, const GLushort * pAddr); +typedef void (APIENTRY *glVariantuivEXTPROC) (GLuint id, const GLuint * pAddr); +typedef void (APIENTRY *glVariantPointerEXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid * pAddr); typedef void (APIENTRY *glEnableVariantClientStateEXTPROC) (GLuint id); typedef void (APIENTRY *glDisableVariantClientStateEXTPROC) (GLuint id); typedef GLuint (APIENTRY *glBindLightParameterEXTPROC) (GLenum light, GLenum value); @@ -113,67 +113,67 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglSetInvariantEXT(JNIEnv *env, jclass clazz, jint id, jint type, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLvoid *pAddr_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); + const GLvoid *pAddr_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); glSetInvariantEXTPROC glSetInvariantEXT = (glSetInvariantEXTPROC)((intptr_t)function_pointer); glSetInvariantEXT(id, type, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglSetLocalConstantEXT(JNIEnv *env, jclass clazz, jint id, jint type, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLvoid *pAddr_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); + const GLvoid *pAddr_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); glSetLocalConstantEXTPROC glSetLocalConstantEXT = (glSetLocalConstantEXTPROC)((intptr_t)function_pointer); glSetLocalConstantEXT(id, type, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantbvEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLbyte *pAddr_address = ((GLbyte *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLbyte *pAddr_address = ((const GLbyte *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantbvEXTPROC glVariantbvEXT = (glVariantbvEXTPROC)((intptr_t)function_pointer); glVariantbvEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantsvEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLshort *pAddr_address = ((GLshort *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLshort *pAddr_address = ((const GLshort *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantsvEXTPROC glVariantsvEXT = (glVariantsvEXTPROC)((intptr_t)function_pointer); glVariantsvEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantivEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLint *pAddr_address = ((GLint *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLint *pAddr_address = ((const GLint *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantivEXTPROC glVariantivEXT = (glVariantivEXTPROC)((intptr_t)function_pointer); glVariantivEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantfvEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLfloat *pAddr_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLfloat *pAddr_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantfvEXTPROC glVariantfvEXT = (glVariantfvEXTPROC)((intptr_t)function_pointer); glVariantfvEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantubvEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLubyte *pAddr_address = ((GLubyte *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLubyte *pAddr_address = ((const GLubyte *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantubvEXTPROC glVariantubvEXT = (glVariantubvEXTPROC)((intptr_t)function_pointer); glVariantubvEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantusvEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLushort *pAddr_address = ((GLushort *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLushort *pAddr_address = ((const GLushort *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantusvEXTPROC glVariantusvEXT = (glVariantusvEXTPROC)((intptr_t)function_pointer); glVariantusvEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantuivEXT(JNIEnv *env, jclass clazz, jint id, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLuint *pAddr_address = ((GLuint *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; + const GLuint *pAddr_address = ((const GLuint *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position; glVariantuivEXTPROC glVariantuivEXT = (glVariantuivEXTPROC)((intptr_t)function_pointer); glVariantuivEXT(id, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantPointerEXT(JNIEnv *env, jclass clazz, jint id, jint type, jint stride, jobject pAddr, jint pAddr_position, jlong function_pointer) { - GLvoid *pAddr_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); + const GLvoid *pAddr_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pAddr)) + pAddr_position)); glVariantPointerEXTPROC glVariantPointerEXT = (glVariantPointerEXTPROC)((intptr_t)function_pointer); glVariantPointerEXT(id, type, stride, pAddr_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTVertexShader_nglVariantPointerEXTBO(JNIEnv *env, jclass clazz, jint id, jint type, jint stride, jint pAddr_buffer_offset, jlong function_pointer) { - GLvoid *pAddr_address = ((GLvoid *)offsetToPointer(pAddr_buffer_offset)); + const GLvoid *pAddr_address = ((const GLvoid *)offsetToPointer(pAddr_buffer_offset)); glVariantPointerEXTPROC glVariantPointerEXT = (glVariantPointerEXTPROC)((intptr_t)function_pointer); glVariantPointerEXT(id, type, stride, pAddr_address); } Index: org_lwjgl_opengl_EXTSecondaryColor.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_EXTSecondaryColor.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_EXTSecondaryColor.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_EXTSecondaryColor.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -6,7 +6,7 @@ typedef void (APIENTRY *glSecondaryColor3bEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); typedef void (APIENTRY *glSecondaryColor3fEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); typedef void (APIENTRY *glSecondaryColor3ubEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (APIENTRY *glSecondaryColorPointerEXTPROC) (GLint size, GLenum type, GLsizei stride, GLvoid * pPointer); +typedef void (APIENTRY *glSecondaryColorPointerEXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid * pPointer); JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColor3bEXT(JNIEnv *env, jclass clazz, jbyte red, jbyte green, jbyte blue, jlong function_pointer) { glSecondaryColor3bEXTPROC glSecondaryColor3bEXT = (glSecondaryColor3bEXTPROC)((intptr_t)function_pointer); @@ -24,13 +24,13 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColorPointerEXT(JNIEnv *env, jclass clazz, jint size, jint type, jint stride, jobject pPointer, jint pPointer_position, jlong function_pointer) { - GLvoid *pPointer_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pPointer)) + pPointer_position)); + const GLvoid *pPointer_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pPointer)) + pPointer_position)); glSecondaryColorPointerEXTPROC glSecondaryColorPointerEXT = (glSecondaryColorPointerEXTPROC)((intptr_t)function_pointer); glSecondaryColorPointerEXT(size, type, stride, pPointer_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTSecondaryColor_nglSecondaryColorPointerEXTBO(JNIEnv *env, jclass clazz, jint size, jint type, jint stride, jint pPointer_buffer_offset, jlong function_pointer) { - GLvoid *pPointer_address = ((GLvoid *)offsetToPointer(pPointer_buffer_offset)); + const GLvoid *pPointer_address = ((const GLvoid *)offsetToPointer(pPointer_buffer_offset)); glSecondaryColorPointerEXTPROC glSecondaryColorPointerEXT = (glSecondaryColorPointerEXTPROC)((intptr_t)function_pointer); glSecondaryColorPointerEXT(size, type, stride, pPointer_address); } Index: org_lwjgl_opengl_ARBTransposeMatrix.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_ARBTransposeMatrix.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ARBTransposeMatrix.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_ARBTransposeMatrix.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -3,17 +3,17 @@ #include <jni.h> #include "extgl.h" -typedef void (APIENTRY *glLoadTransposeMatrixfARBPROC) (GLfloat * pfMtx); -typedef void (APIENTRY *glMultTransposeMatrixfARBPROC) (GLfloat * pfMtx); +typedef void (APIENTRY *glLoadTransposeMatrixfARBPROC) (const GLfloat * pfMtx); +typedef void (APIENTRY *glMultTransposeMatrixfARBPROC) (const GLfloat * pfMtx); JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTransposeMatrix_nglLoadTransposeMatrixfARB(JNIEnv *env, jclass clazz, jobject pfMtx, jint pfMtx_position, jlong function_pointer) { - GLfloat *pfMtx_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, pfMtx)) + pfMtx_position; + const GLfloat *pfMtx_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, pfMtx)) + pfMtx_position; glLoadTransposeMatrixfARBPROC glLoadTransposeMatrixfARB = (glLoadTransposeMatrixfARBPROC)((intptr_t)function_pointer); glLoadTransposeMatrixfARB(pfMtx_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBTransposeMatrix_nglMultTransposeMatrixfARB(JNIEnv *env, jclass clazz, jobject pfMtx, jint pfMtx_position, jlong function_pointer) { - GLfloat *pfMtx_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, pfMtx)) + pfMtx_position; + const GLfloat *pfMtx_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, pfMtx)) + pfMtx_position; glMultTransposeMatrixfARBPROC glMultTransposeMatrixfARB = (glMultTransposeMatrixfARBPROC)((intptr_t)function_pointer); glMultTransposeMatrixfARB(pfMtx_address); } Index: org_lwjgl_opengl_GL14.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_GL14.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_GL14.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_GL14.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -10,8 +10,8 @@ typedef void (APIENTRY *glMultiDrawArraysPROC) (GLenum mode, GLint * piFirst, GLsizei * piCount, GLsizei primcount); typedef void (APIENTRY *glPointParameteriPROC) (GLenum pname, GLint param); typedef void (APIENTRY *glPointParameterfPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRY *glPointParameterivPROC) (GLenum pname, GLint * params); -typedef void (APIENTRY *glPointParameterfvPROC) (GLenum pname, GLfloat * params); +typedef void (APIENTRY *glPointParameterivPROC) (GLenum pname, const GLint * params); +typedef void (APIENTRY *glPointParameterfvPROC) (GLenum pname, const GLfloat * params); typedef void (APIENTRY *glSecondaryColor3bPROC) (GLbyte red, GLbyte green, GLbyte blue); typedef void (APIENTRY *glSecondaryColor3fPROC) (GLfloat red, GLfloat green, GLfloat blue); typedef void (APIENTRY *glSecondaryColor3ubPROC) (GLubyte red, GLubyte green, GLubyte blue); @@ -67,13 +67,13 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglPointParameteriv(JNIEnv *env, jclass clazz, jint pname, jobject params, jint params_position, jlong function_pointer) { - GLint *params_address = ((GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position; + const GLint *params_address = ((const GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position; glPointParameterivPROC glPointParameteriv = (glPointParameterivPROC)((intptr_t)function_pointer); glPointParameteriv(pname, params_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL14_nglPointParameterfv(JNIEnv *env, jclass clazz, jint pname, jobject params, jint params_position, jlong function_pointer) { - GLfloat *params_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position; + const GLfloat *params_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position; glPointParameterfvPROC glPointParameterfv = (glPointParameterfvPROC)((intptr_t)function_pointer); glPointParameterfv(pname, params_address); } Index: org_lwjgl_opengl_ATIEnvmapBumpmap.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_ATIEnvmapBumpmap.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ATIEnvmapBumpmap.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_ATIEnvmapBumpmap.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -3,19 +3,19 @@ #include <jni.h> #include "extgl.h" -typedef void (APIENTRY *glTexBumpParameterfvATIPROC) (GLenum pname, GLfloat * param); -typedef void (APIENTRY *glTexBumpParameterivATIPROC) (GLenum pname, GLint * param); +typedef void (APIENTRY *glTexBumpParameterfvATIPROC) (GLenum pname, const GLfloat * param); +typedef void (APIENTRY *glTexBumpParameterivATIPROC) (GLenum pname, const GLint * param); typedef void (APIENTRY *glGetTexBumpParameterfvATIPROC) (GLenum pname, GLfloat * param); typedef void (APIENTRY *glGetTexBumpParameterivATIPROC) (GLenum pname, GLint * param); JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ATIEnvmapBumpmap_nglTexBumpParameterfvATI(JNIEnv *env, jclass clazz, jint pname, jobject param, jint param_position, jlong function_pointer) { - GLfloat *param_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, param)) + param_position; + const GLfloat *param_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, param)) + param_position; glTexBumpParameterfvATIPROC glTexBumpParameterfvATI = (glTexBumpParameterfvATIPROC)((intptr_t)function_pointer); glTexBumpParameterfvATI(pname, param_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ATIEnvmapBumpmap_nglTexBumpParameterivATI(JNIEnv *env, jclass clazz, jint pname, jobject param, jint param_position, jlong function_pointer) { - GLint *param_address = ((GLint *)(*env)->GetDirectBufferAddress(env, param)) + param_position; + const GLint *param_address = ((const GLint *)(*env)->GetDirectBufferAddress(env, param)) + param_position; glTexBumpParameterivATIPROC glTexBumpParameterivATI = (glTexBumpParameterivATIPROC)((intptr_t)function_pointer); glTexBumpParameterivATI(pname, param_address); } Index: org_lwjgl_opengl_ARBImaging.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_ARBImaging.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ARBImaging.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_ARBImaging.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -5,8 +5,8 @@ typedef void (APIENTRY *glColorTablePROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid * data); typedef void (APIENTRY *glColorSubTablePROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data); -typedef void (APIENTRY *glColorTableParameterivPROC) (GLenum target, GLenum pname, GLint * params); -typedef void (APIENTRY *glColorTableParameterfvPROC) (GLenum target, GLenum pname, GLfloat * params); +typedef void (APIENTRY *glColorTableParameterivPROC) (GLenum target, GLenum pname, const GLint * params); +typedef void (APIENTRY *glColorTableParameterfvPROC) (GLenum target, GLenum pname, const GLfloat * params); typedef void (APIENTRY *glCopyColorSubTablePROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); typedef void (APIENTRY *glCopyColorTablePROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); typedef void (APIENTRY *glGetColorTablePROC) (GLenum target, GLenum format, GLenum type, GLvoid * data); @@ -24,8 +24,8 @@ typedef void (APIENTRY *glGetMinmaxPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid * values); typedef void (APIENTRY *glGetMinmaxParameterfvPROC) (GLenum target, GLenum pname, GLfloat * params); typedef void (APIENTRY *glGetMinmaxParameterivPROC) (GLenum target, GLenum pname, GLint * params); -typedef void (APIENTRY *glConvolutionFilter1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid * image); -typedef void (APIENTRY *glConvolutionFilter2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * image); +typedef void (APIENTRY *glConvolutionFilter1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image); +typedef void (APIENTRY *glConvolutionFilter2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image); typedef void (APIENTRY *glConvolutionParameterfPROC) (GLenum target, GLenum pname, GLfloat params); typedef void (APIENTRY *glConvolutionParameterfvPROC) (GLenum target, GLenum pname, const GLfloat * params); typedef void (APIENTRY *glConvolutionParameteriPROC) (GLenum target, GLenum pname, GLint params); @@ -63,13 +63,13 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglColorTableParameteriv(JNIEnv *env, jclass clazz, jint target, jint pname, jobject params, jint params_position, jlong function_pointer) { - GLint *params_address = ((GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position; + const GLint *params_address = ((const GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position; glColorTableParameterivPROC glColorTableParameteriv = (glColorTableParameterivPROC)((intptr_t)function_pointer); glColorTableParameteriv(target, pname, params_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglColorTableParameterfv(JNIEnv *env, jclass clazz, jint target, jint pname, jobject params, jint params_position, jlong function_pointer) { - GLfloat *params_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position; + const GLfloat *params_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position; glColorTableParameterfvPROC glColorTableParameterfv = (glColorTableParameterfvPROC)((intptr_t)function_pointer); glColorTableParameterfv(target, pname, params_address); } @@ -181,25 +181,25 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionFilter1D(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint format, jint type, jobject image, jint image_position, jlong function_pointer) { - GLvoid *image_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, image)) + image_position)); + const GLvoid *image_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, image)) + image_position)); glConvolutionFilter1DPROC glConvolutionFilter1D = (glConvolutionFilter1DPROC)((intptr_t)function_pointer); glConvolutionFilter1D(target, internalformat, width, format, type, image_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionFilter1DBO(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint format, jint type, jint image_buffer_offset, jlong function_pointer) { - GLvoid *image_address = ((GLvoid *)offsetToPointer(image_buffer_offset)); + const GLvoid *image_address = ((const GLvoid *)offsetToPointer(image_buffer_offset)); glConvolutionFilter1DPROC glConvolutionFilter1D = (glConvolutionFilter1DPROC)((intptr_t)function_pointer); glConvolutionFilter1D(target, internalformat, width, format, type, image_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionFilter2D(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint height, jint format, jint type, jobject image, jint image_position, jlong function_pointer) { - GLvoid *image_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, image)) + image_position)); + const GLvoid *image_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, image)) + image_position)); glConvolutionFilter2DPROC glConvolutionFilter2D = (glConvolutionFilter2DPROC)((intptr_t)function_pointer); glConvolutionFilter2D(target, internalformat, width, height, format, type, image_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBImaging_nglConvolutionFilter2DBO(JNIEnv *env, jclass clazz, jint target, jint internalformat, jint width, jint height, jint format, jint type, jint image_buffer_offset, jlong function_pointer) { - GLvoid *image_address = ((GLvoid *)offsetToPointer(image_buffer_offset)); + const GLvoid *image_address = ((const GLvoid *)offsetToPointer(image_buffer_offset)); glConvolutionFilter2DPROC glConvolutionFilter2D = (glConvolutionFilter2DPROC)((intptr_t)function_pointer); glConvolutionFilter2D(target, internalformat, width, height, format, type, image_address); } Index: org_lwjgl_opengl_ARBMatrixPalette.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_ARBMatrixPalette.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ARBMatrixPalette.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_ARBMatrixPalette.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -4,7 +4,7 @@ #include "extgl.h" typedef void (APIENTRY *glCurrentPaletteMatrixARBPROC) (GLint index); -typedef void (APIENTRY *glMatrixIndexPointerARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid * pPointer); +typedef void (APIENTRY *glMatrixIndexPointerARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid * pPointer); typedef void (APIENTRY *glMatrixIndexubvARBPROC) (GLint size, GLubyte * pIndices); typedef void (APIENTRY *glMatrixIndexusvARBPROC) (GLint size, GLushort * pIndices); typedef void (APIENTRY *glMatrixIndexuivARBPROC) (GLint size, GLuint * pIndices); @@ -15,13 +15,13 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMatrixPalette_nglMatrixIndexPointerARB(JNIEnv *env, jclass clazz, jint size, jint type, jint stride, jobject pPointer, jint pPointer_position, jlong function_pointer) { - GLvoid *pPointer_address = ((GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pPointer)) + pPointer_position)); + const GLvoid *pPointer_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pPointer)) + pPointer_position)); glMatrixIndexPointerARBPROC glMatrixIndexPointerARB = (glMatrixIndexPointerARBPROC)((intptr_t)function_pointer); glMatrixIndexPointerARB(size, type, stride, pPointer_address); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBMatrixPalette_nglMatrixIndexPointerARBBO(JNIEnv *env, jclass clazz, jint size, jint type, jint stride, jint pPointer_buffer_offset, jlong function_pointer) { - GLvoid *pPointer_address = ((GLvoid *)offsetToPointer(pPointer_buffer_offset)); + const GLvoid *pPointer_address = ((const GLvoid *)offsetToPointer(pPointer_buffer_offset)); glMatrixIndexPointerARBPROC glMatrixIndexPointerARB = (glMatrixIndexPointerARBPROC)((intptr_t)function_pointer); glMatrixIndexPointerARB(size, type, stride, pPointer_address); } Index: org_lwjgl_opengl_ARBPointParameters.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_opengl_ARBPointParameters.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_ARBPointParameters.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_opengl_ARBPointParameters.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -4,7 +4,7 @@ #include "extgl.h" typedef void (APIENTRY *glPointParameterfARBPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRY *glPointParameterfvARBPROC) (GLenum pname, GLfloat * pfParams); +typedef void (APIENTRY *glPointParameterfvARBPROC) (GLenum pname, const GLfloat * pfParams); JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBPointParameters_nglPointParameterfARB(JNIEnv *env, jclass clazz, jint pname, jfloat param, jlong function_pointer) { glPointParameterfARBPROC glPointParameterfARB = (glPointParameterfARBPROC)((intptr_t)function_pointer); @@ -12,7 +12,7 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_ARBPointParameters_nglPointParameterfvARB(JNIEnv *env, jclass clazz, jint pname, jobject pfParams, jint pfParams_position, jlong function_pointer) { - GLfloat *pfParams_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, pfParams)) + pfParams_position; + const GLfloat *pfParams_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, pfParams)) + pfParams_position; glPointParameterfvARBPROC glPointParameterfvARB = (glPointParameterfvARBPROC)((intptr_t)function_pointer); glPointParameterfvARB(pname, pfParams_address); } Index: org_lwjgl_openal_AL10.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/generated/org_lwjgl_openal_AL10.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_openal_AL10.c 29 Sep 2005 17:13:37 -0000 1.1 +++ org_lwjgl_openal_AL10.c 28 Oct 2005 15:43:50 -0000 1.2 @@ -17,7 +17,7 @@ typedef ALenum (ALAPIENTRY *alGetEnumValuePROC) (ALubyte * ename); typedef ALvoid (ALAPIENTRY *alListeneriPROC) (ALenum pname, ALint value); typedef ALvoid (ALAPIENTRY *alListenerfPROC) (ALenum pname, ALfloat value); -typedef ALvoid (ALAPIENTRY *alListenerfvPROC) (ALenum pname, ALfloat * value); +typedef ALvoid (ALAPIENTRY *alListenerfvPROC) (ALenum pname, const ALfloat * value); typedef ALvoid (ALAPIENTRY *alListener3fPROC) (ALenum pname, ALfloat v1, ALfloat v2, ALfloat v3); typedef ALint (ALAPIENTRY *alGetListeneriPROC) (ALenum pname); typedef ALfloat (ALAPIENTRY *alGetListenerfPROC) (ALenum pname); @@ -27,7 +27,7 @@ typedef ALboolean (ALAPIENTRY *alIsSourcePROC) (ALuint id); typedef ALvoid (ALAPIENTRY *alSourceiPROC) (ALuint source, ALenum pname, ALint value); typedef ALvoid (ALAPIENTRY *alSourcefPROC) (ALuint source, ALenum pname, ALfloat value); -typedef ALvoid (ALAPIENTRY *alSourcefvPROC) (ALuint source, ALenum pname, ALfloat * value); +typedef ALvoid (ALAPIENTRY *alSourcefvPROC) (ALuint source, ALenum pname, const ALfloat * value); typedef ALvoid (ALAPIENTRY *alSource3fPROC) (ALuint source, ALenum pname, ALfloat v1, ALfloat v2, ALfloat v3); typedef ALvoid (ALAPIENTRY *alGetSourceiPROC) (ALuint source, ALenum pname, ALint* value); typedef ALvoid (ALAPIENTRY *alGetSourcefPROC) (ALuint source, ALenum pname, ALfloat* value); @@ -172,7 +172,7 @@ } static void JNICALL Java_org_lwjgl_openal_AL10_nalListenerfv(JNIEnv *env, jclass clazz, jint pname, jobject value, jint value_position) { - ALfloat *value_address = ((ALfloat *)(*env)->GetDirectBufferAddress(env, value)) + value_position; + const ALfloat *value_address = ((const ALfloat *)(*env)->GetDirectBufferAddress(env, value)) + value_position; alListenerfv(pname, value_address); } @@ -219,7 +219,7 @@ } static void JNICALL Java_org_lwjgl_openal_AL10_nalSourcefv(JNIEnv *env, jclass clazz, jint source, jint pname, jobject value, jint value_position) { - ALfloat *value_address = ((ALfloat *)(*env)->GetDirectBufferAddress(env, value)) + value_position; + const ALfloat *value_address = ((const ALfloat *)(*env)->GetDirectBufferAddress(env, value)) + value_position; alSourcefv(source, pname, value_address); } |
|
From: Elias N. <eli...@us...> - 2005-10-28 15:44:03
|
Update of /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14211/src/templates/org/lwjgl/opengl Modified Files: ARB_imaging.java ARB_matrix_palette.java ARB_point_parameters.java ARB_transpose_matrix.java ATI_envmap_bumpmap.java EXT_secondary_color.java EXT_vertex_shader.java GL14.java Log Message: Added missing @Const annotations to opengl and openal functions Index: ARB_matrix_palette.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/ARB_matrix_palette.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ARB_matrix_palette.java 21 Mar 2005 08:27:45 -0000 1.4 +++ ARB_matrix_palette.java 28 Oct 2005 15:43:51 -0000 1.5 @@ -56,6 +56,7 @@ @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check + @Const @GLubyte @GLushort @GLuint Index: GL14.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/GL14.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- GL14.java 21 Mar 2005 08:27:45 -0000 1.4 +++ GL14.java 28 Oct 2005 15:43:51 -0000 1.5 @@ -110,9 +110,9 @@ void glPointParameteri(@GLenum int pname, int param); void glPointParameterf(@GLenum int pname, float param); @StripPostfix("params") - void glPointParameteriv(@GLenum int pname, @Check("4") IntBuffer params); + void glPointParameteriv(@GLenum int pname, @Check("4") @Const IntBuffer params); @StripPostfix("params") - void glPointParameterfv(@GLenum int pname, @Check("4") FloatBuffer params); + void glPointParameterfv(@GLenum int pname, @Check("4") @Const FloatBuffer params); void glSecondaryColor3b(byte red, byte green, byte blue); void glSecondaryColor3f(float red, float green, float blue); Index: ARB_transpose_matrix.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/ARB_transpose_matrix.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ARB_transpose_matrix.java 20 Feb 2005 20:53:49 -0000 1.3 +++ ARB_transpose_matrix.java 28 Oct 2005 15:43:51 -0000 1.4 @@ -42,7 +42,7 @@ int GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6; @StripPostfix("pfMtx") - void glLoadTransposeMatrixfARB(@Check("16") FloatBuffer pfMtx); + void glLoadTransposeMatrixfARB(@Check("16") @Const FloatBuffer pfMtx); @StripPostfix("pfMtx") - void glMultTransposeMatrixfARB(@Check("16") FloatBuffer pfMtx); + void glMultTransposeMatrixfARB(@Check("16") @Const FloatBuffer pfMtx); } Index: EXT_secondary_color.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/EXT_secondary_color.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- EXT_secondary_color.java 21 Mar 2005 08:27:45 -0000 1.4 +++ EXT_secondary_color.java 28 Oct 2005 15:43:51 -0000 1.5 @@ -54,6 +54,7 @@ @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check + @Const @GLbyte @GLubyte @GLfloat Index: EXT_vertex_shader.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/EXT_vertex_shader.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- EXT_vertex_shader.java 21 Mar 2005 08:27:45 -0000 1.4 +++ EXT_vertex_shader.java 28 Oct 2005 15:43:51 -0000 1.5 @@ -179,6 +179,7 @@ void glSetInvariantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type, @Check("4") + @Const @GLbyte @GLubyte @GLshort @@ -190,6 +191,7 @@ void glSetLocalConstantEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type, @Check("4") + @Const @GLbyte @GLubyte @GLshort @@ -200,25 +202,26 @@ Buffer pAddr); @StripPostfix("pAddr") - void glVariantbvEXT(@GLuint int id, @Check("4") ByteBuffer pAddr); + void glVariantbvEXT(@GLuint int id, @Check("4") @Const ByteBuffer pAddr); @StripPostfix("pAddr") - void glVariantsvEXT(@GLuint int id, @Check("4") ShortBuffer pAddr); + void glVariantsvEXT(@GLuint int id, @Check("4") @Const ShortBuffer pAddr); @StripPostfix("pAddr") - void glVariantivEXT(@GLuint int id, @Check("4") IntBuffer pAddr); + void glVariantivEXT(@GLuint int id, @Check("4") @Const IntBuffer pAddr); @StripPostfix("pAddr") - void glVariantfvEXT(@GLuint int id, @Check("4") FloatBuffer pAddr); + void glVariantfvEXT(@GLuint int id, @Check("4") @Const FloatBuffer pAddr); @StripPostfix("pAddr") - void glVariantubvEXT(@GLuint int id, @Check("4") @GLubyte ByteBuffer pAddr); + void glVariantubvEXT(@GLuint int id, @Check("4") @Const @GLubyte ByteBuffer pAddr); @StripPostfix("pAddr") - void glVariantusvEXT(@GLuint int id, @Check("4") @GLushort ShortBuffer pAddr); + void glVariantusvEXT(@GLuint int id, @Check("4") @Const @GLushort ShortBuffer pAddr); @StripPostfix("pAddr") - void glVariantuivEXT(@GLuint int id, @Check("4") @GLuint IntBuffer pAddr); + void glVariantuivEXT(@GLuint int id, @Check("4") @Const @GLuint IntBuffer pAddr); void glVariantPointerEXT(@GLuint int id, @AutoType("pAddr") @GLenum int type, @GLuint int stride, @CachedReference @BufferObject(BufferKind.ArrayVBO) @Check + @Const @GLbyte @GLshort @GLint Index: ARB_imaging.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/ARB_imaging.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ARB_imaging.java 21 Mar 2005 08:27:45 -0000 1.4 +++ ARB_imaging.java 28 Oct 2005 15:43:51 -0000 1.5 @@ -141,10 +141,10 @@ Buffer data); @StripPostfix("params") - void glColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") IntBuffer params); + void glColorTableParameteriv(@GLenum int target, @GLenum int pname, @Check("4") @Const IntBuffer params); @StripPostfix("params") - void glColorTableParameterfv(@GLenum int target, @GLenum int pname, @Check("4") FloatBuffer params); + void glColorTableParameterfv(@GLenum int target, @GLenum int pname, @Check("4") @Const FloatBuffer params); void glCopyColorSubTable(@GLenum int target, @GLsizei int start, int x, int y, @GLsizei int width); @@ -204,6 +204,7 @@ void glConvolutionFilter1D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLenum int format, @GLenum int type, @BufferObject(BufferKind.UnpackPBO) @Check("GLChecks.calculateImageStorage(image, format, type, width, 1, 1)") + @Const @GLbyte @GLshort @GLint @@ -213,6 +214,7 @@ void glConvolutionFilter2D(@GLenum int target, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLenum int type, @BufferObject(BufferKind.UnpackPBO) @Check("GLChecks.calculateImageStorage(image, format, type, width, height, 1)") + @Const @GLbyte @GLshort @GLint Index: ARB_point_parameters.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/ARB_point_parameters.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ARB_point_parameters.java 20 Feb 2005 20:53:49 -0000 1.3 +++ ARB_point_parameters.java 28 Oct 2005 15:43:51 -0000 1.4 @@ -44,5 +44,5 @@ void glPointParameterfARB(@GLenum int pname, float param); @StripPostfix("pfParams") - void glPointParameterfvARB(@GLenum int pname, @Check("4") FloatBuffer pfParams); + void glPointParameterfvARB(@GLenum int pname, @Check("4") @Const FloatBuffer pfParams); } Index: ATI_envmap_bumpmap.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/templates/org/lwjgl/opengl/ATI_envmap_bumpmap.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ATI_envmap_bumpmap.java 20 Feb 2005 20:53:49 -0000 1.3 +++ ATI_envmap_bumpmap.java 28 Oct 2005 15:43:51 -0000 1.4 @@ -47,9 +47,9 @@ int GL_BUMP_TARGET_ATI = 0x877C; @StripPostfix("param") - void glTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param); + void glTexBumpParameterfvATI(@GLenum int pname, @Check("4") @Const FloatBuffer param); @StripPostfix("param") - void glTexBumpParameterivATI(@GLenum int pname, @Check("4") IntBuffer param); + void glTexBumpParameterivATI(@GLenum int pname, @Check("4") @Const IntBuffer param); @StripPostfix("param") void glGetTexBumpParameterfvATI(@GLenum int pname, @Check("4") FloatBuffer param); |