CampBuddy/Camp.Buddy v2.2.1/Camp_Buddy-2.2.1-pc/renpy/gl2/uguugl.pxd
2025-03-03 23:00:33 +01:00

733 lines
27 KiB
Cython

from libc.stdint cimport int64_t, uint64_t
from libc.stddef cimport ptrdiff_t
cdef extern from "renpygl.h":
ctypedef unsigned int GLenum
ctypedef unsigned char GLboolean
ctypedef unsigned int GLbitfield
ctypedef void GLvoid
ctypedef signed char GLbyte
ctypedef short GLshort
ctypedef int GLint
ctypedef int GLclampx
ctypedef unsigned char GLubyte
ctypedef unsigned short GLushort
ctypedef unsigned int GLuint
ctypedef int GLsizei
ctypedef float GLfloat
ctypedef float GLclampf
ctypedef double GLdouble
ctypedef double GLclampd
ctypedef void *GLeglClientBufferEXT
ctypedef void *GLeglImageOES
ctypedef char GLchar
ctypedef char GLcharARB
ctypedef unsigned short GLhalfARB
ctypedef unsigned short GLhalf
ctypedef GLint GLfixed
ctypedef ptrdiff_t GLintptr
ctypedef ptrdiff_t GLsizeiptr
ctypedef int64_t GLint64
ctypedef uint64_t GLuint64
ctypedef ptrdiff_t GLintptrARB
ctypedef ptrdiff_t GLsizeiptrARB
ctypedef int64_t GLint64EXT
ctypedef uint64_t GLuint64EXT
GLenum GL_FALSE
GLenum GL_NONE
GLenum GL_NO_ERROR
GLenum GL_POINTS
GLenum GL_ZERO
GLenum GL_LINES
GLenum GL_ONE
GLenum GL_TRUE
GLenum GL_LINE_LOOP
GLenum GL_LINE_STRIP
GLenum GL_TRIANGLES
GLenum GL_TRIANGLE_STRIP
GLenum GL_TRIANGLE_FAN
GLenum GL_DEPTH_BUFFER_BIT
GLenum GL_NEVER
GLenum GL_LESS
GLenum GL_EQUAL
GLenum GL_LEQUAL
GLenum GL_GREATER
GLenum GL_NOTEQUAL
GLenum GL_GEQUAL
GLenum GL_ALWAYS
GLenum GL_SRC_COLOR
GLenum GL_ONE_MINUS_SRC_COLOR
GLenum GL_SRC_ALPHA
GLenum GL_ONE_MINUS_SRC_ALPHA
GLenum GL_DST_ALPHA
GLenum GL_ONE_MINUS_DST_ALPHA
GLenum GL_DST_COLOR
GLenum GL_ONE_MINUS_DST_COLOR
GLenum GL_SRC_ALPHA_SATURATE
GLenum GL_STENCIL_BUFFER_BIT
GLenum GL_FRONT
GLenum GL_BACK
GLenum GL_FRONT_AND_BACK
GLenum GL_INVALID_ENUM
GLenum GL_INVALID_VALUE
GLenum GL_INVALID_OPERATION
GLenum GL_OUT_OF_MEMORY
GLenum GL_INVALID_FRAMEBUFFER_OPERATION
GLenum GL_CW
GLenum GL_CCW
GLenum GL_LINE_WIDTH
GLenum GL_CULL_FACE
GLenum GL_CULL_FACE_MODE
GLenum GL_FRONT_FACE
GLenum GL_DEPTH_RANGE
GLenum GL_DEPTH_TEST
GLenum GL_DEPTH_WRITEMASK
GLenum GL_DEPTH_CLEAR_VALUE
GLenum GL_DEPTH_FUNC
GLenum GL_STENCIL_TEST
GLenum GL_STENCIL_CLEAR_VALUE
GLenum GL_STENCIL_FUNC
GLenum GL_STENCIL_VALUE_MASK
GLenum GL_STENCIL_FAIL
GLenum GL_STENCIL_PASS_DEPTH_FAIL
GLenum GL_STENCIL_PASS_DEPTH_PASS
GLenum GL_STENCIL_REF
GLenum GL_STENCIL_WRITEMASK
GLenum GL_VIEWPORT
GLenum GL_DITHER
GLenum GL_BLEND
GLenum GL_SCISSOR_BOX
GLenum GL_SCISSOR_TEST
GLenum GL_COLOR_CLEAR_VALUE
GLenum GL_COLOR_WRITEMASK
GLenum GL_UNPACK_ALIGNMENT
GLenum GL_PACK_ALIGNMENT
GLenum GL_MAX_TEXTURE_SIZE
GLenum GL_MAX_VIEWPORT_DIMS
GLenum GL_SUBPIXEL_BITS
GLenum GL_RED_BITS
GLenum GL_GREEN_BITS
GLenum GL_BLUE_BITS
GLenum GL_ALPHA_BITS
GLenum GL_DEPTH_BITS
GLenum GL_STENCIL_BITS
GLenum GL_TEXTURE_2D
GLenum GL_DONT_CARE
GLenum GL_FASTEST
GLenum GL_NICEST
GLenum GL_BYTE
GLenum GL_UNSIGNED_BYTE
GLenum GL_SHORT
GLenum GL_UNSIGNED_SHORT
GLenum GL_INT
GLenum GL_UNSIGNED_INT
GLenum GL_FLOAT
GLenum GL_INVERT
GLenum GL_TEXTURE
GLenum GL_DEPTH_COMPONENT
GLenum GL_ALPHA
GLenum GL_RGB
GLenum GL_RGBA
GLenum GL_LUMINANCE
GLenum GL_LUMINANCE_ALPHA
GLenum GL_KEEP
GLenum GL_REPLACE
GLenum GL_INCR
GLenum GL_DECR
GLenum GL_VENDOR
GLenum GL_RENDERER
GLenum GL_VERSION
GLenum GL_EXTENSIONS
GLenum GL_NEAREST
GLenum GL_LINEAR
GLenum GL_NEAREST_MIPMAP_NEAREST
GLenum GL_LINEAR_MIPMAP_NEAREST
GLenum GL_NEAREST_MIPMAP_LINEAR
GLenum GL_LINEAR_MIPMAP_LINEAR
GLenum GL_TEXTURE_MAG_FILTER
GLenum GL_TEXTURE_MIN_FILTER
GLenum GL_TEXTURE_WRAP_S
GLenum GL_TEXTURE_WRAP_T
GLenum GL_REPEAT
GLenum GL_POLYGON_OFFSET_UNITS
GLenum GL_COLOR_BUFFER_BIT
GLenum GL_CONSTANT_COLOR
GLenum GL_ONE_MINUS_CONSTANT_COLOR
GLenum GL_CONSTANT_ALPHA
GLenum GL_ONE_MINUS_CONSTANT_ALPHA
GLenum GL_BLEND_COLOR
GLenum GL_FUNC_ADD
GLenum GL_BLEND_EQUATION
GLenum GL_BLEND_EQUATION_RGB
GLenum GL_FUNC_SUBTRACT
GLenum GL_FUNC_REVERSE_SUBTRACT
GLenum GL_UNSIGNED_SHORT_4_4_4_4
GLenum GL_UNSIGNED_SHORT_5_5_5_1
GLenum GL_POLYGON_OFFSET_FILL
GLenum GL_POLYGON_OFFSET_FACTOR
GLenum GL_RGBA4
GLenum GL_RGB5_A1
GLenum GL_TEXTURE_BINDING_2D
GLenum GL_SAMPLE_ALPHA_TO_COVERAGE
GLenum GL_SAMPLE_COVERAGE
GLenum GL_SAMPLE_BUFFERS
GLenum GL_SAMPLES
GLenum GL_SAMPLE_COVERAGE_VALUE
GLenum GL_SAMPLE_COVERAGE_INVERT
GLenum GL_BLEND_DST_RGB
GLenum GL_BLEND_SRC_RGB
GLenum GL_BLEND_DST_ALPHA
GLenum GL_BLEND_SRC_ALPHA
GLenum GL_CLAMP_TO_EDGE
GLenum GL_GENERATE_MIPMAP_HINT
GLenum GL_DEPTH_COMPONENT16
GLenum GL_UNSIGNED_SHORT_5_6_5
GLenum GL_MIRRORED_REPEAT
GLenum GL_ALIASED_POINT_SIZE_RANGE
GLenum GL_ALIASED_LINE_WIDTH_RANGE
GLenum GL_TEXTURE0
GLenum GL_TEXTURE1
GLenum GL_TEXTURE2
GLenum GL_TEXTURE3
GLenum GL_TEXTURE4
GLenum GL_TEXTURE5
GLenum GL_TEXTURE6
GLenum GL_TEXTURE7
GLenum GL_TEXTURE8
GLenum GL_TEXTURE9
GLenum GL_TEXTURE10
GLenum GL_TEXTURE11
GLenum GL_TEXTURE12
GLenum GL_TEXTURE13
GLenum GL_TEXTURE14
GLenum GL_TEXTURE15
GLenum GL_TEXTURE16
GLenum GL_TEXTURE17
GLenum GL_TEXTURE18
GLenum GL_TEXTURE19
GLenum GL_TEXTURE20
GLenum GL_TEXTURE21
GLenum GL_TEXTURE22
GLenum GL_TEXTURE23
GLenum GL_TEXTURE24
GLenum GL_TEXTURE25
GLenum GL_TEXTURE26
GLenum GL_TEXTURE27
GLenum GL_TEXTURE28
GLenum GL_TEXTURE29
GLenum GL_TEXTURE30
GLenum GL_TEXTURE31
GLenum GL_ACTIVE_TEXTURE
GLenum GL_MAX_RENDERBUFFER_SIZE
GLenum GL_INCR_WRAP
GLenum GL_DECR_WRAP
GLenum GL_TEXTURE_CUBE_MAP
GLenum GL_TEXTURE_BINDING_CUBE_MAP
GLenum GL_TEXTURE_CUBE_MAP_POSITIVE_X
GLenum GL_TEXTURE_CUBE_MAP_NEGATIVE_X
GLenum GL_TEXTURE_CUBE_MAP_POSITIVE_Y
GLenum GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
GLenum GL_TEXTURE_CUBE_MAP_POSITIVE_Z
GLenum GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
GLenum GL_MAX_CUBE_MAP_TEXTURE_SIZE
GLenum GL_VERTEX_ATTRIB_ARRAY_ENABLED
GLenum GL_VERTEX_ATTRIB_ARRAY_SIZE
GLenum GL_VERTEX_ATTRIB_ARRAY_STRIDE
GLenum GL_VERTEX_ATTRIB_ARRAY_TYPE
GLenum GL_CURRENT_VERTEX_ATTRIB
GLenum GL_VERTEX_ATTRIB_ARRAY_POINTER
GLenum GL_NUM_COMPRESSED_TEXTURE_FORMATS
GLenum GL_COMPRESSED_TEXTURE_FORMATS
GLenum GL_BUFFER_SIZE
GLenum GL_BUFFER_USAGE
GLenum GL_STENCIL_BACK_FUNC
GLenum GL_STENCIL_BACK_FAIL
GLenum GL_STENCIL_BACK_PASS_DEPTH_FAIL
GLenum GL_STENCIL_BACK_PASS_DEPTH_PASS
GLenum GL_BLEND_EQUATION_ALPHA
GLenum GL_MAX_VERTEX_ATTRIBS
GLenum GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
GLenum GL_MAX_TEXTURE_IMAGE_UNITS
GLenum GL_ARRAY_BUFFER
GLenum GL_ELEMENT_ARRAY_BUFFER
GLenum GL_ARRAY_BUFFER_BINDING
GLenum GL_ELEMENT_ARRAY_BUFFER_BINDING
GLenum GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
GLenum GL_STREAM_DRAW
GLenum GL_STATIC_DRAW
GLenum GL_DYNAMIC_DRAW
GLenum GL_FRAGMENT_SHADER
GLenum GL_VERTEX_SHADER
GLenum GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
GLenum GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
GLenum GL_SHADER_TYPE
GLenum GL_FLOAT_VEC2
GLenum GL_FLOAT_VEC3
GLenum GL_FLOAT_VEC4
GLenum GL_INT_VEC2
GLenum GL_INT_VEC3
GLenum GL_INT_VEC4
GLenum GL_BOOL
GLenum GL_BOOL_VEC2
GLenum GL_BOOL_VEC3
GLenum GL_BOOL_VEC4
GLenum GL_FLOAT_MAT2
GLenum GL_FLOAT_MAT3
GLenum GL_FLOAT_MAT4
GLenum GL_SAMPLER_2D
GLenum GL_SAMPLER_CUBE
GLenum GL_DELETE_STATUS
GLenum GL_COMPILE_STATUS
GLenum GL_LINK_STATUS
GLenum GL_VALIDATE_STATUS
GLenum GL_INFO_LOG_LENGTH
GLenum GL_ATTACHED_SHADERS
GLenum GL_ACTIVE_UNIFORMS
GLenum GL_ACTIVE_UNIFORM_MAX_LENGTH
GLenum GL_SHADER_SOURCE_LENGTH
GLenum GL_ACTIVE_ATTRIBUTES
GLenum GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
GLenum GL_SHADING_LANGUAGE_VERSION
GLenum GL_CURRENT_PROGRAM
GLenum GL_STENCIL_BACK_REF
GLenum GL_STENCIL_BACK_VALUE_MASK
GLenum GL_STENCIL_BACK_WRITEMASK
GLenum GL_FRAMEBUFFER_BINDING
GLenum GL_RENDERBUFFER_BINDING
GLenum GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
GLenum GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
GLenum GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
GLenum GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
GLenum GL_FRAMEBUFFER_COMPLETE
GLenum GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
GLenum GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
GLenum GL_FRAMEBUFFER_UNSUPPORTED
GLenum GL_COLOR_ATTACHMENT0
GLenum GL_DEPTH_ATTACHMENT
GLenum GL_STENCIL_ATTACHMENT
GLenum GL_FRAMEBUFFER
GLenum GL_RENDERBUFFER
GLenum GL_RENDERBUFFER_WIDTH
GLenum GL_RENDERBUFFER_HEIGHT
GLenum GL_RENDERBUFFER_INTERNAL_FORMAT
GLenum GL_STENCIL_INDEX8
GLenum GL_RENDERBUFFER_RED_SIZE
GLenum GL_RENDERBUFFER_GREEN_SIZE
GLenum GL_RENDERBUFFER_BLUE_SIZE
GLenum GL_RENDERBUFFER_ALPHA_SIZE
GLenum GL_RENDERBUFFER_DEPTH_SIZE
GLenum GL_RENDERBUFFER_STENCIL_SIZE
ctypedef void (*glActiveTexture_type)(GLenum texture) nogil
cdef glActiveTexture_type glActiveTexture
ctypedef void (*glAttachShader_type)(GLuint program, GLuint shader) nogil
cdef glAttachShader_type glAttachShader
ctypedef void (*glBindAttribLocation_type)(GLuint program, GLuint index, const GLchar * name) nogil
cdef glBindAttribLocation_type glBindAttribLocation
ctypedef void (*glBindBuffer_type)(GLenum target, GLuint buffer) nogil
cdef glBindBuffer_type glBindBuffer
ctypedef void (*glBindFramebuffer_type)(GLenum target, GLuint framebuffer) nogil
cdef glBindFramebuffer_type glBindFramebuffer
ctypedef void (*glBindRenderbuffer_type)(GLenum target, GLuint renderbuffer) nogil
cdef glBindRenderbuffer_type glBindRenderbuffer
ctypedef void (*glBindTexture_type)(GLenum target, GLuint texture) nogil
cdef glBindTexture_type glBindTexture
ctypedef void (*glBlendColor_type)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) nogil
cdef glBlendColor_type glBlendColor
ctypedef void (*glBlendEquation_type)(GLenum mode) nogil
cdef glBlendEquation_type glBlendEquation
ctypedef void (*glBlendEquationSeparate_type)(GLenum modeRGB, GLenum modeAlpha) nogil
cdef glBlendEquationSeparate_type glBlendEquationSeparate
ctypedef void (*glBlendFunc_type)(GLenum sfactor, GLenum dfactor) nogil
cdef glBlendFunc_type glBlendFunc
ctypedef void (*glBlendFuncSeparate_type)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) nogil
cdef glBlendFuncSeparate_type glBlendFuncSeparate
ctypedef void (*glBufferData_type)(GLenum target, GLsizeiptr size, const void * data, GLenum usage) nogil
cdef glBufferData_type glBufferData
ctypedef void (*glBufferSubData_type)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data) nogil
cdef glBufferSubData_type glBufferSubData
ctypedef GLenum (*glCheckFramebufferStatus_type)(GLenum target) nogil
cdef glCheckFramebufferStatus_type glCheckFramebufferStatus
ctypedef void (*glClear_type)(GLbitfield mask) nogil
cdef glClear_type glClear
ctypedef void (*glClearColor_type)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) nogil
cdef glClearColor_type glClearColor
ctypedef void (*glClearStencil_type)(GLint s) nogil
cdef glClearStencil_type glClearStencil
ctypedef void (*glColorMask_type)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) nogil
cdef glColorMask_type glColorMask
ctypedef void (*glCompileShader_type)(GLuint shader) nogil
cdef glCompileShader_type glCompileShader
ctypedef void (*glCompressedTexImage2D_type)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) nogil
cdef glCompressedTexImage2D_type glCompressedTexImage2D
ctypedef void (*glCompressedTexSubImage2D_type)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) nogil
cdef glCompressedTexSubImage2D_type glCompressedTexSubImage2D
ctypedef void (*glCopyTexImage2D_type)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) nogil
cdef glCopyTexImage2D_type glCopyTexImage2D
ctypedef void (*glCopyTexSubImage2D_type)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) nogil
cdef glCopyTexSubImage2D_type glCopyTexSubImage2D
ctypedef GLuint (*glCreateProgram_type)() nogil
cdef glCreateProgram_type glCreateProgram
ctypedef GLuint (*glCreateShader_type)(GLenum type) nogil
cdef glCreateShader_type glCreateShader
ctypedef void (*glCullFace_type)(GLenum mode) nogil
cdef glCullFace_type glCullFace
ctypedef void (*glDeleteBuffers_type)(GLsizei n, const GLuint * buffers) nogil
cdef glDeleteBuffers_type glDeleteBuffers
ctypedef void (*glDeleteFramebuffers_type)(GLsizei n, const GLuint * framebuffers) nogil
cdef glDeleteFramebuffers_type glDeleteFramebuffers
ctypedef void (*glDeleteProgram_type)(GLuint program) nogil
cdef glDeleteProgram_type glDeleteProgram
ctypedef void (*glDeleteRenderbuffers_type)(GLsizei n, const GLuint * renderbuffers) nogil
cdef glDeleteRenderbuffers_type glDeleteRenderbuffers
ctypedef void (*glDeleteShader_type)(GLuint shader) nogil
cdef glDeleteShader_type glDeleteShader
ctypedef void (*glDeleteTextures_type)(GLsizei n, const GLuint * textures) nogil
cdef glDeleteTextures_type glDeleteTextures
ctypedef void (*glDepthFunc_type)(GLenum func) nogil
cdef glDepthFunc_type glDepthFunc
ctypedef void (*glDepthMask_type)(GLboolean flag) nogil
cdef glDepthMask_type glDepthMask
ctypedef void (*glDetachShader_type)(GLuint program, GLuint shader) nogil
cdef glDetachShader_type glDetachShader
ctypedef void (*glDisable_type)(GLenum cap) nogil
cdef glDisable_type glDisable
ctypedef void (*glDisableVertexAttribArray_type)(GLuint index) nogil
cdef glDisableVertexAttribArray_type glDisableVertexAttribArray
ctypedef void (*glDrawArrays_type)(GLenum mode, GLint first, GLsizei count) nogil
cdef glDrawArrays_type glDrawArrays
ctypedef void (*glDrawElements_type)(GLenum mode, GLsizei count, GLenum type, const void * indices) nogil
cdef glDrawElements_type glDrawElements
ctypedef void (*glEnable_type)(GLenum cap) nogil
cdef glEnable_type glEnable
ctypedef void (*glEnableVertexAttribArray_type)(GLuint index) nogil
cdef glEnableVertexAttribArray_type glEnableVertexAttribArray
ctypedef void (*glFinish_type)() nogil
cdef glFinish_type glFinish
ctypedef void (*glFlush_type)() nogil
cdef glFlush_type glFlush
ctypedef void (*glFramebufferRenderbuffer_type)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) nogil
cdef glFramebufferRenderbuffer_type glFramebufferRenderbuffer
ctypedef void (*glFramebufferTexture2D_type)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) nogil
cdef glFramebufferTexture2D_type glFramebufferTexture2D
ctypedef void (*glFrontFace_type)(GLenum mode) nogil
cdef glFrontFace_type glFrontFace
ctypedef void (*glGenBuffers_type)(GLsizei n, GLuint * buffers) nogil
cdef glGenBuffers_type glGenBuffers
ctypedef void (*glGenFramebuffers_type)(GLsizei n, GLuint * framebuffers) nogil
cdef glGenFramebuffers_type glGenFramebuffers
ctypedef void (*glGenRenderbuffers_type)(GLsizei n, GLuint * renderbuffers) nogil
cdef glGenRenderbuffers_type glGenRenderbuffers
ctypedef void (*glGenTextures_type)(GLsizei n, GLuint * textures) nogil
cdef glGenTextures_type glGenTextures
ctypedef void (*glGenerateMipmap_type)(GLenum target) nogil
cdef glGenerateMipmap_type glGenerateMipmap
ctypedef void (*glGetActiveAttrib_type)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil
cdef glGetActiveAttrib_type glGetActiveAttrib
ctypedef void (*glGetActiveUniform_type)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) nogil
cdef glGetActiveUniform_type glGetActiveUniform
ctypedef void (*glGetAttachedShaders_type)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders) nogil
cdef glGetAttachedShaders_type glGetAttachedShaders
ctypedef GLint (*glGetAttribLocation_type)(GLuint program, const GLchar * name) nogil
cdef glGetAttribLocation_type glGetAttribLocation
ctypedef void (*glGetBooleanv_type)(GLenum pname, GLboolean * data) nogil
cdef glGetBooleanv_type glGetBooleanv
ctypedef void (*glGetBufferParameteriv_type)(GLenum target, GLenum pname, GLint * params) nogil
cdef glGetBufferParameteriv_type glGetBufferParameteriv
ctypedef GLenum (*glGetError_type)() nogil
cdef glGetError_type glGetError
ctypedef void (*glGetFloatv_type)(GLenum pname, GLfloat * data) nogil
cdef glGetFloatv_type glGetFloatv
ctypedef void (*glGetFramebufferAttachmentParameteriv_type)(GLenum target, GLenum attachment, GLenum pname, GLint * params) nogil
cdef glGetFramebufferAttachmentParameteriv_type glGetFramebufferAttachmentParameteriv
ctypedef void (*glGetIntegerv_type)(GLenum pname, GLint * data) nogil
cdef glGetIntegerv_type glGetIntegerv
ctypedef void (*glGetProgramInfoLog_type)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog) nogil
cdef glGetProgramInfoLog_type glGetProgramInfoLog
ctypedef void (*glGetProgramiv_type)(GLuint program, GLenum pname, GLint * params) nogil
cdef glGetProgramiv_type glGetProgramiv
ctypedef void (*glGetRenderbufferParameteriv_type)(GLenum target, GLenum pname, GLint * params) nogil
cdef glGetRenderbufferParameteriv_type glGetRenderbufferParameteriv
ctypedef void (*glGetShaderInfoLog_type)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog) nogil
cdef glGetShaderInfoLog_type glGetShaderInfoLog
ctypedef void (*glGetShaderSource_type)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) nogil
cdef glGetShaderSource_type glGetShaderSource
ctypedef void (*glGetShaderiv_type)(GLuint shader, GLenum pname, GLint * params) nogil
cdef glGetShaderiv_type glGetShaderiv
ctypedef const GLubyte * (*glGetString_type)(GLenum name) nogil
cdef glGetString_type glGetString
ctypedef void (*glGetTexParameterfv_type)(GLenum target, GLenum pname, GLfloat * params) nogil
cdef glGetTexParameterfv_type glGetTexParameterfv
ctypedef void (*glGetTexParameteriv_type)(GLenum target, GLenum pname, GLint * params) nogil
cdef glGetTexParameteriv_type glGetTexParameteriv
ctypedef GLint (*glGetUniformLocation_type)(GLuint program, const GLchar * name) nogil
cdef glGetUniformLocation_type glGetUniformLocation
ctypedef void (*glGetUniformfv_type)(GLuint program, GLint location, GLfloat * params) nogil
cdef glGetUniformfv_type glGetUniformfv
ctypedef void (*glGetUniformiv_type)(GLuint program, GLint location, GLint * params) nogil
cdef glGetUniformiv_type glGetUniformiv
ctypedef void (*glGetVertexAttribPointerv_type)(GLuint index, GLenum pname, void ** pointer) nogil
cdef glGetVertexAttribPointerv_type glGetVertexAttribPointerv
ctypedef void (*glGetVertexAttribfv_type)(GLuint index, GLenum pname, GLfloat * params) nogil
cdef glGetVertexAttribfv_type glGetVertexAttribfv
ctypedef void (*glGetVertexAttribiv_type)(GLuint index, GLenum pname, GLint * params) nogil
cdef glGetVertexAttribiv_type glGetVertexAttribiv
ctypedef void (*glHint_type)(GLenum target, GLenum mode) nogil
cdef glHint_type glHint
ctypedef GLboolean (*glIsBuffer_type)(GLuint buffer) nogil
cdef glIsBuffer_type glIsBuffer
ctypedef GLboolean (*glIsEnabled_type)(GLenum cap) nogil
cdef glIsEnabled_type glIsEnabled
ctypedef GLboolean (*glIsFramebuffer_type)(GLuint framebuffer) nogil
cdef glIsFramebuffer_type glIsFramebuffer
ctypedef GLboolean (*glIsProgram_type)(GLuint program) nogil
cdef glIsProgram_type glIsProgram
ctypedef GLboolean (*glIsRenderbuffer_type)(GLuint renderbuffer) nogil
cdef glIsRenderbuffer_type glIsRenderbuffer
ctypedef GLboolean (*glIsShader_type)(GLuint shader) nogil
cdef glIsShader_type glIsShader
ctypedef GLboolean (*glIsTexture_type)(GLuint texture) nogil
cdef glIsTexture_type glIsTexture
ctypedef void (*glLineWidth_type)(GLfloat width) nogil
cdef glLineWidth_type glLineWidth
ctypedef void (*glLinkProgram_type)(GLuint program) nogil
cdef glLinkProgram_type glLinkProgram
ctypedef void (*glPixelStorei_type)(GLenum pname, GLint param) nogil
cdef glPixelStorei_type glPixelStorei
ctypedef void (*glPolygonOffset_type)(GLfloat factor, GLfloat units) nogil
cdef glPolygonOffset_type glPolygonOffset
ctypedef void (*glReadPixels_type)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) nogil
cdef glReadPixels_type glReadPixels
ctypedef void (*glRenderbufferStorage_type)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) nogil
cdef glRenderbufferStorage_type glRenderbufferStorage
ctypedef void (*glSampleCoverage_type)(GLfloat value, GLboolean invert) nogil
cdef glSampleCoverage_type glSampleCoverage
ctypedef void (*glScissor_type)(GLint x, GLint y, GLsizei width, GLsizei height) nogil
cdef glScissor_type glScissor
ctypedef void (*glShaderSource_type)(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length) nogil
cdef glShaderSource_type glShaderSource
ctypedef void (*glStencilFunc_type)(GLenum func, GLint ref, GLuint mask) nogil
cdef glStencilFunc_type glStencilFunc
ctypedef void (*glStencilFuncSeparate_type)(GLenum face, GLenum func, GLint ref, GLuint mask) nogil
cdef glStencilFuncSeparate_type glStencilFuncSeparate
ctypedef void (*glStencilMask_type)(GLuint mask) nogil
cdef glStencilMask_type glStencilMask
ctypedef void (*glStencilMaskSeparate_type)(GLenum face, GLuint mask) nogil
cdef glStencilMaskSeparate_type glStencilMaskSeparate
ctypedef void (*glStencilOp_type)(GLenum fail, GLenum zfail, GLenum zpass) nogil
cdef glStencilOp_type glStencilOp
ctypedef void (*glStencilOpSeparate_type)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) nogil
cdef glStencilOpSeparate_type glStencilOpSeparate
ctypedef void (*glTexImage2D_type)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) nogil
cdef glTexImage2D_type glTexImage2D
ctypedef void (*glTexParameterf_type)(GLenum target, GLenum pname, GLfloat param) nogil
cdef glTexParameterf_type glTexParameterf
ctypedef void (*glTexParameterfv_type)(GLenum target, GLenum pname, const GLfloat * params) nogil
cdef glTexParameterfv_type glTexParameterfv
ctypedef void (*glTexParameteri_type)(GLenum target, GLenum pname, GLint param) nogil
cdef glTexParameteri_type glTexParameteri
ctypedef void (*glTexParameteriv_type)(GLenum target, GLenum pname, const GLint * params) nogil
cdef glTexParameteriv_type glTexParameteriv
ctypedef void (*glTexSubImage2D_type)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) nogil
cdef glTexSubImage2D_type glTexSubImage2D
ctypedef void (*glUniform1f_type)(GLint location, GLfloat v0) nogil
cdef glUniform1f_type glUniform1f
ctypedef void (*glUniform1fv_type)(GLint location, GLsizei count, const GLfloat * value) nogil
cdef glUniform1fv_type glUniform1fv
ctypedef void (*glUniform1i_type)(GLint location, GLint v0) nogil
cdef glUniform1i_type glUniform1i
ctypedef void (*glUniform1iv_type)(GLint location, GLsizei count, const GLint * value) nogil
cdef glUniform1iv_type glUniform1iv
ctypedef void (*glUniform2f_type)(GLint location, GLfloat v0, GLfloat v1) nogil
cdef glUniform2f_type glUniform2f
ctypedef void (*glUniform2fv_type)(GLint location, GLsizei count, const GLfloat * value) nogil
cdef glUniform2fv_type glUniform2fv
ctypedef void (*glUniform2i_type)(GLint location, GLint v0, GLint v1) nogil
cdef glUniform2i_type glUniform2i
ctypedef void (*glUniform2iv_type)(GLint location, GLsizei count, const GLint * value) nogil
cdef glUniform2iv_type glUniform2iv
ctypedef void (*glUniform3f_type)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) nogil
cdef glUniform3f_type glUniform3f
ctypedef void (*glUniform3fv_type)(GLint location, GLsizei count, const GLfloat * value) nogil
cdef glUniform3fv_type glUniform3fv
ctypedef void (*glUniform3i_type)(GLint location, GLint v0, GLint v1, GLint v2) nogil
cdef glUniform3i_type glUniform3i
ctypedef void (*glUniform3iv_type)(GLint location, GLsizei count, const GLint * value) nogil
cdef glUniform3iv_type glUniform3iv
ctypedef void (*glUniform4f_type)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) nogil
cdef glUniform4f_type glUniform4f
ctypedef void (*glUniform4fv_type)(GLint location, GLsizei count, const GLfloat * value) nogil
cdef glUniform4fv_type glUniform4fv
ctypedef void (*glUniform4i_type)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) nogil
cdef glUniform4i_type glUniform4i
ctypedef void (*glUniform4iv_type)(GLint location, GLsizei count, const GLint * value) nogil
cdef glUniform4iv_type glUniform4iv
ctypedef void (*glUniformMatrix2fv_type)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) nogil
cdef glUniformMatrix2fv_type glUniformMatrix2fv
ctypedef void (*glUniformMatrix3fv_type)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) nogil
cdef glUniformMatrix3fv_type glUniformMatrix3fv
ctypedef void (*glUniformMatrix4fv_type)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) nogil
cdef glUniformMatrix4fv_type glUniformMatrix4fv
ctypedef void (*glUseProgram_type)(GLuint program) nogil
cdef glUseProgram_type glUseProgram
ctypedef void (*glValidateProgram_type)(GLuint program) nogil
cdef glValidateProgram_type glValidateProgram
ctypedef void (*glVertexAttrib1f_type)(GLuint index, GLfloat x) nogil
cdef glVertexAttrib1f_type glVertexAttrib1f
ctypedef void (*glVertexAttrib1fv_type)(GLuint index, const GLfloat * v) nogil
cdef glVertexAttrib1fv_type glVertexAttrib1fv
ctypedef void (*glVertexAttrib2f_type)(GLuint index, GLfloat x, GLfloat y) nogil
cdef glVertexAttrib2f_type glVertexAttrib2f
ctypedef void (*glVertexAttrib2fv_type)(GLuint index, const GLfloat * v) nogil
cdef glVertexAttrib2fv_type glVertexAttrib2fv
ctypedef void (*glVertexAttrib3f_type)(GLuint index, GLfloat x, GLfloat y, GLfloat z) nogil
cdef glVertexAttrib3f_type glVertexAttrib3f
ctypedef void (*glVertexAttrib3fv_type)(GLuint index, const GLfloat * v) nogil
cdef glVertexAttrib3fv_type glVertexAttrib3fv
ctypedef void (*glVertexAttrib4f_type)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) nogil
cdef glVertexAttrib4f_type glVertexAttrib4f
ctypedef void (*glVertexAttrib4fv_type)(GLuint index, const GLfloat * v) nogil
cdef glVertexAttrib4fv_type glVertexAttrib4fv
ctypedef void (*glVertexAttribPointer_type)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer) nogil
cdef glVertexAttribPointer_type glVertexAttribPointer
ctypedef void (*glViewport_type)(GLint x, GLint y, GLsizei width, GLsizei height) nogil
cdef glViewport_type glViewport