Added support for APPLE extensions.
This commit is contained in:
parent
8cee11ede7
commit
a4ed94bf4d
|
@ -14,7 +14,7 @@
|
|||
<property name="lwjgl.res" location="res" />
|
||||
<property name="lwjgl.version" value="2.4" />
|
||||
|
||||
<property name="opengl-template-pattern" value="org/lwjgl/opengl/GL*.java,org/lwjgl/opengl/ARB*.java,org/lwjgl/opengl/AMD*.java,org/lwjgl/opengl/ATI*.java,org/lwjgl/opengl/EXT*.java,org/lwjgl/opengl/NV*.java,org/lwjgl/opengl/HP*.java,org/lwjgl/opengl/IBM*.java,org/lwjgl/opengl/SUN*.java,org/lwjgl/opengl/SGIS*.java,org/lwjgl/opengl/GREMEDY*.java"/>
|
||||
<property name="opengl-template-pattern" value="org/lwjgl/opengl/GL*.java,org/lwjgl/opengl/ARB*.java,org/lwjgl/opengl/AMD*.java,org/lwjgl/opengl/APPLE*.java,org/lwjgl/opengl/ATI*.java,org/lwjgl/opengl/EXT*.java,org/lwjgl/opengl/NV*.java,org/lwjgl/opengl/HP*.java,org/lwjgl/opengl/IBM*.java,org/lwjgl/opengl/SUN*.java,org/lwjgl/opengl/SGIS*.java,org/lwjgl/opengl/GREMEDY*.java"/>
|
||||
<!-- ================================================================== -->
|
||||
<!-- Filesets used for targets -->
|
||||
<!-- ================================================================== -->
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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;
|
||||
|
||||
public interface APPLE_aux_depth_stencil {
|
||||
|
||||
/** Accepted by the <pname> parameter of GetIntegerv. */
|
||||
int GL_AUX_DEPTH_STENCIL_APPLE = 0x8A14;
|
||||
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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;
|
||||
|
||||
public interface APPLE_client_storage {
|
||||
|
||||
/** Accepted by the <pname> parameters of PixelStore: */
|
||||
int GL_UNPACK_CLIENT_STORAGE_APPLE = 0x85B2;
|
||||
|
||||
}
|
|
@ -0,0 +1,77 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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.*;
|
||||
|
||||
import java.nio.Buffer;
|
||||
import java.nio.IntBuffer;
|
||||
|
||||
public interface APPLE_element_array {
|
||||
|
||||
/**
|
||||
* Accepted by the <array> parameter of EnableClientState and
|
||||
* DisableClientState and the <value> parameter of IsEnabled:
|
||||
*/
|
||||
int GL_ELEMENT_ARRAY_APPLE = 0x8768;
|
||||
|
||||
/**
|
||||
* Accepted by the <value> parameter of GetBooleanv, GetIntegerv,
|
||||
* GetFloatv, and GetDoublev:
|
||||
*/
|
||||
int GL_ELEMENT_ARRAY_TYPE_APPLE = 0x8769;
|
||||
|
||||
/** Accepted by the <pname> parameter of GetPointerv: */
|
||||
int GL_ELEMENT_ARRAY_POINTER_APPLE = 0x876A;
|
||||
|
||||
void glElementPointerAPPLE(@AutoType("pointer") @GLenum int type,
|
||||
@Check
|
||||
@Const
|
||||
@GLubyte
|
||||
@GLushort
|
||||
@GLuint Buffer pointer);
|
||||
|
||||
void glDrawElementArrayAPPLE(@GLenum int mode, int first, @GLsizei int count);
|
||||
|
||||
void glDrawRangeElementArrayAPPLE(@GLenum int mode, @GLuint int start, @GLuint int end, int first, @GLsizei int count);
|
||||
|
||||
void glMultiDrawElementArrayAPPLE(@GLenum int mode,
|
||||
@Const IntBuffer first,
|
||||
@Const @Check("first.remaining()") @GLsizei IntBuffer count,
|
||||
@AutoSize("first") @GLsizei int primcount);
|
||||
|
||||
void glMultiDrawRangeElementArrayAPPLE(@GLenum int mode, @GLuint int start, @GLuint int end,
|
||||
@Const IntBuffer first,
|
||||
@Const @Check("first.remaining()") @GLsizei IntBuffer count,
|
||||
@AutoSize("first") @GLsizei int primcount);
|
||||
|
||||
}
|
|
@ -0,0 +1,67 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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.*;
|
||||
|
||||
import java.nio.IntBuffer;
|
||||
|
||||
public interface APPLE_fence {
|
||||
|
||||
/** Accepted by the <object> parameter of TestObjectAPPLE and FinishObjectAPPLE: */
|
||||
int GL_DRAW_PIXELS_APPLE = 0x8A0A;
|
||||
int GL_FENCE_APPLE = 0x8A0B;
|
||||
|
||||
void glGenFencesAPPLE(@AutoSize("fences") @GLsizei int n, @OutParameter @GLuint IntBuffer fences);
|
||||
|
||||
@Alternate("glGenFencesAPPLE")
|
||||
@GLreturn("fences")
|
||||
void glGenFencesAPPLE2(@Constant("1") @GLsizei int n, @OutParameter @GLuint IntBuffer fences);
|
||||
|
||||
void glDeleteFencesAPPLE(@AutoSize("fences") @GLsizei int n, @Const @GLuint IntBuffer fences);
|
||||
|
||||
@Alternate("glDeleteFencesAPPLE")
|
||||
void glDeleteFencesAPPLE(@Constant("1") @GLsizei int n, @Const @GLuint @Constant(value = "APIUtils.getBufferInt().put(0, fence), 0", keepParam = true) int fence);
|
||||
|
||||
void glSetFenceAPPLE(@GLuint int fence);
|
||||
|
||||
boolean glIsFenceAPPLE(@GLuint int fence);
|
||||
|
||||
boolean glTestFenceAPPLE(@GLuint int fence);
|
||||
|
||||
void glFinishFenceAPPLE(@GLuint int fence);
|
||||
|
||||
boolean glTestObjectAPPLE(@GLenum int object, @GLuint int name);
|
||||
|
||||
void glFinishObjectAPPLE(@GLenum int object, int name);
|
||||
|
||||
}
|
|
@ -0,0 +1,63 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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;
|
||||
|
||||
public interface APPLE_float_pixels {
|
||||
|
||||
/**
|
||||
* Accepted by the parameters of DrawPixels, ReadPixels, TexImage1D,
|
||||
* TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and
|
||||
* GetTexImage:
|
||||
*/
|
||||
int GL_HALF_APPLE = 0x140B;
|
||||
|
||||
/** Accepted by the GetBooleanv: */
|
||||
int GL_COLOR_FLOAT_APPLE = 0x8A0F;
|
||||
|
||||
/**
|
||||
* Accepted by the parameter of TexImage1D,
|
||||
* TexImage2D, and TexImage3D:
|
||||
*/
|
||||
int GL_RGBA_FLOAT32_APPLE = 0x8814;
|
||||
int GL_RGB_FLOAT32_APPLE = 0x8815;
|
||||
int GL_ALPHA_FLOAT32_APPLE = 0x8816;
|
||||
int GL_INTENSITY_FLOAT32_APPLE = 0x8817;
|
||||
int GL_LUMINANCE_FLOAT32_APPLE = 0x8818;
|
||||
int GL_LUMINANCE_ALPHA_FLOAT32_APPLE = 0x8819;
|
||||
int GL_RGBA_FLOAT16_APPLE = 0x881A;
|
||||
int GL_RGB_FLOAT16_APPLE = 0x881B;
|
||||
int GL_ALPHA_FLOAT16_APPLE = 0x881C;
|
||||
int GL_INTENSITY_FLOAT16_APPLE = 0x881D;
|
||||
int GL_LUMINANCE_FLOAT16_APPLE = 0x881E;
|
||||
int GL_LUMINANCE_ALPHA_FLOAT16_APPLE = 0x881F;
|
||||
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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.GLenum;
|
||||
import org.lwjgl.util.generator.GLintptr;
|
||||
import org.lwjgl.util.generator.GLsizeiptr;
|
||||
|
||||
public interface APPLE_flush_buffer_range {
|
||||
|
||||
/**
|
||||
* Accepted by the <pname> parameter of BufferParameteriAPPLE and
|
||||
* GetBufferParameteriv:
|
||||
*/
|
||||
int GL_BUFFER_SERIALIZED_MODIFY_APPLE = 0x8A12;
|
||||
int GL_BUFFER_FLUSHING_UNMAP_APPLE = 0x8A13;
|
||||
|
||||
void glBufferParameteriAPPLE(@GLenum int target, @GLenum int pname, int param);
|
||||
|
||||
void glFlushMappedBufferRangeAPPLE(@GLenum int target, @GLintptr long offset, @GLsizeiptr long size);
|
||||
|
||||
}
|
|
@ -0,0 +1,77 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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.*;
|
||||
|
||||
import java.nio.IntBuffer;
|
||||
|
||||
public interface APPLE_object_purgeable {
|
||||
|
||||
/**
|
||||
* Accepted by the <option> parameter of ObjectPurgeable, and returned
|
||||
* by ObjectPurgeable:
|
||||
*/
|
||||
int GL_RELEASED_APPLE = 0x8A19;
|
||||
int GL_VOLATILE_APPLE = 0x8A1A;
|
||||
|
||||
/**
|
||||
* Accepted by the <option> parameters of ObjectUnpurgeable, and
|
||||
* returned by ObjectUnpurgeable:
|
||||
*/
|
||||
int GL_RETAINED_APPLE = 0x8A1B;
|
||||
int GL_UNDEFINED_APPLE = 0x8A1C;
|
||||
|
||||
/** Accepted by the <pname> parameters of GetObjectParameteriv: */
|
||||
int GL_PURGEABLE_APPLE = 0x8A1D;
|
||||
|
||||
/**
|
||||
* Accepted by the <objectType> parameters of ObjectPurgeableAPPLE,
|
||||
* ObjectUnpurgeableAPPLE and GetObjectParameteriv:
|
||||
*/
|
||||
int GL_BUFFER_OBJECT_APPLE = 0x85B3;
|
||||
|
||||
@GLenum
|
||||
int glObjectPurgeableAPPLE(@GLenum int objectType, @GLuint int name, @GLenum int option);
|
||||
|
||||
@GLenum
|
||||
int glObjectUnpurgeableAPPLE(@GLenum int objectType, @GLuint int name, @GLenum int option);
|
||||
|
||||
@StripPostfix("params")
|
||||
void glGetObjectParameterivAPPLE(@GLenum int objectType, @GLuint int name, @GLenum int pname, @OutParameter @Check("1") IntBuffer params);
|
||||
|
||||
@Alternate("glGetObjectParameterivAPPLE")
|
||||
@GLreturn("params")
|
||||
@StripPostfix("params")
|
||||
void glGetObjectParameterivAPPLE2(@GLenum int objectType, @GLuint int name, @GLenum int pname, @OutParameter IntBuffer params);
|
||||
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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;
|
||||
|
||||
public interface APPLE_packed_pixels {
|
||||
|
||||
/**
|
||||
* Accepted by the <type> parameter of DrawPixels, ReadPixels, TexImage1D,
|
||||
* TexImage2D, GetTexImage, TexImage3D, TexSubImage1D,
|
||||
* TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax,
|
||||
* ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D,
|
||||
* GetConvolutionFilter, SeparableFilter2D, SeparableFilter3D,
|
||||
* GetSeparableFilter, ColorTable, GetColorTable, TexImage4DSGIS,
|
||||
* and TexSubImage4DSGIS:
|
||||
*/
|
||||
int GL_UNSIGNED_BYTE_3_3_2 = 0x8032;
|
||||
int GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362;
|
||||
int GL_UNSIGNED_SHORT_5_6_5 = 0x8363;
|
||||
int GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364;
|
||||
int GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033;
|
||||
int GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365;
|
||||
int GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034;
|
||||
int GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366;
|
||||
int GL_UNSIGNED_INT_8_8_8_8 = 0x8035;
|
||||
int GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367;
|
||||
int GL_UNSIGNED_INT_10_10_10_2 = 0x8036;
|
||||
int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368;
|
||||
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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;
|
||||
|
||||
public interface APPLE_rgb_422 {
|
||||
|
||||
/**
|
||||
* Accepted by the <format> parameter of DrawPixels, ReadPixels, TexImage1D,
|
||||
* TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D,
|
||||
* TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D,
|
||||
* ConvolutionFilter2D, GetConvolutionFilter, SeparableFilter2D,
|
||||
* GetSeparableFilter, ColorTable, GetColorTable:
|
||||
*/
|
||||
int GL_RGB_422_APPLE = 0x8A1F;
|
||||
|
||||
/**
|
||||
* Accepted by the <type> parameter of DrawPixels, ReadPixels, TexImage1D,
|
||||
* TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D,
|
||||
* TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D,
|
||||
* ConvolutionFilter2D, GetConvolutionFilter, SeparableFilter2D,
|
||||
* GetSeparableFilter, ColorTable, GetColorTable:
|
||||
*/
|
||||
int GL_UNSIGNED_SHORT_8_8_APPLE = 0x85BA;
|
||||
int GL_UNSIGNED_SHORT_8_8_REV_APPLE = 0x85BB;
|
||||
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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;
|
||||
|
||||
public interface APPLE_row_bytes {
|
||||
|
||||
/**
|
||||
* Accepted by the <pname> parameter of PixelStorei and the <pname>
|
||||
* parameter of GetIntegerv:
|
||||
*/
|
||||
int GL_PACK_ROW_BYTES_APPLE = 0x8A15;
|
||||
int GL_UNPACK_ROW_BYTES_APPLE = 0x8A16;
|
||||
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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.*;
|
||||
|
||||
import java.nio.Buffer;
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
public interface APPLE_texture_range {
|
||||
|
||||
/**
|
||||
* Accepted by the <pname> parameters of TexParameteri, TexParameterf,
|
||||
* TexParameteriv, TexParameterfv, GetTexParameteriv, and
|
||||
* GetTexParameterfv:
|
||||
*/
|
||||
int GL_TEXTURE_STORAGE_HINT_APPLE = 0x85BC;
|
||||
|
||||
/**
|
||||
* Accepted by the <param> parameters of TexParameteri, TexParameterf,
|
||||
* TexParameteriv, and TexParameterfv:
|
||||
*/
|
||||
int GL_STORAGE_PRIVATE_APPLE = 0x85BD;
|
||||
int GL_STORAGE_CACHED_APPLE = 0x85BE;
|
||||
int GL_STORAGE_SHARED_APPLE = 0x85BF;
|
||||
|
||||
/**
|
||||
* Accepted by the <pname> parameters of GetTexParameteriv and
|
||||
* GetTexParameterfv:
|
||||
*/
|
||||
int GL_TEXTURE_RANGE_LENGTH_APPLE = 0x85B7;
|
||||
|
||||
/** Accepted by the <pname> parameters of GetTexParameterPointerv: */
|
||||
int GL_TEXTURE_RANGE_POINTER_APPLE = 0x85B8;
|
||||
|
||||
void glTextureRangeAPPLE(@GLenum int target, @AutoSize("pointer") @GLsizei int length, @GLvoid ByteBuffer pointer);
|
||||
|
||||
void glGetTexParameterPointervAPPLE(@GLenum int target, @GLenum int pname, @Result @GLvoid Buffer params);
|
||||
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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.*;
|
||||
|
||||
import java.nio.IntBuffer;
|
||||
|
||||
public interface APPLE_vertex_array_object {
|
||||
|
||||
/**
|
||||
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
|
||||
* and GetDoublev:
|
||||
*/
|
||||
int GL_VERTEX_ARRAY_BINDING_APPLE = 0x85B5;
|
||||
|
||||
void glBindVertexArrayAPPLE(@GLuint int array);
|
||||
|
||||
void glDeleteVertexArraysAPPLE(@AutoSize("arrays") @GLsizei int n, @Const @GLuint IntBuffer arrays);
|
||||
|
||||
@Alternate("glDeleteVertexArraysAPPLE")
|
||||
void glDeleteVertexArraysAPPLE(@Constant("1") @GLsizei int n, @Const @GLuint @Constant(value = "APIUtils.getBufferInt().put(0, array), 0", keepParam = true) int array);
|
||||
|
||||
void glGenVertexArraysAPPLE(@AutoSize("arrays") @GLsizei int n, @OutParameter @GLuint IntBuffer arrays);
|
||||
|
||||
@Alternate("glGenVertexArraysAPPLE")
|
||||
@GLreturn("arrays")
|
||||
void glGenVertexArraysAPPLE2(@Constant("1") @GLsizei int n, @OutParameter @GLuint IntBuffer arrays);
|
||||
|
||||
boolean glIsVertexArrayAPPLE(@GLuint int array);
|
||||
|
||||
}
|
|
@ -0,0 +1,83 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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.AutoSize;
|
||||
import org.lwjgl.util.generator.GLenum;
|
||||
import org.lwjgl.util.generator.GLsizei;
|
||||
import org.lwjgl.util.generator.GLvoid;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
public interface APPLE_vertex_array_range {
|
||||
|
||||
/**
|
||||
* Accepted by the <cap> parameter of EnableClientState, DisableClientState,
|
||||
* and IsEnabled:
|
||||
*/
|
||||
int GL_VERTEX_ARRAY_RANGE_APPLE = 0x851D;
|
||||
|
||||
/**
|
||||
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
|
||||
* and GetDoublev:
|
||||
*/
|
||||
|
||||
int GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE = 0x851E;
|
||||
int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE = 0x8520;
|
||||
|
||||
/** Accepted by the <pname> parameter of GetPointerv: */
|
||||
|
||||
int GL_VERTEX_ARRAY_RANGE_POINTER_APPLE = 0x8521;
|
||||
|
||||
/**
|
||||
* Accepted by the <pname> parameter of VertexArrayParameteriAPPLE,
|
||||
* GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
|
||||
*/
|
||||
|
||||
int GL_VERTEX_ARRAY_STORAGE_HINT_APPLE = 0x851F;
|
||||
|
||||
/** Accepted by the <param> parameter of VertexArrayParameteriAPPLE: */
|
||||
|
||||
int GL_STORAGE_CACHED_APPLE = 0x85BE;
|
||||
int GL_STORAGE_SHARED_APPLE = 0x85BF;
|
||||
|
||||
/** Accepted by the <object> parameter of TestObjectAPPLE and FinishObjectAPPLE: */
|
||||
int GL_DRAW_PIXELS_APPLE = 0x8A0A;
|
||||
int GL_FENCE_APPLE = 0x8A0B;
|
||||
|
||||
void glVertexArrayRangeAPPLE(@AutoSize("pointer") @GLsizei int length, @GLvoid ByteBuffer pointer);
|
||||
|
||||
void glFlushVertexArrayRangeAPPLE(@AutoSize("pointer") @GLsizei int length, @GLvoid ByteBuffer pointer);
|
||||
|
||||
void glVertexArrayParameteriAPPLE(@GLenum int pname, int param);
|
||||
|
||||
}
|
|
@ -0,0 +1,84 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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.Check;
|
||||
import org.lwjgl.util.generator.Const;
|
||||
import org.lwjgl.util.generator.GLenum;
|
||||
import org.lwjgl.util.generator.GLuint;
|
||||
|
||||
import java.nio.DoubleBuffer;
|
||||
import java.nio.FloatBuffer;
|
||||
|
||||
public interface APPLE_vertex_program_evaluators {
|
||||
|
||||
/**
|
||||
* Accepted by the <pname> parameter of EnableVertexAttribAPPLE,
|
||||
* DisableVertexAttribAPPLE, and IsVertexAttribEnabledAPPLE.
|
||||
*/
|
||||
int GL_VERTEX_ATTRIB_MAP1_APPLE = 0x8A00;
|
||||
int GL_VERTEX_ATTRIB_MAP2_APPLE = 0x8A01;
|
||||
|
||||
/**
|
||||
* Accepted by the <pname> parameter of GetVertexAttribdvARB,
|
||||
* GetVertexAttribfvARB, and GetVertexAttribivARB.
|
||||
*/
|
||||
int GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE = 0x8A02;
|
||||
int GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE = 0x8A03;
|
||||
int GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE = 0x8A04;
|
||||
int GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE = 0x8A05;
|
||||
int GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE = 0x8A06;
|
||||
int GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE = 0x8A07;
|
||||
int GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE = 0x8A08;
|
||||
int GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE = 0x8A09;
|
||||
|
||||
void glEnableVertexAttribAPPLE(@GLuint int index, @GLenum int pname);
|
||||
|
||||
void glDisableVertexAttribAPPLE(@GLuint int index, @GLenum int pname);
|
||||
|
||||
boolean glIsVertexAttribEnabledAPPLE(@GLuint int index, @GLenum int pname);
|
||||
|
||||
void glMapVertexAttrib1dAPPLE(@GLuint int index, @GLuint int size, double u1, double u2,
|
||||
int stride, int order, @Check @Const DoubleBuffer points);
|
||||
|
||||
void glMapVertexAttrib1fAPPLE(@GLuint int index, @GLuint int size, float u1, float u2,
|
||||
int stride, int order, @Check @Const FloatBuffer points);
|
||||
|
||||
void glMapVertexAttrib2dAPPLE(@GLuint int index, @GLuint int size, double u1, double u2,
|
||||
int ustride, int uorder, double v1, double v2, int vstride, int vorder,
|
||||
@Check @Const DoubleBuffer points);
|
||||
|
||||
void glMapVertexAttrib2fAPPLE(@GLuint int index, @GLuint int size, float u1, float u2,
|
||||
int ustride, int uorder, float v1, float v2, int vstride, int vorder,
|
||||
@Check @Const FloatBuffer points);
|
||||
|
||||
}
|
|
@ -0,0 +1,57 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2008 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;
|
||||
|
||||
public interface APPLE_ycbcr_422 {
|
||||
|
||||
/**
|
||||
* Accepted by the <format> parameter of DrawPixels, ReadPixels, TexImage1D,
|
||||
* TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D,
|
||||
* TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D,
|
||||
* ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter,
|
||||
* SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable,
|
||||
* GetColorTable:
|
||||
*/
|
||||
int GL_YCBCR_422_APPLE = 0x85B9;
|
||||
|
||||
/**
|
||||
* Accepted by the <type> parameter of DrawPixels, ReadPixels, TexImage1D,
|
||||
* TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D,
|
||||
* TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D,
|
||||
* ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter,
|
||||
* SeparableFilter2D, SeparableFilter3D, GetSeparableFilter, ColorTable,
|
||||
* GetColorTable:
|
||||
*/
|
||||
int GL_UNSIGNED_SHORT_8_8_APPLE = 0x85BA;
|
||||
int GL_UNSIGNED_SHORT_8_8_REV_APPLE = 0x85BB;
|
||||
|
||||
}
|
|
@ -41,8 +41,6 @@ public interface ATI_element_array {
|
|||
int GL_ELEMENT_ARRAY_POINTER_ATI = 0x876A;
|
||||
|
||||
void glElementPointerATI(@AutoType("pPointer") @GLenum int type,
|
||||
@CachedReference
|
||||
@BufferObject(BufferKind.ArrayVBO)
|
||||
@Check
|
||||
@Const
|
||||
@GLubyte
|
||||
|
|
|
@ -275,6 +275,12 @@ public interface GL31 {
|
|||
void glGetActiveUniformBlockiv(@GLuint int program, @GLuint int uniformBlockIndex, @GLenum int pname,
|
||||
@OutParameter @Check(value = "16") @GLint IntBuffer params);
|
||||
|
||||
@Alternate("glGetActiveUniformBlockiv")
|
||||
@GLreturn("params")
|
||||
@StripPostfix("params")
|
||||
void glGetActiveUniformBlockiv2(@GLuint int program, @GLuint int uniformBlockIndex, @GLenum int pname,
|
||||
@OutParameter @GLint IntBuffer params);
|
||||
|
||||
void glGetActiveUniformBlockName(@GLuint int program, @GLuint int uniformBlockIndex, @AutoSize("uniformBlockName") @GLsizei int bufSize,
|
||||
@OutParameter @GLsizei @Check(value = "1", canBeNull = true) IntBuffer length,
|
||||
@OutParameter @GLchar ByteBuffer uniformBlockName);
|
||||
|
|
Loading…
Reference in New Issue