'''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_SGIX_instruments'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_SGIX_instruments',False)
_p.unpack_constants( """GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181""", globals())
@_f
@_p.types(_cs.GLint,)
def glGetInstrumentsSGIX():pass
@_f
@_p.types(None,_cs.GLsizei,arrays.GLintArray)
def glInstrumentsBufferSGIX(size,buffer):pass
@_f
@_p.types(_cs.GLint,arrays.GLintArray)
def glPollInstrumentsSGIX(marker_p):pass
@_f
@_p.types(None,_cs.GLint)
def glReadInstrumentsSGIX(marker):pass
@_f
@_p.types(None,)
def glStartInstrumentsSGIX():pass
@_f
@_p.types(None,_cs.GLint)
def glStopInstrumentsSGIX(marker):pass


def glInitInstrumentsSGIX():
    '''Return boolean indicating whether this extension is available'''
    from OpenGL import extensions
    return extensions.hasGLExtension( EXTENSION_NAME )
