'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_VERSION_GL_1_5'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_VERSION_GL_1_5',False)
_p.unpack_constants( """GL_BUFFER_SIZE 0x8764
GL_BUFFER_USAGE 0x8765
GL_QUERY_COUNTER_BITS 0x8864
GL_CURRENT_QUERY 0x8865
GL_QUERY_RESULT 0x8866
GL_QUERY_RESULT_AVAILABLE 0x8867
GL_ARRAY_BUFFER 0x8892
GL_ELEMENT_ARRAY_BUFFER 0x8893
GL_ARRAY_BUFFER_BINDING 0x8894
GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
GL_READ_ONLY 0x88B8
GL_WRITE_ONLY 0x88B9
GL_READ_WRITE 0x88BA
GL_BUFFER_ACCESS 0x88BB
GL_BUFFER_MAPPED 0x88BC
GL_BUFFER_MAP_POINTER 0x88BD
GL_STREAM_DRAW 0x88E0
GL_STREAM_READ 0x88E1
GL_STREAM_COPY 0x88E2
GL_STATIC_DRAW 0x88E4
GL_STATIC_READ 0x88E5
GL_STATIC_COPY 0x88E6
GL_DYNAMIC_DRAW 0x88E8
GL_DYNAMIC_READ 0x88E9
GL_DYNAMIC_COPY 0x88EA
GL_SAMPLES_PASSED 0x8914""", globals())
glget.addGLGetConstant( GL_QUERY_COUNTER_BITS, (1,) )
glget.addGLGetConstant( GL_ARRAY_BUFFER_BINDING, (1,) )
glget.addGLGetConstant( GL_ELEMENT_ARRAY_BUFFER_BINDING, (1,) )
@_f
@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
def glGenQueries( n,ids ):pass
@_f
@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
def glDeleteQueries( n,ids ):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLuint)
def glIsQuery( id ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLuint)
def glBeginQuery( target,id ):pass
@_f
@_p.types(None,_cs.GLenum)
def glEndQuery( target ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,arrays.GLintArray)
def glGetQueryiv( target,pname,params ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLintArray)
def glGetQueryObjectiv( id,pname,params ):pass
@_f
@_p.types(None,_cs.GLuint,_cs.GLenum,arrays.GLuintArray)
def glGetQueryObjectuiv( id,pname,params ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLuint)
def glBindBuffer( target,buffer ):pass
@_f
@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
def glDeleteBuffers( n,buffers ):pass
@_f
@_p.types(None,_cs.GLsizei,arrays.GLuintArray)
def glGenBuffers( n,buffers ):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLuint)
def glIsBuffer( buffer ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLsizeiptr,ctypes.c_void_p,_cs.GLenum)
def glBufferData( target,size,data,usage ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLintptr,_cs.GLsizeiptr,ctypes.c_void_p)
def glBufferSubData( target,offset,size,data ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLintptr,_cs.GLsizeiptr,ctypes.c_void_p)
def glGetBufferSubData( target,offset,size,data ):pass
@_f
@_p.types(ctypes.c_void_p,_cs.GLenum,_cs.GLenum)
def glMapBuffer( target,access ):pass
@_f
@_p.types(_cs.GLboolean,_cs.GLenum)
def glUnmapBuffer( target ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,arrays.GLintArray)
def glGetBufferParameteriv( target,pname,params ):pass
@_f
@_p.types(None,_cs.GLenum,_cs.GLenum,arrays.GLvoidpArray)
def glGetBufferPointerv( target,pname,params ):pass
# import deprecated
from OpenGL.raw.GL.VERSION.GL_1_5_DEPRECATED import *
