'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p
from OpenGL.GL import glget
EXTENSION_NAME = 'GL_SGIX_async_pixel'
_p.unpack_constants( """GL_ASYNC_TEX_IMAGE_SGIX 0x835C
GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
GL_ASYNC_READ_PIXELS_SGIX 0x835E
GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361""", globals())
glget.addGLGetConstant( GL_ASYNC_TEX_IMAGE_SGIX, (1,) )
glget.addGLGetConstant( GL_ASYNC_DRAW_PIXELS_SGIX, (1,) )
glget.addGLGetConstant( GL_ASYNC_READ_PIXELS_SGIX, (1,) )
glget.addGLGetConstant( GL_MAX_ASYNC_TEX_IMAGE_SGIX, (1,) )
glget.addGLGetConstant( GL_MAX_ASYNC_DRAW_PIXELS_SGIX, (1,) )
glget.addGLGetConstant( GL_MAX_ASYNC_READ_PIXELS_SGIX, (1,) )


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