'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p
from OpenGL.GL import glget
EXTENSION_NAME = 'GL_ARB_imaging'
_p.unpack_constants( """GL_CONSTANT_COLOR 0x8001
GL_ONE_MINUS_CONSTANT_COLOR 0x8002
GL_CONSTANT_ALPHA 0x8003
GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
GL_BLEND_COLOR 0x8005
GL_FUNC_ADD 0x8006
GL_MIN 0x8007
GL_MAX 0x8008
GL_BLEND_EQUATION 0x8009
GL_FUNC_SUBTRACT 0x800A
GL_FUNC_REVERSE_SUBTRACT 0x800B
GL_CONVOLUTION_1D 0x8010
GL_CONVOLUTION_2D 0x8011
GL_SEPARABLE_2D 0x8012
GL_CONVOLUTION_BORDER_MODE 0x8013
GL_CONVOLUTION_FILTER_SCALE 0x8014
GL_CONVOLUTION_FILTER_BIAS 0x8015
GL_REDUCE 0x8016
GL_CONVOLUTION_FORMAT 0x8017
GL_CONVOLUTION_WIDTH 0x8018
GL_CONVOLUTION_HEIGHT 0x8019
GL_MAX_CONVOLUTION_WIDTH 0x801A
GL_MAX_CONVOLUTION_HEIGHT 0x801B
GL_POST_CONVOLUTION_RED_SCALE 0x801C
GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
GL_POST_CONVOLUTION_RED_BIAS 0x8020
GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
GL_HISTOGRAM 0x8024
GL_PROXY_HISTOGRAM 0x8025
GL_HISTOGRAM_WIDTH 0x8026
GL_HISTOGRAM_FORMAT 0x8027
GL_HISTOGRAM_RED_SIZE 0x8028
GL_HISTOGRAM_GREEN_SIZE 0x8029
GL_HISTOGRAM_BLUE_SIZE 0x802A
GL_HISTOGRAM_ALPHA_SIZE 0x802B
GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
GL_HISTOGRAM_SINK 0x802D
GL_MINMAX 0x802E
GL_MINMAX_FORMAT 0x802F
GL_MINMAX_SINK 0x8030
GL_TABLE_TOO_LARGE 0x8031
GL_COLOR_MATRIX 0x80B1
GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
GL_COLOR_TABLE 0x80D0
GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
GL_PROXY_COLOR_TABLE 0x80D3
GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
GL_COLOR_TABLE_SCALE 0x80D6
GL_COLOR_TABLE_BIAS 0x80D7
GL_COLOR_TABLE_FORMAT 0x80D8
GL_COLOR_TABLE_WIDTH 0x80D9
GL_COLOR_TABLE_RED_SIZE 0x80DA
GL_COLOR_TABLE_GREEN_SIZE 0x80DB
GL_COLOR_TABLE_BLUE_SIZE 0x80DC
GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
GL_CONSTANT_BORDER 0x8151
GL_REPLICATE_BORDER 0x8153
GL_CONVOLUTION_BORDER_COLOR 0x8154""", globals())
glget.addGLGetConstant( GL_BLEND_COLOR, (4,) )
glget.addGLGetConstant( GL_CONVOLUTION_1D, (1,) )
glget.addGLGetConstant( GL_CONVOLUTION_2D, (1,) )
glget.addGLGetConstant( GL_SEPARABLE_2D, (1,) )
glget.addGLGetConstant( GL_POST_CONVOLUTION_RED_SCALE, (1,) )
glget.addGLGetConstant( GL_POST_CONVOLUTION_GREEN_SCALE, (1,) )
glget.addGLGetConstant( GL_POST_CONVOLUTION_BLUE_SCALE, (1,) )
glget.addGLGetConstant( GL_POST_CONVOLUTION_ALPHA_SCALE, (1,) )
glget.addGLGetConstant( GL_POST_CONVOLUTION_RED_BIAS, (1,) )
glget.addGLGetConstant( GL_POST_CONVOLUTION_GREEN_BIAS, (1,) )
glget.addGLGetConstant( GL_POST_CONVOLUTION_BLUE_BIAS, (1,) )
glget.addGLGetConstant( GL_POST_CONVOLUTION_ALPHA_BIAS, (1,) )
glget.addGLGetConstant( GL_HISTOGRAM, (1,) )
glget.addGLGetConstant( GL_MINMAX, (1,) )
glget.addGLGetConstant( GL_COLOR_MATRIX, (4, 4) )
glget.addGLGetConstant( GL_COLOR_MATRIX_STACK_DEPTH, (1,) )
glget.addGLGetConstant( GL_MAX_COLOR_MATRIX_STACK_DEPTH, (1,) )
glget.addGLGetConstant( GL_POST_COLOR_MATRIX_RED_SCALE, (1,) )
glget.addGLGetConstant( GL_POST_COLOR_MATRIX_GREEN_SCALE, (1,) )
glget.addGLGetConstant( GL_POST_COLOR_MATRIX_BLUE_SCALE, (1,) )
glget.addGLGetConstant( GL_POST_COLOR_MATRIX_ALPHA_SCALE, (1,) )
glget.addGLGetConstant( GL_POST_COLOR_MATRIX_RED_BIAS, (1,) )
glget.addGLGetConstant( GL_POST_COLOR_MATRIX_GREEN_BIAS, (1,) )
glget.addGLGetConstant( GL_POST_COLOR_MATRIX_BLUE_BIAS, (1,) )
glget.addGLGetConstant( GL_POST_COLOR_MATRIX_ALPHA_BIAS, (1,) )
glget.addGLGetConstant( GL_COLOR_TABLE, (1,) )
glget.addGLGetConstant( GL_POST_CONVOLUTION_COLOR_TABLE, (1,) )
glget.addGLGetConstant( GL_POST_COLOR_MATRIX_COLOR_TABLE, (1,) )


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