|
From: <eli...@us...> - 2006-07-14 13:07:46
|
Revision: 2513 Author: elias_naur Date: 2006-07-14 06:07:38 -0700 (Fri, 14 Jul 2006) ViewCVS: http://svn.sourceforge.net/java-game-lib/?rev=2513&view=rev Log Message: ----------- Added additional @NoErrorCheck annotations Modified Paths: -------------- trunk/LWJGL/src/templates/org/lwjgl/opengl/ARB_multitexture.java trunk/LWJGL/src/templates/org/lwjgl/opengl/GL11.java trunk/LWJGL/src/templates/org/lwjgl/opengl/GL13.java Modified: trunk/LWJGL/src/templates/org/lwjgl/opengl/ARB_multitexture.java =================================================================== --- trunk/LWJGL/src/templates/org/lwjgl/opengl/ARB_multitexture.java 2006-07-14 12:07:20 UTC (rev 2512) +++ trunk/LWJGL/src/templates/org/lwjgl/opengl/ARB_multitexture.java 2006-07-14 13:07:38 UTC (rev 2513) @@ -75,35 +75,51 @@ void glActiveTextureARB(@GLenum int texture); + @NoErrorCheck void glMultiTexCoord1fARB(@GLenum int target, float s); + @NoErrorCheck void glMultiTexCoord1dARB(@GLenum int target, double s); + @NoErrorCheck void glMultiTexCoord1iARB(@GLenum int target, int s); + @NoErrorCheck void glMultiTexCoord1sARB(@GLenum int target, short s); + @NoErrorCheck void glMultiTexCoord2fARB(@GLenum int target, float s, float t); + @NoErrorCheck void glMultiTexCoord2dARB(@GLenum int target, double s, double t); + @NoErrorCheck void glMultiTexCoord2iARB(@GLenum int target, int s, int t); + @NoErrorCheck void glMultiTexCoord2sARB(@GLenum int target, short s, short t); + @NoErrorCheck void glMultiTexCoord3fARB(@GLenum int target, float s, float t, float r); + @NoErrorCheck void glMultiTexCoord3dARB(@GLenum int target, double s, double t, double r); + @NoErrorCheck void glMultiTexCoord3iARB(@GLenum int target, int s, int t, int r); + @NoErrorCheck void glMultiTexCoord3sARB(@GLenum int target, short s, short t, short r); + @NoErrorCheck void glMultiTexCoord4fARB(@GLenum int target, float s, float t, float r, float q); + @NoErrorCheck void glMultiTexCoord4dARB(@GLenum int target, double s, double t, double r, double q); + @NoErrorCheck void glMultiTexCoord4iARB(@GLenum int target, int s, int t, int r, int q); + @NoErrorCheck void glMultiTexCoord4sARB(@GLenum int target, short s, short t, short r, short q); } Modified: trunk/LWJGL/src/templates/org/lwjgl/opengl/GL11.java =================================================================== --- trunk/LWJGL/src/templates/org/lwjgl/opengl/GL11.java 2006-07-14 12:07:20 UTC (rev 2512) +++ trunk/LWJGL/src/templates/org/lwjgl/opengl/GL11.java 2006-07-14 13:07:38 UTC (rev 2513) @@ -755,10 +755,12 @@ @Check("textures.remaining()") @GLboolean ByteBuffer residences); + @NoErrorCheck void glBegin(@GLenum int mode); void glEnd(); + @NoErrorCheck void glArrayElement(int i); void glClearDepth(@GLclampd double depth); @@ -793,20 +795,28 @@ void glColorMask(boolean red, boolean green, boolean blue, boolean alpha); + @NoErrorCheck void glColor3b(byte red, byte green, byte blue); + @NoErrorCheck void glColor3f(float red, float green, float blue); + @NoErrorCheck void glColor3d(double red, double green, double blue); + @NoErrorCheck void glColor3ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue); + @NoErrorCheck void glColor4b(byte red, byte green, byte blue, byte alpha); + @NoErrorCheck void glColor4f(float red, float green, float blue, float alpha); + @NoErrorCheck void glColor4d(double red, double green, double blue, double alpha); + @NoErrorCheck void glColor4ub(@GLubyte byte red, @GLubyte byte green, @GLubyte byte blue, @GLubyte byte alpha); void glClipPlane(@GLenum int plane, @Check("4") @Const DoubleBuffer equation); @@ -1118,12 +1128,16 @@ @GLfloat @GLdouble Buffer pointer); + @NoErrorCheck void glNormal3b(byte nx, byte ny, byte nz); + @NoErrorCheck void glNormal3f(float nx, float ny, float nz); + @NoErrorCheck void glNormal3d(double nx, double ny, double nz); + @NoErrorCheck void glNormal3i(int nx, int ny, int nz); void glNewList(@GLuint int list, @GLenum int mode); @@ -1214,22 +1228,31 @@ @GLfloat @GLdouble Buffer pointer); + @NoErrorCheck void glVertex2f(float x, float y); + @NoErrorCheck void glVertex2d(double x, double y); + @NoErrorCheck void glVertex2i(int x, int y); + @NoErrorCheck void glVertex3f(float x, float y, float z); + @NoErrorCheck void glVertex3d(double x, double y, double z); + @NoErrorCheck void glVertex3i(int x, int y, int z); + @NoErrorCheck void glVertex4f(float x, float y, float z, float w); + @NoErrorCheck void glVertex4d(double x, double y, double z, double w); + @NoErrorCheck void glVertex4i(int x, int y, int z, int w); void glTranslatef(float x, float y, float z); @@ -1319,20 +1342,28 @@ @GLfloat @GLdouble Buffer pointer); + @NoErrorCheck void glTexCoord1f(float s); + @NoErrorCheck void glTexCoord1d(double s); + @NoErrorCheck void glTexCoord2f(float s, float t); + @NoErrorCheck void glTexCoord2d(double s, double t); + @NoErrorCheck void glTexCoord3f(float s, float t, float r); + @NoErrorCheck void glTexCoord3d(double s, double t, double r); + @NoErrorCheck void glTexCoord4f(float s, float t, float r, float q); + @NoErrorCheck void glTexCoord4d(double s, double t, double r, double q); void glStencilOp(@GLenum int fail, @GLenum int zfail, @GLenum int zpass); Modified: trunk/LWJGL/src/templates/org/lwjgl/opengl/GL13.java =================================================================== --- trunk/LWJGL/src/templates/org/lwjgl/opengl/GL13.java 2006-07-14 12:07:20 UTC (rev 2512) +++ trunk/LWJGL/src/templates/org/lwjgl/opengl/GL13.java 2006-07-14 13:07:38 UTC (rev 2513) @@ -218,20 +218,28 @@ @GLshort @GLint Buffer img); + @NoErrorCheck void glMultiTexCoord1f(@GLenum int target, float s); + @NoErrorCheck void glMultiTexCoord1d(@GLenum int target, double s); + @NoErrorCheck void glMultiTexCoord2f(@GLenum int target, float s, float t); + @NoErrorCheck void glMultiTexCoord2d(@GLenum int target, double s, double t); + @NoErrorCheck void glMultiTexCoord3f(@GLenum int target, float s, float t, float r); + @NoErrorCheck void glMultiTexCoord3d(@GLenum int target, double s, double t, double r); + @NoErrorCheck void glMultiTexCoord4f(@GLenum int target, float s, float t, float r, float q); + @NoErrorCheck void glMultiTexCoord4d(@GLenum int target, double s, double t, double r, double q); @StripPostfix("m") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |