From: <sp...@us...> - 2012-01-28 19:35:23
|
Revision: 3732 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3732&view=rev Author: spasi Date: 2012-01-28 19:35:16 +0000 (Sat, 28 Jan 2012) Log Message: ----------- Added AMD_stencil_operation_extended. Reverted @Check("1") from SubData BO functions. Modified Paths: -------------- trunk/LWJGL/src/templates/org/lwjgl/opengl/ARB_buffer_object.java trunk/LWJGL/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java trunk/LWJGL/src/templates/org/lwjgl/opengl/GL15.java trunk/LWJGL/src/templates/org/lwjgl/opengles/GLES20.java Added Paths: ----------- trunk/LWJGL/src/templates/org/lwjgl/opengl/AMD_stencil_operation_extended.java Added: trunk/LWJGL/src/templates/org/lwjgl/opengl/AMD_stencil_operation_extended.java =================================================================== --- trunk/LWJGL/src/templates/org/lwjgl/opengl/AMD_stencil_operation_extended.java (rev 0) +++ trunk/LWJGL/src/templates/org/lwjgl/opengl/AMD_stencil_operation_extended.java 2012-01-28 19:35:16 UTC (rev 3732) @@ -0,0 +1,61 @@ +/* + * Copyright (c) 2002-2012 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 + * met: + * + * * 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 + * 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 + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * 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. + */ +package org.lwjgl.opengl; + +import org.lwjgl.util.generator.opengl.GLenum; +import org.lwjgl.util.generator.opengl.GLuint; + +public interface AMD_stencil_operation_extended { + + /** + * Accepted by the <sfail>, <dpfail> and <dppass> parameters of StencilOp + * and StencilOpSeparate: + */ + int GL_SET_AMD = 0x874A, + GL_AND = 0x1501, + GL_XOR = 0x1506, + GL_OR = 0x1507, + GL_NOR = 0x1508, + GL_EQUIV = 0x1509, + GL_NAND = 0x150E, + GL_REPLACE_VALUE_AMD = 0x874B; + + /** + * Accepted by the <param> parameter of GetIntegerv, GetFloatv, GetBooleanv + * GetDoublev and GetInteger64v: + */ + int GL_STENCIL_OP_VALUE_AMD = 0x874C, + GL_STENCIL_BACK_OP_VALUE_AMD = 0x874D; + + void glStencilOpValueAMD(@GLenum int face, @GLuint int value); + +} \ No newline at end of file Modified: trunk/LWJGL/src/templates/org/lwjgl/opengl/ARB_buffer_object.java =================================================================== --- trunk/LWJGL/src/templates/org/lwjgl/opengl/ARB_buffer_object.java 2012-01-23 21:30:46 UTC (rev 3731) +++ trunk/LWJGL/src/templates/org/lwjgl/opengl/ARB_buffer_object.java 2012-01-28 19:35:16 UTC (rev 3732) @@ -92,7 +92,7 @@ @GLdouble Buffer data, @GLenum int usage); void glBufferSubDataARB(@GLenum int target, @GLintptrARB long offset, @AutoSize("data") @GLsizeiptrARB long size, - @Check("1") + @Check @Const @GLbyte @GLshort @@ -102,7 +102,7 @@ void glGetBufferSubDataARB(@GLenum int target, @GLintptrARB long offset, @AutoSize("data") @GLsizeiptrARB long size, @OutParameter - @Check("1") + @Check @GLbyte @GLshort @GLint Modified: trunk/LWJGL/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java =================================================================== --- trunk/LWJGL/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java 2012-01-23 21:30:46 UTC (rev 3731) +++ trunk/LWJGL/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java 2012-01-28 19:35:16 UTC (rev 3732) @@ -872,7 +872,7 @@ @Dependent("OpenGL15") void glNamedBufferSubDataEXT(@GLuint int buffer, @GLintptr long offset, @AutoSize("data") @GLsizeiptr long size, - @Check("1") + @Check @Const @GLbyte @GLshort @@ -930,7 +930,7 @@ @Dependent("OpenGL15") void glGetNamedBufferSubDataEXT(@GLuint int buffer, @GLintptr long offset, @AutoSize("data") @GLsizeiptr long size, @OutParameter - @Check("1") + @Check @GLbyte @GLshort @GLint Modified: trunk/LWJGL/src/templates/org/lwjgl/opengl/GL15.java =================================================================== --- trunk/LWJGL/src/templates/org/lwjgl/opengl/GL15.java 2012-01-23 21:30:46 UTC (rev 3731) +++ trunk/LWJGL/src/templates/org/lwjgl/opengl/GL15.java 2012-01-28 19:35:16 UTC (rev 3732) @@ -118,7 +118,7 @@ @GLdouble Buffer data, @GLenum int usage); void glBufferSubData(@GLenum int target, @GLintptr long offset, @AutoSize("data") @GLsizeiptr long size, - @Check("1") + @Check @Const @GLbyte @GLshort @@ -128,7 +128,7 @@ void glGetBufferSubData(@GLenum int target, @GLintptr long offset, @AutoSize("data") @GLsizeiptr long size, @OutParameter - @Check("1") + @Check @GLbyte @GLshort @GLint Modified: trunk/LWJGL/src/templates/org/lwjgl/opengles/GLES20.java =================================================================== --- trunk/LWJGL/src/templates/org/lwjgl/opengles/GLES20.java 2012-01-23 21:30:46 UTC (rev 3731) +++ trunk/LWJGL/src/templates/org/lwjgl/opengles/GLES20.java 2012-01-28 19:35:16 UTC (rev 3732) @@ -483,7 +483,7 @@ @Check("1") @Const @GLbyte @GLshort @GLint @GLfloat Buffer data, @GLenum int usage); void glBufferSubData(@GLenum int target, @GLintptr long offset, @AutoSize("data") @GLsizeiptr long size, - @Check("1") @Const @GLbyte @GLshort @GLint @GLfloat Buffer data); + @Check @Const @GLbyte @GLshort @GLint @GLfloat Buffer data); @GLenum int glCheckFramebufferStatus(@GLenum int target); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |