Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed gl42.go

  • Loading branch information...
commit a9d4fc8dcf69553dc77cbf26a14328700f64ef83 1 parent 5021415
@ccherng ccherng authored
Showing with 834 additions and 834 deletions.
  1. +834 −834 gl42/gl42.go
View
1,668 gl42/gl42.go
@@ -3452,1050 +3452,1050 @@ type (
// VERSION_1_1
const (
- TEXTURE = 0x1702
- LINE_LOOP = 0x0002
- CW = 0x0900
- OR_REVERSE = 0x150B
- ONE_MINUS_DST_COLOR = 0x0307
+ ALPHA = 0x1906
+ ALWAYS = 0x0207
+ AND = 0x1501
+ AND_INVERTED = 0x1504
+ AND_REVERSE = 0x1502
+ BACK = 0x0405
+ BACK_LEFT = 0x0402
+ BACK_RIGHT = 0x0403
+ BLEND = 0x0BE2
+ BLEND_DST = 0x0BE0
+ BLEND_SRC = 0x0BE1
BLUE = 0x1905
- COPY_INVERTED = 0x150C
- PACK_ALIGNMENT = 0x0D05
+ BYTE = 0x1400
CCW = 0x0901
- TEXTURE_BORDER_COLOR = 0x1004
- TEXTURE_MIN_FILTER = 0x2801
- RIGHT = 0x0407
- VENDOR = 0x1F00
+ CLEAR = 0x1500
COLOR = 0x1800
- ALWAYS = 0x0207
- FRONT_AND_BACK = 0x0408
- UNSIGNED_BYTE = 0x1401
- STENCIL_INDEX = 0x1901
- FASTEST = 0x1101
- MAX_VIEWPORT_DIMS = 0x0D3A
- INVALID_OPERATION = 0x0502
- INVERT = 0x150A
- UNPACK_SWAP_BYTES = 0x0CF0
- INVALID_VALUE = 0x0501
- TRIANGLE_FAN = 0x0006
- UNPACK_SKIP_PIXELS = 0x0CF4
- POINT = 0x1B00
- PROXY_TEXTURE_1D = 0x8063
- UNSIGNED_INT = 0x1405
- SET = 0x150F
- FRONT_RIGHT = 0x0401
- STENCIL_TEST = 0x0B90
- DRAW_BUFFER = 0x0C01
- ONE_MINUS_SRC_ALPHA = 0x0303
- SCISSOR_TEST = 0x0C11
+ COLOR_BUFFER_BIT = 0x00004000
+ COLOR_CLEAR_VALUE = 0x0C22
+ COLOR_LOGIC_OP = 0x0BF2
+ COLOR_WRITEMASK = 0x0C23
+ COPY = 0x1503
+ COPY_INVERTED = 0x150C
+ CULL_FACE = 0x0B44
+ CULL_FACE_MODE = 0x0B45
+ CW = 0x0900
+ DECR = 0x1E03
+ DEPTH = 0x1801
+ DEPTH_BUFFER_BIT = 0x00000100
+ DEPTH_CLEAR_VALUE = 0x0B73
DEPTH_COMPONENT = 0x1902
- PACK_SKIP_ROWS = 0x0D03
- EXTENSIONS = 0x1F03
+ DEPTH_FUNC = 0x0B74
+ DEPTH_RANGE = 0x0B70
+ DEPTH_TEST = 0x0B71
+ DEPTH_WRITEMASK = 0x0B72
+ DITHER = 0x0BD0
DONT_CARE = 0x1100
- AND_INVERTED = 0x1504
- RGB5 = 0x8050
- SRC_ALPHA_SATURATE = 0x0308
- POINT_SIZE_RANGE = 0x0B12
- NEAREST = 0x2600
- TEXTURE_BLUE_SIZE = 0x805E
- NOTEQUAL = 0x0205
+ DOUBLE = 0x140A
+ DOUBLEBUFFER = 0x0C32
+ DRAW_BUFFER = 0x0C01
+ DST_ALPHA = 0x0304
+ DST_COLOR = 0x0306
+ EQUAL = 0x0202
+ EQUIV = 0x1509
+ EXTENSIONS = 0x1F03
+ FALSE = 0
+ FASTEST = 0x1101
+ FILL = 0x1B02
FLOAT = 0x1406
- DECR = 0x1E03
- STENCIL_PASS_DEPTH_FAIL = 0x0B95
- SUBPIXEL_BITS = 0x0D50
- NONE = 0
+ FRONT = 0x0404
+ FRONT_AND_BACK = 0x0408
+ FRONT_FACE = 0x0B46
+ FRONT_LEFT = 0x0400
+ FRONT_RIGHT = 0x0401
+ GEQUAL = 0x0206
+ GREATER = 0x0204
+ GREEN = 0x1904
+ INCR = 0x1E02
+ INT = 0x1404
+ INVALID_ENUM = 0x0500
+ INVALID_OPERATION = 0x0502
+ INVALID_VALUE = 0x0501
+ INVERT = 0x150A
+ KEEP = 0x1E00
+ LEFT = 0x0406
+ LEQUAL = 0x0203
+ LESS = 0x0201
+ LINE = 0x1B01
+ LINEAR = 0x2601
+ LINEAR_MIPMAP_LINEAR = 0x2703
+ LINEAR_MIPMAP_NEAREST = 0x2701
LINES = 0x0001
+ LINE_LOOP = 0x0002
LINE_SMOOTH = 0x0B20
- SCISSOR_BOX = 0x0C10
- PACK_ROW_LENGTH = 0x0D02
- NO_ERROR = 0
+ LINE_SMOOTH_HINT = 0x0C52
LINE_STRIP = 0x0003
- GREATER = 0x0204
- STENCIL_CLEAR_VALUE = 0x0B91
- EQUAL = 0x0202
- TRUE = 1
- DST_ALPHA = 0x0304
- LINEAR = 0x2601
- FRONT = 0x0404
- POLYGON_OFFSET_FILL = 0x8037
- POLYGON_OFFSET_LINE = 0x2A02
- RGB8 = 0x8051
- ONE_MINUS_DST_ALPHA = 0x0305
- VIEWPORT = 0x0BA2
- CLEAR = 0x1500
+ LINE_WIDTH = 0x0B21
+ LINE_WIDTH_GRANULARITY = 0x0B23
+ LINE_WIDTH_RANGE = 0x0B22
+ LOGIC_OP_MODE = 0x0BF0
+ MAX_TEXTURE_SIZE = 0x0D33
+ MAX_VIEWPORT_DIMS = 0x0D3A
+ NAND = 0x150E
+ NEAREST = 0x2600
+ NEAREST_MIPMAP_LINEAR = 0x2702
+ NEAREST_MIPMAP_NEAREST = 0x2700
NEVER = 0x0200
- ALPHA = 0x1906
- TEXTURE_BINDING_1D = 0x8068
- CULL_FACE_MODE = 0x0B45
- BYTE = 0x1400
- UNPACK_LSB_FIRST = 0x0CF1
- DOUBLE = 0x140A
+ NICEST = 0x1102
+ NONE = 0
+ NOOP = 0x1505
+ NOR = 0x1508
+ NOTEQUAL = 0x0205
+ NO_ERROR = 0
+ ONE = 1
+ ONE_MINUS_DST_ALPHA = 0x0305
+ ONE_MINUS_DST_COLOR = 0x0307
+ ONE_MINUS_SRC_ALPHA = 0x0303
+ ONE_MINUS_SRC_COLOR = 0x0301
OR = 0x1507
- AND_REVERSE = 0x1502
- TEXTURE_WRAP_S = 0x2802
- AND = 0x1501
- DEPTH_CLEAR_VALUE = 0x0B73
- STEREO = 0x0C33
- FILL = 0x1B02
- NEAREST_MIPMAP_LINEAR = 0x2702
- ZERO = 0
+ OR_INVERTED = 0x150D
+ OR_REVERSE = 0x150B
+ OUT_OF_MEMORY = 0x0505
+ PACK_ALIGNMENT = 0x0D05
+ PACK_LSB_FIRST = 0x0D01
+ PACK_ROW_LENGTH = 0x0D02
PACK_SKIP_PIXELS = 0x0D04
+ PACK_SKIP_ROWS = 0x0D03
PACK_SWAP_BYTES = 0x0D00
- TEXTURE_RED_SIZE = 0x805C
- SRC_ALPHA = 0x0302
- LINE_WIDTH = 0x0B21
- RGBA12 = 0x805A
- FALSE = 0
- DEPTH_TEST = 0x0B71
- BLEND_DST = 0x0BE0
- STENCIL_WRITEMASK = 0x0B98
- RGB16 = 0x8054
- TEXTURE_1D = 0x0DE0
- RGB10_A2 = 0x8059
- REPEAT = 0x2901
- KEEP = 0x1E00
- DITHER = 0x0BD0
- COLOR_LOGIC_OP = 0x0BF2
- UNPACK_SKIP_ROWS = 0x0CF3
- MAX_TEXTURE_SIZE = 0x0D33
- STENCIL_FUNC = 0x0B92
- R3_G3_B2 = 0x2A10
- TEXTURE_INTERNAL_FORMAT = 0x1003
- SHORT = 0x1402
- DST_COLOR = 0x0306
- OUT_OF_MEMORY = 0x0505
- DEPTH_RANGE = 0x0B70
- LEFT = 0x0406
- TEXTURE_WRAP_T = 0x2803
- DEPTH = 0x1801
- FRONT_LEFT = 0x0400
- TEXTURE_2D = 0x0DE1
- POINT_SIZE = 0x0B11
- LINEAR_MIPMAP_NEAREST = 0x2701
- LINEAR_MIPMAP_LINEAR = 0x2703
- CULL_FACE = 0x0B44
- VERSION = 0x1F02
- TEXTURE_ALPHA_SIZE = 0x805F
- NICEST = 0x1102
- RGB5_A1 = 0x8057
+ POINT = 0x1B00
POINTS = 0x0000
- TRIANGLE_STRIP = 0x0005
- RGB = 0x1907
+ POINT_SIZE = 0x0B11
+ POINT_SIZE_GRANULARITY = 0x0B13
+ POINT_SIZE_RANGE = 0x0B12
+ POLYGON_OFFSET_FACTOR = 0x8038
+ POLYGON_OFFSET_FILL = 0x8037
+ POLYGON_OFFSET_LINE = 0x2A02
+ POLYGON_OFFSET_POINT = 0x2A01
+ POLYGON_OFFSET_UNITS = 0x2A00
POLYGON_SMOOTH = 0x0B41
- REPLACE = 0x1E01
+ POLYGON_SMOOTH_HINT = 0x0C53
+ PROXY_TEXTURE_1D = 0x8063
+ PROXY_TEXTURE_2D = 0x8064
+ R3_G3_B2 = 0x2A10
+ READ_BUFFER = 0x0C02
RED = 0x1903
- GEQUAL = 0x0206
- BACK = 0x0405
- PACK_LSB_FIRST = 0x0D01
- NOOP = 0x1505
+ RENDERER = 0x1F01
+ REPEAT = 0x2901
+ REPLACE = 0x1E01
+ RGB = 0x1907
+ RGB10 = 0x8052
+ RGB10_A2 = 0x8059
+ RGB12 = 0x8053
+ RGB16 = 0x8054
+ RGB4 = 0x804F
+ RGB5 = 0x8050
+ RGB5_A1 = 0x8057
+ RGB8 = 0x8051
+ RGBA = 0x1908
+ RGBA12 = 0x805A
+ RGBA16 = 0x805B
+ RGBA2 = 0x8055
+ RGBA4 = 0x8056
RGBA8 = 0x8058
- DEPTH_FUNC = 0x0B74
- LINE_SMOOTH_HINT = 0x0C52
- EQUIV = 0x1509
- LINE = 0x1B01
+ RIGHT = 0x0407
+ SCISSOR_BOX = 0x0C10
+ SCISSOR_TEST = 0x0C11
+ SET = 0x150F
+ SHORT = 0x1402
+ SRC_ALPHA = 0x0302
+ SRC_ALPHA_SATURATE = 0x0308
+ SRC_COLOR = 0x0300
STENCIL = 0x1802
- POLYGON_OFFSET_POINT = 0x2A01
+ STENCIL_BUFFER_BIT = 0x00000400
+ STENCIL_CLEAR_VALUE = 0x0B91
+ STENCIL_FAIL = 0x0B94
+ STENCIL_FUNC = 0x0B92
+ STENCIL_INDEX = 0x1901
+ STENCIL_PASS_DEPTH_FAIL = 0x0B95
+ STENCIL_PASS_DEPTH_PASS = 0x0B96
+ STENCIL_REF = 0x0B97
+ STENCIL_TEST = 0x0B90
+ STENCIL_VALUE_MASK = 0x0B93
+ STENCIL_WRITEMASK = 0x0B98
+ STEREO = 0x0C33
+ SUBPIXEL_BITS = 0x0D50
+ TEXTURE = 0x1702
+ TEXTURE_1D = 0x0DE0
+ TEXTURE_2D = 0x0DE1
+ TEXTURE_ALPHA_SIZE = 0x805F
+ TEXTURE_BINDING_1D = 0x8068
+ TEXTURE_BINDING_2D = 0x8069
+ TEXTURE_BLUE_SIZE = 0x805E
+ TEXTURE_BORDER_COLOR = 0x1004
TEXTURE_GREEN_SIZE = 0x805D
- LINE_WIDTH_GRANULARITY = 0x0B23
- COLOR_WRITEMASK = 0x0C23
- TEXTURE_WIDTH = 0x1000
- PROXY_TEXTURE_2D = 0x8064
+ TEXTURE_HEIGHT = 0x1001
+ TEXTURE_INTERNAL_FORMAT = 0x1003
TEXTURE_MAG_FILTER = 0x2800
- NEAREST_MIPMAP_NEAREST = 0x2700
- LINE_WIDTH_RANGE = 0x0B22
+ TEXTURE_MIN_FILTER = 0x2801
+ TEXTURE_RED_SIZE = 0x805C
+ TEXTURE_WIDTH = 0x1000
+ TEXTURE_WRAP_S = 0x2802
+ TEXTURE_WRAP_T = 0x2803
TRIANGLES = 0x0004
- POLYGON_OFFSET_FACTOR = 0x8038
- RGBA2 = 0x8055
- LESS = 0x0201
- UNPACK_ROW_LENGTH = 0x0CF2
- STENCIL_FAIL = 0x0B94
- DEPTH_WRITEMASK = 0x0B72
- BLEND = 0x0BE2
- RGB10 = 0x8052
- STENCIL_PASS_DEPTH_PASS = 0x0B96
- RENDERER = 0x1F01
- LEQUAL = 0x0203
+ TRIANGLE_FAN = 0x0006
+ TRIANGLE_STRIP = 0x0005
+ TRUE = 1
UNPACK_ALIGNMENT = 0x0CF5
- DEPTH_BUFFER_BIT = 0x00000100
- BLEND_SRC = 0x0BE1
- ONE_MINUS_SRC_COLOR = 0x0301
- RGBA = 0x1908
- BACK_LEFT = 0x0402
- FRONT_FACE = 0x0B46
- SRC_COLOR = 0x0300
- COLOR_CLEAR_VALUE = 0x0C22
+ UNPACK_LSB_FIRST = 0x0CF1
+ UNPACK_ROW_LENGTH = 0x0CF2
+ UNPACK_SKIP_PIXELS = 0x0CF4
+ UNPACK_SKIP_ROWS = 0x0CF3
+ UNPACK_SWAP_BYTES = 0x0CF0
+ UNSIGNED_BYTE = 0x1401
+ UNSIGNED_INT = 0x1405
UNSIGNED_SHORT = 0x1403
- STENCIL_REF = 0x0B97
- RGBA16 = 0x805B
- GREEN = 0x1904
- INT = 0x1404
- STENCIL_BUFFER_BIT = 0x00000400
- BACK_RIGHT = 0x0403
- READ_BUFFER = 0x0C02
- OR_INVERTED = 0x150D
- NAND = 0x150E
- INCR = 0x1E02
- RGB12 = 0x8053
- LOGIC_OP_MODE = 0x0BF0
- POLYGON_OFFSET_UNITS = 0x2A00
- RGBA4 = 0x8056
- NOR = 0x1508
- POINT_SIZE_GRANULARITY = 0x0B13
- INVALID_ENUM = 0x0500
- ONE = 1
- STENCIL_VALUE_MASK = 0x0B93
- COLOR_BUFFER_BIT = 0x00004000
+ VENDOR = 0x1F00
+ VERSION = 0x1F02
+ VIEWPORT = 0x0BA2
XOR = 0x1506
- DOUBLEBUFFER = 0x0C32
- POLYGON_SMOOTH_HINT = 0x0C53
- TEXTURE_HEIGHT = 0x1001
- TEXTURE_BINDING_2D = 0x8069
- COPY = 0x1503
- RGB4 = 0x804F
+ ZERO = 0
)
// VERSION_1_2
const (
- SMOOTH_LINE_WIDTH_RANGE = 0x0B22
- SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23
- PACK_SKIP_IMAGES = 0x806B
- UNSIGNED_BYTE_2_3_3_REV = 0x8362
- UNSIGNED_INT_8_8_8_8 = 0x8035
- UNSIGNED_SHORT_4_4_4_4_REV = 0x8365
- UNSIGNED_SHORT_5_6_5_REV = 0x8364
- TEXTURE_3D = 0x806F
- PROXY_TEXTURE_3D = 0x8070
- CLAMP_TO_EDGE = 0x812F
- MAX_ELEMENTS_INDICES = 0x80E9
- SMOOTH_POINT_SIZE_RANGE = 0x0B12
- UNSIGNED_SHORT_4_4_4_4 = 0x8033
- UNSIGNED_INT_10_10_10_2 = 0x8036
- TEXTURE_DEPTH = 0x8071
- SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13
+ ALIASED_LINE_WIDTH_RANGE = 0x846E
BGR = 0x80E0
- MAX_3D_TEXTURE_SIZE = 0x8073
- UNPACK_SKIP_IMAGES = 0x806D
- UNSIGNED_BYTE_3_3_2 = 0x8032
BGRA = 0x80E1
- TEXTURE_BINDING_3D = 0x806A
- UNSIGNED_SHORT_5_5_5_1 = 0x8034
- UNPACK_IMAGE_HEIGHT = 0x806E
- TEXTURE_BASE_LEVEL = 0x813C
- TEXTURE_WRAP_R = 0x8072
- TEXTURE_MIN_LOD = 0x813A
- ALIASED_LINE_WIDTH_RANGE = 0x846E
- UNSIGNED_SHORT_1_5_5_5_REV = 0x8366
- TEXTURE_MAX_LOD = 0x813B
+ CLAMP_TO_EDGE = 0x812F
+ MAX_3D_TEXTURE_SIZE = 0x8073
+ MAX_ELEMENTS_INDICES = 0x80E9
+ MAX_ELEMENTS_VERTICES = 0x80E8
PACK_IMAGE_HEIGHT = 0x806C
+ PACK_SKIP_IMAGES = 0x806B
+ PROXY_TEXTURE_3D = 0x8070
+ SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23
+ SMOOTH_LINE_WIDTH_RANGE = 0x0B22
+ SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13
+ SMOOTH_POINT_SIZE_RANGE = 0x0B12
+ TEXTURE_3D = 0x806F
+ TEXTURE_BASE_LEVEL = 0x813C
+ TEXTURE_BINDING_3D = 0x806A
+ TEXTURE_DEPTH = 0x8071
TEXTURE_MAX_LEVEL = 0x813D
+ TEXTURE_MAX_LOD = 0x813B
+ TEXTURE_MIN_LOD = 0x813A
+ TEXTURE_WRAP_R = 0x8072
+ UNPACK_IMAGE_HEIGHT = 0x806E
+ UNPACK_SKIP_IMAGES = 0x806D
+ UNSIGNED_BYTE_2_3_3_REV = 0x8362
+ UNSIGNED_BYTE_3_3_2 = 0x8032
+ UNSIGNED_INT_10_10_10_2 = 0x8036
UNSIGNED_INT_2_10_10_10_REV = 0x8368
+ UNSIGNED_INT_8_8_8_8 = 0x8035
UNSIGNED_INT_8_8_8_8_REV = 0x8367
- MAX_ELEMENTS_VERTICES = 0x80E8
+ UNSIGNED_SHORT_1_5_5_5_REV = 0x8366
+ UNSIGNED_SHORT_4_4_4_4 = 0x8033
+ UNSIGNED_SHORT_4_4_4_4_REV = 0x8365
+ UNSIGNED_SHORT_5_5_5_1 = 0x8034
UNSIGNED_SHORT_5_6_5 = 0x8363
+ UNSIGNED_SHORT_5_6_5_REV = 0x8364
)
// VERSION_1_3
const (
- TEXTURE_COMPRESSED = 0x86A1
+ ACTIVE_TEXTURE = 0x84E0
+ CLAMP_TO_BORDER = 0x812D
+ COMPRESSED_RGB = 0x84ED
COMPRESSED_RGBA = 0x84EE
- TEXTURE_BINDING_CUBE_MAP = 0x8514
- TEXTURE17 = 0x84D1
- TEXTURE30 = 0x84DE
- TEXTURE29 = 0x84DD
- TEXTURE22 = 0x84D6
- TEXTURE18 = 0x84D2
+ COMPRESSED_TEXTURE_FORMATS = 0x86A3
+ MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C
+ MULTISAMPLE = 0x809D
NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2
- TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0
- TEXTURE13 = 0x84CD
- SAMPLE_COVERAGE = 0x80A0
- TEXTURE12 = 0x84CC
+ PROXY_TEXTURE_CUBE_MAP = 0x851B
SAMPLES = 0x80A9
- TEXTURE4 = 0x84C4
- TEXTURE7 = 0x84C7
+ SAMPLE_ALPHA_TO_COVERAGE = 0x809E
+ SAMPLE_ALPHA_TO_ONE = 0x809F
+ SAMPLE_BUFFERS = 0x80A8
+ SAMPLE_COVERAGE = 0x80A0
+ SAMPLE_COVERAGE_INVERT = 0x80AB
SAMPLE_COVERAGE_VALUE = 0x80AA
- TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
TEXTURE0 = 0x84C0
+ TEXTURE1 = 0x84C1
+ TEXTURE10 = 0x84CA
+ TEXTURE11 = 0x84CB
+ TEXTURE12 = 0x84CC
+ TEXTURE13 = 0x84CD
+ TEXTURE14 = 0x84CE
+ TEXTURE15 = 0x84CF
TEXTURE16 = 0x84D0
+ TEXTURE17 = 0x84D1
+ TEXTURE18 = 0x84D2
+ TEXTURE19 = 0x84D3
+ TEXTURE2 = 0x84C2
TEXTURE20 = 0x84D4
- TEXTURE28 = 0x84DC
- CLAMP_TO_BORDER = 0x812D
- MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C
- TEXTURE_COMPRESSION_HINT = 0x84EF
- TEXTURE9 = 0x84C9
- TEXTURE25 = 0x84D9
- MULTISAMPLE = 0x809D
TEXTURE21 = 0x84D5
+ TEXTURE22 = 0x84D6
TEXTURE23 = 0x84D7
- ACTIVE_TEXTURE = 0x84E0
- TEXTURE8 = 0x84C8
- PROXY_TEXTURE_CUBE_MAP = 0x851B
- TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
- SAMPLE_BUFFERS = 0x80A8
- TEXTURE10 = 0x84CA
- TEXTURE14 = 0x84CE
- TEXTURE3 = 0x84C3
- TEXTURE15 = 0x84CF
- SAMPLE_ALPHA_TO_ONE = 0x809F
- SAMPLE_ALPHA_TO_COVERAGE = 0x809E
TEXTURE24 = 0x84D8
- TEXTURE19 = 0x84D3
- TEXTURE11 = 0x84CB
- TEXTURE31 = 0x84DF
+ TEXTURE25 = 0x84D9
+ TEXTURE26 = 0x84DA
TEXTURE27 = 0x84DB
- TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
- TEXTURE1 = 0x84C1
- TEXTURE2 = 0x84C2
- SAMPLE_COVERAGE_INVERT = 0x80AB
+ TEXTURE28 = 0x84DC
+ TEXTURE29 = 0x84DD
+ TEXTURE3 = 0x84C3
+ TEXTURE30 = 0x84DE
+ TEXTURE31 = 0x84DF
+ TEXTURE4 = 0x84C4
+ TEXTURE5 = 0x84C5
TEXTURE6 = 0x84C6
- COMPRESSED_TEXTURE_FORMATS = 0x86A3
+ TEXTURE7 = 0x84C7
+ TEXTURE8 = 0x84C8
+ TEXTURE9 = 0x84C9
+ TEXTURE_BINDING_CUBE_MAP = 0x8514
+ TEXTURE_COMPRESSED = 0x86A1
+ TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0
+ TEXTURE_COMPRESSION_HINT = 0x84EF
TEXTURE_CUBE_MAP = 0x8513
+ TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
+ TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A
TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
- TEXTURE26 = 0x84DA
+ TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
- TEXTURE5 = 0x84C5
- COMPRESSED_RGB = 0x84ED
)
// VERSION_1_4
const (
- MIRRORED_REPEAT = 0x8370
- TEXTURE_DEPTH_SIZE = 0x884A
- DECR_WRAP = 0x8508
- MAX_TEXTURE_LOD_BIAS = 0x84FD
- BLEND_SRC_ALPHA = 0x80CB
BLEND_DST_ALPHA = 0x80CA
- POINT_FADE_THRESHOLD_SIZE = 0x8128
+ BLEND_DST_RGB = 0x80C8
+ BLEND_SRC_ALPHA = 0x80CB
+ BLEND_SRC_RGB = 0x80C9
+ DECR_WRAP = 0x8508
DEPTH_COMPONENT16 = 0x81A5
- TEXTURE_LOD_BIAS = 0x8501
- DEPTH_COMPONENT32 = 0x81A7
- TEXTURE_COMPARE_FUNC = 0x884D
DEPTH_COMPONENT24 = 0x81A6
+ DEPTH_COMPONENT32 = 0x81A7
INCR_WRAP = 0x8507
+ MAX_TEXTURE_LOD_BIAS = 0x84FD
+ MIRRORED_REPEAT = 0x8370
+ POINT_FADE_THRESHOLD_SIZE = 0x8128
+ TEXTURE_COMPARE_FUNC = 0x884D
TEXTURE_COMPARE_MODE = 0x884C
- BLEND_DST_RGB = 0x80C8
- BLEND_SRC_RGB = 0x80C9
+ TEXTURE_DEPTH_SIZE = 0x884A
+ TEXTURE_LOD_BIAS = 0x8501
)
// VERSION_1_5
const (
- QUERY_COUNTER_BITS = 0x8864
- READ_ONLY = 0x88B8
- BUFFER_SIZE = 0x8764
- VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F
- STREAM_READ = 0x88E1
- ELEMENT_ARRAY_BUFFER = 0x8893
- DYNAMIC_READ = 0x88E9
- STREAM_DRAW = 0x88E0
ARRAY_BUFFER = 0x8892
+ ARRAY_BUFFER_BINDING = 0x8894
+ BUFFER_ACCESS = 0x88BB
+ BUFFER_MAPPED = 0x88BC
+ BUFFER_MAP_POINTER = 0x88BD
+ BUFFER_SIZE = 0x8764
BUFFER_USAGE = 0x8765
- STATIC_COPY = 0x88E6
- STREAM_COPY = 0x88E2
- WRITE_ONLY = 0x88B9
- QUERY_RESULT_AVAILABLE = 0x8867
+ CURRENT_QUERY = 0x8865
+ DYNAMIC_COPY = 0x88EA
DYNAMIC_DRAW = 0x88E8
+ DYNAMIC_READ = 0x88E9
+ ELEMENT_ARRAY_BUFFER = 0x8893
+ ELEMENT_ARRAY_BUFFER_BINDING = 0x8895
+ QUERY_COUNTER_BITS = 0x8864
+ QUERY_RESULT = 0x8866
+ QUERY_RESULT_AVAILABLE = 0x8867
+ READ_ONLY = 0x88B8
READ_WRITE = 0x88BA
- BUFFER_MAPPED = 0x88BC
- STATIC_READ = 0x88E5
SAMPLES_PASSED = 0x8914
- DYNAMIC_COPY = 0x88EA
- ELEMENT_ARRAY_BUFFER_BINDING = 0x8895
- CURRENT_QUERY = 0x8865
- BUFFER_ACCESS = 0x88BB
+ STATIC_COPY = 0x88E6
STATIC_DRAW = 0x88E4
- ARRAY_BUFFER_BINDING = 0x8894
- QUERY_RESULT = 0x8866
- BUFFER_MAP_POINTER = 0x88BD
+ STATIC_READ = 0x88E5
+ STREAM_COPY = 0x88E2
+ STREAM_DRAW = 0x88E0
+ STREAM_READ = 0x88E1
+ VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F
+ WRITE_ONLY = 0x88B9
)
// VERSION_2_0
const (
- SAMPLER_2D_SHADOW = 0x8B62
- MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49
- STENCIL_BACK_FAIL = 0x8801
- DRAW_BUFFER6 = 0x882B
+ ACTIVE_ATTRIBUTES = 0x8B89
+ ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A
+ ACTIVE_UNIFORMS = 0x8B86
+ ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87
+ ATTACHED_SHADERS = 0x8B85
BLEND_EQUATION_ALPHA = 0x883D
- SAMPLER_CUBE = 0x8B60
- FLOAT_MAT4 = 0x8B5C
- VERTEX_ATTRIB_ARRAY_POINTER = 0x8645
- DRAW_BUFFER8 = 0x882D
- MAX_VARYING_FLOATS = 0x8B4B
- SHADER_SOURCE_LENGTH = 0x8B88
- FLOAT_VEC2 = 0x8B50
- LINK_STATUS = 0x8B82
- FLOAT_VEC4 = 0x8B52
- DRAW_BUFFER4 = 0x8829
- MAX_VERTEX_ATTRIBS = 0x8869
- FLOAT_MAT3 = 0x8B5B
- SAMPLER_1D = 0x8B5D
+ BLEND_EQUATION_RGB = 0x8009
+ BOOL = 0x8B56
+ BOOL_VEC2 = 0x8B57
+ BOOL_VEC3 = 0x8B58
+ BOOL_VEC4 = 0x8B59
COMPILE_STATUS = 0x8B81
- MAX_TEXTURE_IMAGE_UNITS = 0x8872
- VERTEX_ATTRIB_ARRAY_TYPE = 0x8625
- SAMPLER_1D_SHADOW = 0x8B61
- DRAW_BUFFER5 = 0x882A
- DRAW_BUFFER12 = 0x8831
- VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A
+ CURRENT_PROGRAM = 0x8B8D
+ CURRENT_VERTEX_ATTRIB = 0x8626
+ DELETE_STATUS = 0x8B80
+ DRAW_BUFFER0 = 0x8825
DRAW_BUFFER1 = 0x8826
- VERTEX_SHADER = 0x8B31
- INT_VEC3 = 0x8B54
- BOOL_VEC3 = 0x8B58
- ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87
+ DRAW_BUFFER10 = 0x882F
+ DRAW_BUFFER11 = 0x8830
+ DRAW_BUFFER12 = 0x8831
+ DRAW_BUFFER13 = 0x8832
+ DRAW_BUFFER14 = 0x8833
+ DRAW_BUFFER15 = 0x8834
+ DRAW_BUFFER2 = 0x8827
+ DRAW_BUFFER3 = 0x8828
+ DRAW_BUFFER4 = 0x8829
+ DRAW_BUFFER5 = 0x882A
+ DRAW_BUFFER6 = 0x882B
DRAW_BUFFER7 = 0x882C
+ DRAW_BUFFER8 = 0x882D
+ DRAW_BUFFER9 = 0x882E
+ FLOAT_MAT2 = 0x8B5A
+ FLOAT_MAT3 = 0x8B5B
+ FLOAT_MAT4 = 0x8B5C
+ FLOAT_VEC2 = 0x8B50
+ FLOAT_VEC3 = 0x8B51
+ FLOAT_VEC4 = 0x8B52
FRAGMENT_SHADER = 0x8B30
- VERTEX_ATTRIB_ARRAY_SIZE = 0x8623
- VALIDATE_STATUS = 0x8B83
+ FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B
+ INFO_LOG_LENGTH = 0x8B84
+ INT_VEC2 = 0x8B53
+ INT_VEC3 = 0x8B54
+ INT_VEC4 = 0x8B55
+ LINK_STATUS = 0x8B82
LOWER_LEFT = 0x8CA1
+ MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D
+ MAX_DRAW_BUFFERS = 0x8824
+ MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49
+ MAX_TEXTURE_IMAGE_UNITS = 0x8872
+ MAX_VARYING_FLOATS = 0x8B4B
+ MAX_VERTEX_ATTRIBS = 0x8869
+ MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C
+ MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A
POINT_SPRITE_COORD_ORIGIN = 0x8CA0
- CURRENT_PROGRAM = 0x8B8D
- SHADING_LANGUAGE_VERSION = 0x8B8C
- DRAW_BUFFER9 = 0x882E
- BLEND_EQUATION_RGB = 0x8009
- BOOL_VEC4 = 0x8B59
- DRAW_BUFFER10 = 0x882F
- ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A
- FLOAT_VEC3 = 0x8B51
+ SAMPLER_1D = 0x8B5D
+ SAMPLER_1D_SHADOW = 0x8B61
SAMPLER_2D = 0x8B5E
- STENCIL_BACK_WRITEMASK = 0x8CA5
- MAX_DRAW_BUFFERS = 0x8824
- BOOL = 0x8B56
- CURRENT_VERTEX_ATTRIB = 0x8626
- INT_VEC4 = 0x8B55
- DRAW_BUFFER14 = 0x8833
+ SAMPLER_2D_SHADOW = 0x8B62
+ SAMPLER_3D = 0x8B5F
+ SAMPLER_CUBE = 0x8B60
+ SHADER_SOURCE_LENGTH = 0x8B88
+ SHADER_TYPE = 0x8B4F
+ SHADING_LANGUAGE_VERSION = 0x8B8C
+ STENCIL_BACK_FAIL = 0x8801
STENCIL_BACK_FUNC = 0x8800
- ACTIVE_UNIFORMS = 0x8B86
- BOOL_VEC2 = 0x8B57
- FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B
- VERTEX_PROGRAM_POINT_SIZE = 0x8642
- DRAW_BUFFER0 = 0x8825
- INT_VEC2 = 0x8B53
+ STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802
STENCIL_BACK_PASS_DEPTH_PASS = 0x8803
STENCIL_BACK_REF = 0x8CA3
- DRAW_BUFFER3 = 0x8828
- INFO_LOG_LENGTH = 0x8B84
- SAMPLER_3D = 0x8B5F
- ACTIVE_ATTRIBUTES = 0x8B89
- VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622
- MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A
- DRAW_BUFFER11 = 0x8830
- DRAW_BUFFER13 = 0x8832
- MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D
- ATTACHED_SHADERS = 0x8B85
- STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802
- DRAW_BUFFER15 = 0x8834
- SHADER_TYPE = 0x8B4F
- UPPER_LEFT = 0x8CA2
- FLOAT_MAT2 = 0x8B5A
- DELETE_STATUS = 0x8B80
STENCIL_BACK_VALUE_MASK = 0x8CA4
- DRAW_BUFFER2 = 0x8827
+ STENCIL_BACK_WRITEMASK = 0x8CA5
+ UPPER_LEFT = 0x8CA2
+ VALIDATE_STATUS = 0x8B83
+ VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622
+ VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A
+ VERTEX_ATTRIB_ARRAY_POINTER = 0x8645
+ VERTEX_ATTRIB_ARRAY_SIZE = 0x8623
VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624
- MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C
+ VERTEX_ATTRIB_ARRAY_TYPE = 0x8625
+ VERTEX_PROGRAM_POINT_SIZE = 0x8642
+ VERTEX_SHADER = 0x8B31
)
// VERSION_2_1
const (
- FLOAT_MAT3x2 = 0x8B67
- PIXEL_PACK_BUFFER_BINDING = 0x88ED
- PIXEL_PACK_BUFFER = 0x88EB
- SRGB = 0x8C40
+ COMPRESSED_SRGB = 0x8C48
COMPRESSED_SRGB_ALPHA = 0x8C49
- FLOAT_MAT3x4 = 0x8B68
- PIXEL_UNPACK_BUFFER_BINDING = 0x88EF
- FLOAT_MAT2x4 = 0x8B66
- SRGB_ALPHA = 0x8C42
- SRGB8_ALPHA8 = 0x8C43
- SRGB8 = 0x8C41
FLOAT_MAT2x3 = 0x8B65
+ FLOAT_MAT2x4 = 0x8B66
+ FLOAT_MAT3x2 = 0x8B67
+ FLOAT_MAT3x4 = 0x8B68
FLOAT_MAT4x2 = 0x8B69
- COMPRESSED_SRGB = 0x8C48
FLOAT_MAT4x3 = 0x8B6A
+ PIXEL_PACK_BUFFER = 0x88EB
+ PIXEL_PACK_BUFFER_BINDING = 0x88ED
PIXEL_UNPACK_BUFFER = 0x88EC
+ PIXEL_UNPACK_BUFFER_BINDING = 0x88EF
+ SRGB = 0x8C40
+ SRGB8 = 0x8C41
+ SRGB8_ALPHA8 = 0x8C43
+ SRGB_ALPHA = 0x8C42
)
// VERSION_3_0
const (
- INT_SAMPLER_CUBE = 0x8DCC
- MAX_ARRAY_TEXTURE_LAYERS = 0x88FF
- COLOR_ATTACHMENT3 = 0x8CE3
+ BGRA_INTEGER = 0x8D9B
+ BGR_INTEGER = 0x8D9A
BLUE_INTEGER = 0x8D96
- MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80
- R32UI = 0x8236
- TEXTURE_BINDING_1D_ARRAY = 0x8C1C
- DEPTH_STENCIL = 0x84F9
- FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1
- COLOR_ATTACHMENT2 = 0x8CE2
- MAX_COLOR_ATTACHMENTS = 0x8CDF
- RGBA16I = 0x8D88
- RG8UI = 0x8238
- FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7
- RGBA_INTEGER = 0x8D99
- RGBA16UI = 0x8D76
- UNSIGNED_INT_SAMPLER_1D_ARRAY = 0x8DD6
- TEXTURE_GREEN_TYPE = 0x8C11
- RG16 = 0x822C
- FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210
- FRAMEBUFFER_DEFAULT = 0x8218
- QUERY_NO_WAIT = 0x8E14
- RG32F = 0x8230
- RENDERBUFFER_DEPTH_SIZE = 0x8D54
- MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B
- UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B
- UNSIGNED_INT_SAMPLER_1D = 0x8DD1
- RGB32F = 0x8815
- STENCIL_ATTACHMENT = 0x8D20
- COMPARE_REF_TO_TEXTURE = 0x884E
- INT_SAMPLER_1D_ARRAY = 0x8DCE
- MAP_INVALIDATE_BUFFER_BIT = 0x0008
- INT_SAMPLER_2D = 0x8DCA
- COLOR_ATTACHMENT5 = 0x8CE5
- RG_INTEGER = 0x8228
- READ_FRAMEBUFFER_BINDING = 0x8CAA
+ BUFFER_ACCESS_FLAGS = 0x911F
+ BUFFER_MAP_LENGTH = 0x9120
+ BUFFER_MAP_OFFSET = 0x9121
CLAMP_READ_COLOR = 0x891C
- R16F = 0x822D
- FIXED_ONLY = 0x891D
- RGBA32I = 0x8D82
- MAX_PROGRAM_TEXEL_OFFSET = 0x8905
- BGRA_INTEGER = 0x8D9B
- TRANSFORM_FEEDBACK_VARYINGS = 0x8C83
- R8UI = 0x8232
- COLOR_ATTACHMENT15 = 0x8CEF
- RENDERBUFFER_SAMPLES = 0x8CAB
- SAMPLER_1D_ARRAY = 0x8DC0
- R32I = 0x8235
- FRAMEBUFFER_COMPLETE = 0x8CD5
- FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217
- SAMPLER_2D_ARRAY = 0x8DC1
- RG16F = 0x822F
- MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A
- UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7
- COLOR_ATTACHMENT11 = 0x8CEB
- TEXTURE_BLUE_TYPE = 0x8C12
- FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212
- RGBA8I = 0x8D8E
- R32F = 0x822E
+ CLIP_DISTANCE0 = 0x3000
CLIP_DISTANCE1 = 0x3001
- DRAW_FRAMEBUFFER = 0x8CA9
- TRANSFORM_FEEDBACK_BUFFER = 0x8C8E
- RGBA16F = 0x881A
- RENDERBUFFER_BINDING = 0x8CA7
- DEPTH_STENCIL_ATTACHMENT = 0x821A
- READ_FRAMEBUFFER = 0x8CA8
- R11F_G11F_B10F = 0x8C3A
- TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85
- DEPTH32F_STENCIL8 = 0x8CAD
- MAP_UNSYNCHRONIZED_BIT = 0x0020
- UNSIGNED_INT_VEC4 = 0x8DC8
- MAP_WRITE_BIT = 0x0002
CLIP_DISTANCE2 = 0x3002
- PROXY_TEXTURE_2D_ARRAY = 0x8C1B
- R16I = 0x8233
- RG = 0x8227
- COMPRESSED_RED = 0x8225
- TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88
- COLOR_ATTACHMENT9 = 0x8CE9
- TEXTURE_SHARED_SIZE = 0x8C3F
- STENCIL_INDEX4 = 0x8D47
- GREEN_INTEGER = 0x8D95
- UNSIGNED_INT_24_8 = 0x84FA
- FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56
- FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6
- FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213
- QUERY_BY_REGION_NO_WAIT = 0x8E16
+ CLIP_DISTANCE3 = 0x3003
+ CLIP_DISTANCE4 = 0x3004
+ CLIP_DISTANCE5 = 0x3005
+ CLIP_DISTANCE6 = 0x3006
+ CLIP_DISTANCE7 = 0x3007
+ COLOR_ATTACHMENT0 = 0x8CE0
+ COLOR_ATTACHMENT1 = 0x8CE1
+ COLOR_ATTACHMENT10 = 0x8CEA
+ COLOR_ATTACHMENT11 = 0x8CEB
+ COLOR_ATTACHMENT12 = 0x8CEC
COLOR_ATTACHMENT13 = 0x8CED
- RENDERBUFFER = 0x8D41
- RED_INTEGER = 0x8D94
- CONTEXT_FLAGS = 0x821E
- CLIP_DISTANCE0 = 0x3000
- RENDERBUFFER_INTERNAL_FORMAT = 0x8D44
- RGB16I = 0x8D89
- RENDERBUFFER_ALPHA_SIZE = 0x8D53
+ COLOR_ATTACHMENT14 = 0x8CEE
+ COLOR_ATTACHMENT15 = 0x8CEF
+ COLOR_ATTACHMENT2 = 0x8CE2
+ COLOR_ATTACHMENT3 = 0x8CE3
+ COLOR_ATTACHMENT4 = 0x8CE4
+ COLOR_ATTACHMENT5 = 0x8CE5
COLOR_ATTACHMENT6 = 0x8CE6
- MIN_PROGRAM_TEXEL_OFFSET = 0x8904
- BUFFER_ACCESS_FLAGS = 0x911F
- SAMPLER_1D_ARRAY_SHADOW = 0x8DC3
+ COLOR_ATTACHMENT7 = 0x8CE7
+ COLOR_ATTACHMENT8 = 0x8CE8
+ COLOR_ATTACHMENT9 = 0x8CE9
+ COMPARE_REF_TO_TEXTURE = 0x884E
+ COMPRESSED_RED = 0x8225
+ COMPRESSED_RED_RGTC1 = 0x8DBB
+ COMPRESSED_RG = 0x8226
+ COMPRESSED_RG_RGTC2 = 0x8DBD
+ COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC
+ COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE
+ CONTEXT_FLAGS = 0x821E
CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT = 0x0001
- FRAMEBUFFER_UNDEFINED = 0x8219
- INT_SAMPLER_3D = 0x8DCB
- MAP_READ_BIT = 0x0001
- FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216
- RGB_INTEGER = 0x8D98
- MAX_RENDERBUFFER_SIZE = 0x84E8
- INVALID_FRAMEBUFFER_OPERATION = 0x0506
- RG16I = 0x8239
- FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD
- RENDERBUFFER_WIDTH = 0x8D42
- SEPARATE_ATTRIBS = 0x8C8D
- RENDERBUFFER_BLUE_SIZE = 0x8D52
- TEXTURE_DEPTH_TYPE = 0x8C16
- TEXTURE_STENCIL_SIZE = 0x88F1
- RGBA8UI = 0x8D7C
- QUERY_WAIT = 0x8E13
- DRAW_FRAMEBUFFER_BINDING = FRAMEBUFFER_BINDING
- INTERLEAVED_ATTRIBS = 0x8C8C
- TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76
+ DEPTH24_STENCIL8 = 0x88F0
+ DEPTH32F_STENCIL8 = 0x8CAD
+ DEPTH_ATTACHMENT = 0x8D00
DEPTH_COMPONENT32F = 0x8CAC
- SAMPLER_2D_ARRAY_SHADOW = 0x8DC4
- RENDERBUFFER_GREEN_SIZE = 0x8D51
- RASTERIZER_DISCARD = 0x8C89
- TEXTURE_1D_ARRAY = 0x8C18
- UNSIGNED_INT_VEC3 = 0x8DC7
- STENCIL_INDEX16 = 0x8D49
- UNSIGNED_INT_5_9_9_9_REV = 0x8C3E
- STENCIL_INDEX1 = 0x8D46
- TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84
+ DEPTH_STENCIL = 0x84F9
+ DEPTH_STENCIL_ATTACHMENT = 0x821A
+ DRAW_FRAMEBUFFER = 0x8CA9
+ DRAW_FRAMEBUFFER_BINDING = FRAMEBUFFER_BINDING
+ FIXED_ONLY = 0x891D
+ FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD
+ FRAMEBUFFER = 0x8D40
+ FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215
+ FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214
+ FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210
+ FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211
+ FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216
+ FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213
+ FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1
+ FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0
+ FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212
+ FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217
+ FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3
+ FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2
+ FRAMEBUFFER_BINDING = 0x8CA6
+ FRAMEBUFFER_COMPLETE = 0x8CD5
+ FRAMEBUFFER_DEFAULT = 0x8218
+ FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6
FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = 0x8CDB
- TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F
+ FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7
+ FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56
+ FRAMEBUFFER_INCOMPLETE_READ_BUFFER = 0x8CDC
+ FRAMEBUFFER_SRGB = 0x8DB9
+ FRAMEBUFFER_UNDEFINED = 0x8219
+ FRAMEBUFFER_UNSUPPORTED = 0x8CDD
+ GREEN_INTEGER = 0x8D95
HALF_FLOAT = 0x140B
- FRAMEBUFFER_INCOMPLETE_READ_BUFFER = 0x8CDC
- TEXTURE_2D_ARRAY = 0x8C1A
- MAX_SAMPLES = 0x8D57
- STENCIL_INDEX8 = 0x8D48
+ INDEX = 0x8222
+ INTERLEAVED_ATTRIBS = 0x8C8C
+ INT_SAMPLER_1D = 0x8DC9
+ INT_SAMPLER_1D_ARRAY = 0x8DCE
+ INT_SAMPLER_2D = 0x8DCA
+ INT_SAMPLER_2D_ARRAY = 0x8DCF
+ INT_SAMPLER_3D = 0x8DCB
+ INT_SAMPLER_CUBE = 0x8DCC
+ INVALID_FRAMEBUFFER_OPERATION = 0x0506
+ MAJOR_VERSION = 0x821B
MAP_FLUSH_EXPLICIT_BIT = 0x0010
- COMPRESSED_RG_RGTC2 = 0x8DBD
- COLOR_ATTACHMENT0 = 0x8CE0
- FRAMEBUFFER_BINDING = 0x8CA6
+ MAP_INVALIDATE_BUFFER_BIT = 0x0008
+ MAP_INVALIDATE_RANGE_BIT = 0x0004
+ MAP_READ_BIT = 0x0001
+ MAP_UNSYNCHRONIZED_BIT = 0x0020
+ MAP_WRITE_BIT = 0x0002
+ MAX_ARRAY_TEXTURE_LAYERS = 0x88FF
MAX_CLIP_DISTANCES = 0x0D32
+ MAX_COLOR_ATTACHMENTS = 0x8CDF
+ MAX_PROGRAM_TEXEL_OFFSET = 0x8905
+ MAX_RENDERBUFFER_SIZE = 0x84E8
+ MAX_SAMPLES = 0x8D57
+ MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A
+ MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B
+ MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80
+ MINOR_VERSION = 0x821C
+ MIN_PROGRAM_TEXEL_OFFSET = 0x8904
+ NUM_EXTENSIONS = 0x821D
+ PRIMITIVES_GENERATED = 0x8C87
+ PROXY_TEXTURE_1D_ARRAY = 0x8C19
+ PROXY_TEXTURE_2D_ARRAY = 0x8C1B
+ QUERY_BY_REGION_NO_WAIT = 0x8E16
+ QUERY_BY_REGION_WAIT = 0x8E15
+ QUERY_NO_WAIT = 0x8E14
+ QUERY_WAIT = 0x8E13
+ R11F_G11F_B10F = 0x8C3A
R16 = 0x822A
- RGB16F = 0x881B
+ R16F = 0x822D
+ R16I = 0x8233
+ R16UI = 0x8234
+ R32F = 0x822E
+ R32I = 0x8235
+ R32UI = 0x8236
+ R8 = 0x8229
+ R8I = 0x8231
+ R8UI = 0x8232
+ RASTERIZER_DISCARD = 0x8C89
+ READ_FRAMEBUFFER = 0x8CA8
+ READ_FRAMEBUFFER_BINDING = 0x8CAA
+ RED_INTEGER = 0x8D94
+ RENDERBUFFER = 0x8D41
+ RENDERBUFFER_ALPHA_SIZE = 0x8D53
+ RENDERBUFFER_BINDING = 0x8CA7
+ RENDERBUFFER_BLUE_SIZE = 0x8D52
+ RENDERBUFFER_DEPTH_SIZE = 0x8D54
+ RENDERBUFFER_GREEN_SIZE = 0x8D51
+ RENDERBUFFER_HEIGHT = 0x8D43
+ RENDERBUFFER_INTERNAL_FORMAT = 0x8D44
+ RENDERBUFFER_RED_SIZE = 0x8D50
+ RENDERBUFFER_SAMPLES = 0x8CAB
RENDERBUFFER_STENCIL_SIZE = 0x8D55
- UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4
- PRIMITIVES_GENERATED = 0x8C87
- FRAMEBUFFER_UNSUPPORTED = 0x8CDD
- INT_SAMPLER_2D_ARRAY = 0x8DCF
+ RENDERBUFFER_WIDTH = 0x8D42
+ RG = 0x8227
+ RG16 = 0x822C
+ RG16F = 0x822F
+ RG16I = 0x8239
RG16UI = 0x823A
- CLIP_DISTANCE3 = 0x3003
- CLIP_DISTANCE4 = 0x3004
- RGB32I = 0x8D83
- TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F
+ RG32F = 0x8230
+ RG32I = 0x823B
RG32UI = 0x823C
- FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0
- FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3
+ RG8 = 0x822B
+ RG8I = 0x8237
+ RG8UI = 0x8238
+ RGB16F = 0x881B
+ RGB16I = 0x8D89
+ RGB16UI = 0x8D77
+ RGB32F = 0x8815
+ RGB32I = 0x8D83
RGB32UI = 0x8D71
- UNSIGNED_NORMALIZED = 0x8C17
- RG32I = 0x823B
- TEXTURE_RED_TYPE = 0x8C10
- DEPTH24_STENCIL8 = 0x88F0
- QUERY_BY_REGION_WAIT = 0x8E15
- COLOR_ATTACHMENT1 = 0x8CE1
- VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD
+ RGB8I = 0x8D8F
RGB8UI = 0x8D7D
- PROXY_TEXTURE_1D_ARRAY = 0x8C19
- TEXTURE_ALPHA_TYPE = 0x8C13
- MAP_INVALIDATE_RANGE_BIT = 0x0004
- R8I = 0x8231
- COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE
- UNSIGNED_INT_SAMPLER_2D = 0x8DD2
- BGR_INTEGER = 0x8D9A
- FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214
- CLIP_DISTANCE6 = 0x3006
- COLOR_ATTACHMENT10 = 0x8CEA
- COLOR_ATTACHMENT8 = 0x8CE8
- FRAMEBUFFER = 0x8D40
- COLOR_ATTACHMENT14 = 0x8CEE
- CLIP_DISTANCE5 = 0x3005
- COLOR_ATTACHMENT4 = 0x8CE4
- DEPTH_ATTACHMENT = 0x8D00
- FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211
- COLOR_ATTACHMENT12 = 0x8CEC
- BUFFER_MAP_LENGTH = 0x9120
- UNSIGNED_INT_VEC2 = 0x8DC6
- CLIP_DISTANCE7 = 0x3007
- FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215
- MINOR_VERSION = 0x821C
- COLOR_ATTACHMENT7 = 0x8CE7
+ RGB9_E5 = 0x8C3D
+ RGBA16F = 0x881A
+ RGBA16I = 0x8D88
+ RGBA16UI = 0x8D76
+ RGBA32F = 0x8814
+ RGBA32I = 0x8D82
+ RGBA32UI = 0x8D70
+ RGBA8I = 0x8D8E
+ RGBA8UI = 0x8D7C
+ RGBA_INTEGER = 0x8D99
+ RGB_INTEGER = 0x8D98
+ RG_INTEGER = 0x8228
+ SAMPLER_1D_ARRAY = 0x8DC0
+ SAMPLER_1D_ARRAY_SHADOW = 0x8DC3
+ SAMPLER_2D_ARRAY = 0x8DC1
+ SAMPLER_2D_ARRAY_SHADOW = 0x8DC4
SAMPLER_CUBE_SHADOW = 0x8DC5
- INDEX = 0x8222
+ SEPARATE_ATTRIBS = 0x8C8D
+ STENCIL_ATTACHMENT = 0x8D20
+ STENCIL_INDEX1 = 0x8D46
+ STENCIL_INDEX16 = 0x8D49
+ STENCIL_INDEX4 = 0x8D47
+ STENCIL_INDEX8 = 0x8D48
+ TEXTURE_1D_ARRAY = 0x8C18
+ TEXTURE_2D_ARRAY = 0x8C1A
+ TEXTURE_ALPHA_TYPE = 0x8C13
+ TEXTURE_BINDING_1D_ARRAY = 0x8C1C
TEXTURE_BINDING_2D_ARRAY = 0x8C1D
- RENDERBUFFER_RED_SIZE = 0x8D50
- NUM_EXTENSIONS = 0x821D
- COMPRESSED_RED_RGTC1 = 0x8DBB
- RGB16UI = 0x8D77
- BUFFER_MAP_OFFSET = 0x9121
- RGB9_E5 = 0x8C3D
- FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2
- FRAMEBUFFER_SRGB = 0x8DB9
- R8 = 0x8229
- RGB8I = 0x8D8F
- INT_SAMPLER_1D = 0x8DC9
+ TEXTURE_BLUE_TYPE = 0x8C12
+ TEXTURE_DEPTH_TYPE = 0x8C16
+ TEXTURE_GREEN_TYPE = 0x8C11
+ TEXTURE_RED_TYPE = 0x8C10
+ TEXTURE_SHARED_SIZE = 0x8C3F
+ TEXTURE_STENCIL_SIZE = 0x88F1
+ TRANSFORM_FEEDBACK_BUFFER = 0x8C8E
+ TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F
+ TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F
+ TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85
+ TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84
+ TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88
+ TRANSFORM_FEEDBACK_VARYINGS = 0x8C83
+ TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76
+ UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B
+ UNSIGNED_INT_24_8 = 0x84FA
+ UNSIGNED_INT_5_9_9_9_REV = 0x8C3E
+ UNSIGNED_INT_SAMPLER_1D = 0x8DD1
+ UNSIGNED_INT_SAMPLER_1D_ARRAY = 0x8DD6
+ UNSIGNED_INT_SAMPLER_2D = 0x8DD2
+ UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7
UNSIGNED_INT_SAMPLER_3D = 0x8DD3
- RENDERBUFFER_HEIGHT = 0x8D43
- COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC
+ UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4
+ UNSIGNED_INT_VEC2 = 0x8DC6
+ UNSIGNED_INT_VEC3 = 0x8DC7
+ UNSIGNED_INT_VEC4 = 0x8DC8
+ UNSIGNED_NORMALIZED = 0x8C17
VERTEX_ARRAY_BINDING = 0x85B5
- RG8 = 0x822B
- RG8I = 0x8237
- RGBA32F = 0x8814
- MAJOR_VERSION = 0x821B
- RGBA32UI = 0x8D70
- R16UI = 0x8234
- COMPRESSED_RG = 0x8226
+ VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD
)
// VERSION_3_1
const (
- TEXTURE_BINDING_BUFFER = 0x8C2C
- UNIFORM_BLOCK_INDEX = 0x8A3A
- PRIMITIVE_RESTART_INDEX = 0x8F9E
- RGBA_SNORM = 0x8F93
- RGB8_SNORM = 0x8F96
- MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F
+ ACTIVE_UNIFORM_BLOCKS = 0x8A36
+ ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35
COPY_READ_BUFFER = COPY_READ_BUFFER_BINDING
- UNIFORM_TYPE = 0x8A37
- SAMPLER_2D_RECT = 0x8B63
- RG16_SNORM = 0x8F99
- UNIFORM_BUFFER_SIZE = 0x8A2A
- UNIFORM_ARRAY_STRIDE = 0x8A3C
- MAX_RECTANGLE_TEXTURE_SIZE = 0x84F8
- RED_SNORM = 0x8F90
- RGB_SNORM = 0x8F92
- TEXTURE_RECTANGLE = 0x84F5
- UNIFORM_BLOCK_BINDING = 0x8A3F
- UNIFORM_SIZE = 0x8A38
- UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46
COPY_WRITE_BUFFER = COPY_WRITE_BUFFER_BINDING
- TEXTURE_BINDING_RECTANGLE = 0x84F6
- UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42
- UNIFORM_NAME_LENGTH = 0x8A39
- RGBA16_SNORM = 0x8F9B
+ INT_SAMPLER_2D_RECT = 0x8DCD
+ INT_SAMPLER_BUFFER = 0x8DD0
INVALID_INDEX = 0xFFFFFFFF
- UNIFORM_BUFFER = 0x8A11
- R8_SNORM = 0x8F94
+ MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33
MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E
- RGB16_SNORM = 0x8F9A
- UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34
- UNSIGNED_INT_SAMPLER_2D_RECT = 0x8DD5
MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31
- UNSIGNED_INT_SAMPLER_BUFFER = 0x8DD8
- UNIFORM_OFFSET = 0x8A3B
- TEXTURE_BUFFER_FORMAT = 0x8C2E
- UNIFORM_MATRIX_STRIDE = 0x8A3D
- INT_SAMPLER_BUFFER = 0x8DD0
+ MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D
+ MAX_RECTANGLE_TEXTURE_SIZE = 0x84F8
+ MAX_TEXTURE_BUFFER_SIZE = 0x8C2B
+ MAX_UNIFORM_BLOCK_SIZE = 0x8A30
+ MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F
MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B
- UNIFORM_BUFFER_START = 0x8A29
- TEXTURE_BUFFER_DATA_STORE_BINDING = 0x8C2D
+ PRIMITIVE_RESTART = 0x8F9D
+ PRIMITIVE_RESTART_INDEX = 0x8F9E
+ PROXY_TEXTURE_RECTANGLE = 0x84F7
R16_SNORM = 0x8F98
- INT_SAMPLER_2D_RECT = 0x8DCD
- ACTIVE_UNIFORM_BLOCKS = 0x8A36
+ R8_SNORM = 0x8F94
+ RED_SNORM = 0x8F90
+ RG16_SNORM = 0x8F99
+ RG8_SNORM = 0x8F95
+ RGB16_SNORM = 0x8F9A
+ RGB8_SNORM = 0x8F96
+ RGBA16_SNORM = 0x8F9B
+ RGBA8_SNORM = 0x8F97
+ RGBA_SNORM = 0x8F93
+ RGB_SNORM = 0x8F92
+ RG_SNORM = 0x8F91
+ SAMPLER_2D_RECT = 0x8B63
SAMPLER_2D_RECT_SHADOW = 0x8B64
SAMPLER_BUFFER = 0x8DC2
- UNIFORM_BLOCK_NAME_LENGTH = 0x8A41
- RG_SNORM = 0x8F91
- MAX_TEXTURE_BUFFER_SIZE = 0x8C2B
- PROXY_TEXTURE_RECTANGLE = 0x84F7
SIGNED_NORMALIZED = 0x8F9C
- PRIMITIVE_RESTART = 0x8F9D
- UNIFORM_IS_ROW_MAJOR = 0x8A3E
- ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35
- UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43
- MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D
+ TEXTURE_BINDING_BUFFER = 0x8C2C
+ TEXTURE_BINDING_RECTANGLE = 0x84F6
TEXTURE_BUFFER = 0x8C2A
- UNIFORM_BUFFER_BINDING = 0x8A28
+ TEXTURE_BUFFER_DATA_STORE_BINDING = 0x8C2D
+ TEXTURE_BUFFER_FORMAT = 0x8C2E
+ TEXTURE_RECTANGLE = 0x84F5
+ UNIFORM_ARRAY_STRIDE = 0x8A3C
+ UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42
+ UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43
+ UNIFORM_BLOCK_BINDING = 0x8A3F
UNIFORM_BLOCK_DATA_SIZE = 0x8A40
- RG8_SNORM = 0x8F95
- MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33
+ UNIFORM_BLOCK_INDEX = 0x8A3A
+ UNIFORM_BLOCK_NAME_LENGTH = 0x8A41
+ UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46
UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44
- MAX_UNIFORM_BLOCK_SIZE = 0x8A30
- RGBA8_SNORM = 0x8F97
+ UNIFORM_BUFFER = 0x8A11
+ UNIFORM_BUFFER_BINDING = 0x8A28
+ UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34
+ UNIFORM_BUFFER_SIZE = 0x8A2A
+ UNIFORM_BUFFER_START = 0x8A29
+ UNIFORM_IS_ROW_MAJOR = 0x8A3E
+ UNIFORM_MATRIX_STRIDE = 0x8A3D
+ UNIFORM_NAME_LENGTH = 0x8A39
+ UNIFORM_OFFSET = 0x8A3B
+ UNIFORM_SIZE = 0x8A38
+ UNIFORM_TYPE = 0x8A37
+ UNSIGNED_INT_SAMPLER_2D_RECT = 0x8DD5
+ UNSIGNED_INT_SAMPLER_BUFFER = 0x8DD8
)
// VERSION_3_2
const (
- MAX_SERVER_WAIT_TIMEOUT = 0x9111
- MAX_GEOMETRY_INPUT_COMPONENTS = 0x9123
- SAMPLE_MASK_VALUE = 0x8E52
- PROGRAM_POINT_SIZE = 0x8642
- TEXTURE_CUBE_MAP_SEAMLESS = 0x884F
- MAX_GEOMETRY_OUTPUT_COMPONENTS = 0x9124
- DEPTH_CLAMP = 0x864F
- SAMPLE_POSITION = 0x8E50
- MAX_GEOMETRY_UNIFORM_COMPONENTS = 0x8DDF
+ ALREADY_SIGNALED = 0x911A
+ CONDITION_SATISFIED = 0x911C
+ CONTEXT_COMPATIBILITY_PROFILE_BIT = 0x00000002
CONTEXT_CORE_PROFILE_BIT = 0x00000001
+ CONTEXT_PROFILE_MASK = 0x9126
+ DEPTH_CLAMP = 0x864F
+ FIRST_VERTEX_CONVENTION = 0x8E4D
+ FRAMEBUFFER_ATTACHMENT_LAYERED = 0x8DA7
+ FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS = 0x8DA8
+ GEOMETRY_INPUT_TYPE = 0x8917
+ GEOMETRY_OUTPUT_TYPE = 0x8918
+ GEOMETRY_SHADER = 0x8DD9
+ GEOMETRY_VERTICES_OUT = 0x8916
+ INT_SAMPLER_2D_MULTISAMPLE = 0x9109
+ INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910C
+ LAST_VERTEX_CONVENTION = 0x8E4E
LINES_ADJACENCY = 0x000A
- UNSIGNALED = 0x9118
- ALREADY_SIGNALED = 0x911A
LINE_STRIP_ADJACENCY = 0x000B
- SAMPLE_MASK = 0x8E51
- PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9103
- MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122
- SIGNALED = 0x9119
- GEOMETRY_VERTICES_OUT = 0x8916
- TEXTURE_FIXED_SAMPLE_LOCATIONS = 0x9107
- QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = 0x8E4C
MAX_COLOR_TEXTURE_SAMPLES = 0x910E
- TIMEOUT_EXPIRED = 0x911B
- SAMPLER_2D_MULTISAMPLE = 0x9108
- PROXY_TEXTURE_2D_MULTISAMPLE = 0x9101
- FRAMEBUFFER_ATTACHMENT_LAYERED = 0x8DA7
MAX_DEPTH_TEXTURE_SAMPLES = 0x910F
- TEXTURE_BINDING_2D_MULTISAMPLE = 0x9104
- CONTEXT_COMPATIBILITY_PROFILE_BIT = 0x00000002
+ MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125
+ MAX_GEOMETRY_INPUT_COMPONENTS = 0x9123
+ MAX_GEOMETRY_OUTPUT_COMPONENTS = 0x9124
+ MAX_GEOMETRY_OUTPUT_VERTICES = 0x8DE0
MAX_GEOMETRY_TEXTURE_IMAGE_UNITS = 0x8C29
- UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910D
- PROVOKING_VERTEX = 0x8E4F
- TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102
+ MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS = 0x8DE1
+ MAX_GEOMETRY_UNIFORM_COMPONENTS = 0x8DDF
MAX_INTEGER_SAMPLES = 0x9110
- SYNC_GPU_COMMANDS_COMPLETE = 0x9117
MAX_SAMPLE_MASK_WORDS = 0x8E59
- GEOMETRY_OUTPUT_TYPE = 0x8918
- SYNC_FLAGS = 0x9115
+ MAX_SERVER_WAIT_TIMEOUT = 0x9111
+ MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122
+ OBJECT_TYPE = 0x9112
+ PROGRAM_POINT_SIZE = 0x8642
+ PROVOKING_VERTEX = 0x8E4F
+ PROXY_TEXTURE_2D_MULTISAMPLE = 0x9101
+ PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9103
+ QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = 0x8E4C
+ SAMPLER_2D_MULTISAMPLE = 0x9108
SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910B
- UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = 0x910A
- CONTEXT_PROFILE_MASK = 0x9126
- CONDITION_SATISFIED = 0x911C
- MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125
- INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910C
+ SAMPLE_MASK = 0x8E51
+ SAMPLE_MASK_VALUE = 0x8E52
+ SAMPLE_POSITION = 0x8E50
+ SIGNALED = 0x9119
+ SYNC_CONDITION = 0x9113
+ SYNC_FENCE = 0x9116
+ SYNC_FLAGS = 0x9115
+ SYNC_FLUSH_COMMANDS_BIT = 0x00000001
+ SYNC_GPU_COMMANDS_COMPLETE = 0x9117
+ SYNC_STATUS = 0x9114
+ TEXTURE_2D_MULTISAMPLE = 0x9100
+ TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102
+ TEXTURE_BINDING_2D_MULTISAMPLE = 0x9104
+ TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY = 0x9105
+ TEXTURE_CUBE_MAP_SEAMLESS = 0x884F
+ TEXTURE_FIXED_SAMPLE_LOCATIONS = 0x9107
+ TEXTURE_SAMPLES = 0x9106
+ TIMEOUT_EXPIRED = 0x911B
TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFF
- GEOMETRY_INPUT_TYPE = 0x8917
TRIANGLES_ADJACENCY = 0x000C
- GEOMETRY_SHADER = 0x8DD9
- LAST_VERTEX_CONVENTION = 0x8E4E
- SYNC_FLUSH_COMMANDS_BIT = 0x00000001
- INT_SAMPLER_2D_MULTISAMPLE = 0x9109
TRIANGLE_STRIP_ADJACENCY = 0x000D
+ UNSIGNALED = 0x9118
+ UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = 0x910A
+ UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910D
WAIT_FAILED = 0x911D
- SYNC_FENCE = 0x9116
- FIRST_VERTEX_CONVENTION = 0x8E4D
- FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS = 0x8DA8
- MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS = 0x8DE1
- TEXTURE_SAMPLES = 0x9106
- SYNC_STATUS = 0x9114
- SYNC_CONDITION = 0x9113
- TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY = 0x9105
- OBJECT_TYPE = 0x9112
- MAX_GEOMETRY_OUTPUT_VERTICES = 0x8DE0
- TEXTURE_2D_MULTISAMPLE = 0x9100
)
// VERSION_3_3
const (
- TEXTURE_SWIZZLE_B = 0x8E44
+ ANY_SAMPLES_PASSED = 0x8C2F
+ INT_2_10_10_10_REV = 0x8D9F
+ MAX_DUAL_SOURCE_DRAW_BUFFERS = 0x88FC
+ ONE_MINUS_SRC1_ALPHA = 0x88FB
ONE_MINUS_SRC1_COLOR = 0x88FA
- TEXTURE_SWIZZLE_G = 0x8E43
- TIMESTAMP = 0x8E28
+ RGB10_A2UI = 0x906F
SAMPLER_BINDING = 0x8919
+ SRC1_COLOR = 0x88F9
+ TEXTURE_SWIZZLE_A = 0x8E45
+ TEXTURE_SWIZZLE_B = 0x8E44
+ TEXTURE_SWIZZLE_G = 0x8E43
TEXTURE_SWIZZLE_R = 0x8E42
- INT_2_10_10_10_REV = 0x8D9F
TEXTURE_SWIZZLE_RGBA = 0x8E46
+ TIMESTAMP = 0x8E28
TIME_ELAPSED = 0x88BF
- SRC1_COLOR = 0x88F9
- ANY_SAMPLES_PASSED = 0x8C2F
VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE
- RGB10_A2UI = 0x906F
- ONE_MINUS_SRC1_ALPHA = 0x88FB
- MAX_DUAL_SOURCE_DRAW_BUFFERS = 0x88FC
- TEXTURE_SWIZZLE_A = 0x8E45
)
// VERSION_4_0
const (
+ ACTIVE_SUBROUTINES = 0x8DE5
+ ACTIVE_SUBROUTINE_MAX_LENGTH = 0x8E48
+ ACTIVE_SUBROUTINE_UNIFORMS = 0x8DE6
ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS = 0x8E47
+ ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH = 0x8E49
+ COMPATIBLE_SUBROUTINES = 0x8E4B
+ DOUBLE_MAT2 = 0x8F46
+ DOUBLE_MAT2x3 = 0x8F49
+ DOUBLE_MAT2x4 = 0x8F4A
+ DOUBLE_MAT3 = 0x8F47
DOUBLE_MAT3x2 = 0x8F4B
- MAX_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E7F
- PATCH_DEFAULT_OUTER_LEVEL = 0x8E74
DOUBLE_MAT3x4 = 0x8F4C
- TESS_GEN_VERTEX_ORDER = 0x8E78
+ DOUBLE_MAT4 = 0x8F48
+ DOUBLE_MAT4x2 = 0x8F4D
+ DOUBLE_MAT4x3 = 0x8F4E
+ DOUBLE_VEC2 = 0x8FFC
+ DOUBLE_VEC3 = 0x8FFD
+ DOUBLE_VEC4 = 0x8FFE
+ DRAW_INDIRECT_BUFFER = 0x8F3F
+ DRAW_INDIRECT_BUFFER_BINDING = 0x8F43
+ FRACTIONAL_EVEN = 0x8E7C
+ FRACTIONAL_ODD = 0x8E7B
+ FRAGMENT_INTERPOLATION_OFFSET_BITS = 0x8E5D
+ GEOMETRY_SHADER_INVOCATIONS = 0x887F
+ INT_SAMPLER_CUBE_MAP_ARRAY = 0x900E
ISOLINES = 0x8E7A
- UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER = 0x84F0
- PATCH_VERTICES = 0x8E72
- MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS = 0x8E81
- PATCH_DEFAULT_INNER_LEVEL = 0x8E73
- MIN_SAMPLE_SHADING_VALUE = 0x8C37
- TESS_GEN_MODE = 0x8E76
- MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS = 0x8E82
- MAX_TESS_EVALUATION_UNIFORM_BLOCKS = 0x8E8A
- SAMPLER_CUBE_MAP_ARRAY = 0x900C
MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E1E
- TRANSFORM_FEEDBACK_BUFFER_PAUSED = TRANSFORM_FEEDBACK_PAUSED
- MAX_TESS_CONTROL_OUTPUT_COMPONENTS = 0x8E83
+ MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E1F
MAX_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5C
- COMPATIBLE_SUBROUTINES = 0x8E4B
- MAX_SUBROUTINE_UNIFORM_LOCATIONS = 0x8DE8
- UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F
- GEOMETRY_SHADER_INVOCATIONS = 0x887F
- UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x84F1
+ MAX_GEOMETRY_SHADER_INVOCATIONS = 0x8E5A
+ MAX_PATCH_VERTICES = 0x8E7D
MAX_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5F
+ MAX_SUBROUTINES = 0x8DE7
+ MAX_SUBROUTINE_UNIFORM_LOCATIONS = 0x8DE8
+ MAX_TESS_CONTROL_INPUT_COMPONENTS = 0x886C
+ MAX_TESS_CONTROL_OUTPUT_COMPONENTS = 0x8E83
+ MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS = 0x8E81
MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS = 0x8E85
- MAX_TESS_EVALUATION_INPUT_COMPONENTS = 0x886D
- MIN_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5E
- TESS_GEN_POINT_MODE = 0x8E79
- DOUBLE_MAT4x3 = 0x8F4E
- MAX_GEOMETRY_SHADER_INVOCATIONS = 0x8E5A
- DOUBLE_MAT2x3 = 0x8F49
- TRANSFORM_FEEDBACK_BUFFER_ACTIVE = TRANSFORM_FEEDBACK_ACTIVE
- ACTIVE_SUBROUTINE_UNIFORMS = 0x8DE6
- DOUBLE_VEC2 = 0x8FFC
- SAMPLE_SHADING = 0x8C36
- SAMPLER_CUBE_MAP_ARRAY_SHADOW = 0x900D
MAX_TESS_CONTROL_UNIFORM_BLOCKS = 0x8E89
- MAX_TESS_GEN_LEVEL = 0x8E7E
- FRACTIONAL_ODD = 0x8E7B
- TRANSFORM_FEEDBACK = 0x8E22
- DRAW_INDIRECT_BUFFER_BINDING = 0x8F43
+ MAX_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E7F
+ MAX_TESS_EVALUATION_INPUT_COMPONENTS = 0x886D
+ MAX_TESS_EVALUATION_OUTPUT_COMPONENTS = 0x8E86
+ MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS = 0x8E82
+ MAX_TESS_EVALUATION_UNIFORM_BLOCKS = 0x8E8A
MAX_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E80
- TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A
- TESS_GEN_SPACING = 0x8E77
- MAX_TESS_CONTROL_INPUT_COMPONENTS = 0x886C
- DOUBLE_VEC4 = 0x8FFE
- DOUBLE_MAT4 = 0x8F48
- INT_SAMPLER_CUBE_MAP_ARRAY = 0x900E
- TEXTURE_CUBE_MAP_ARRAY = 0x9009
- FRACTIONAL_EVEN = 0x8E7C
- PROXY_TEXTURE_CUBE_MAP_ARRAY = 0x900B
- ACTIVE_SUBROUTINES = 0x8DE5
- DOUBLE_MAT3 = 0x8F47
- ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH = 0x8E49
+ MAX_TESS_GEN_LEVEL = 0x8E7E
+ MAX_TESS_PATCH_COMPONENTS = 0x8E84
+ MAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70
+ MAX_VERTEX_STREAMS = 0x8E71
+ MIN_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5B
+ MIN_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5E
+ MIN_SAMPLE_SHADING_VALUE = 0x8C37
+ NUM_COMPATIBLE_SUBROUTINES = 0x8E4A
+ PATCHES = 0x000E
+ PATCH_DEFAULT_INNER_LEVEL = 0x8E73
+ PATCH_DEFAULT_OUTER_LEVEL = 0x8E74
+ PATCH_VERTICES = 0x8E72
+ PROXY_TEXTURE_CUBE_MAP_ARRAY = 0x900B
+ SAMPLER_CUBE_MAP_ARRAY = 0x900C
+ SAMPLER_CUBE_MAP_ARRAY_SHADOW = 0x900D
+ SAMPLE_SHADING = 0x8C36
TESS_CONTROL_OUTPUT_VERTICES = 0x8E75
- MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E1F
- DOUBLE_MAT4x2 = 0x8F4D
- MAX_TESS_PATCH_COMPONENTS = 0x8E84
- MAX_VERTEX_STREAMS = 0x8E71
TESS_CONTROL_SHADER = 0x8E88
- DOUBLE_VEC3 = 0x8FFD
- PATCHES = 0x000E
- MAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70
TESS_EVALUATION_SHADER = 0x8E87
- MAX_PATCH_VERTICES = 0x8E7D
- MAX_TESS_EVALUATION_OUTPUT_COMPONENTS = 0x8E86
- FRAGMENT_INTERPOLATION_OFFSET_BITS = 0x8E5D
- NUM_COMPATIBLE_SUBROUTINES = 0x8E4A
- DOUBLE_MAT2x4 = 0x8F4A
+ TESS_GEN_MODE = 0x8E76
+ TESS_GEN_POINT_MODE = 0x8E79
+ TESS_GEN_SPACING = 0x8E77
+ TESS_GEN_VERTEX_ORDER = 0x8E78
+ TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A
+ TEXTURE_CUBE_MAP_ARRAY = 0x9009
+ TRANSFORM_FEEDBACK = 0x8E22
TRANSFORM_FEEDBACK_BINDING = 0x8E25
- MIN_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5B
- DOUBLE_MAT2 = 0x8F46
- ACTIVE_SUBROUTINE_MAX_LENGTH = 0x8E48
- DRAW_INDIRECT_BUFFER = 0x8F3F
- MAX_SUBROUTINES = 0x8DE7
+ TRANSFORM_FEEDBACK_BUFFER_ACTIVE = TRANSFORM_FEEDBACK_ACTIVE
+ TRANSFORM_FEEDBACK_BUFFER_PAUSED = TRANSFORM_FEEDBACK_PAUSED
+ UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER = 0x84F0
+ UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x84F1
+ UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F
)
// VERSION_4_1
const (
- LOW_INT = 0x8DF3
- VERTEX_SHADER_BIT = 0x00000001
+ ACTIVE_PROGRAM = 0x8259
+ ALL_SHADER_BITS = 0xFFFFFFFF
FIXED = 0x140C
- MEDIUM_INT = 0x8DF4
- IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B
- PROGRAM_SEPARABLE = 0x8258
+ FRAGMENT_SHADER_BIT = 0x00000002
GEOMETRY_SHADER_BIT = 0x00000004
- LOW_FLOAT = 0x8DF0
- VIEWPORT_BOUNDS_RANGE = 0x825D
- MEDIUM_FLOAT = 0x8DF1
- MAX_VARYING_VECTORS = 0x8DFC
- SHADER_COMPILER = 0x8DFA
- PROGRAM_BINARY_FORMATS = 0x87FF
- PROGRAM_BINARY_LENGTH = 0x8741
HIGH_FLOAT = 0x8DF2
- TESS_EVALUATION_SHADER_BIT = 0x00000010
- ALL_SHADER_BITS = 0xFFFFFFFF
- VIEWPORT_SUBPIXEL_BITS = 0x825C
+ HIGH_INT = 0x8DF5
+ IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B
IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A
- RGB565 = 0x8D62
+ LAYER_PROVOKING_VERTEX = 0x825E
+ LOW_FLOAT = 0x8DF0
+ LOW_INT = 0x8DF3
MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD
- ACTIVE_PROGRAM = 0x8259
- UNDEFINED_VERTEX = 0x8260
- MAX_VIEWPORTS = 0x825B
- HIGH_INT = 0x8DF5
+ MAX_VARYING_VECTORS = 0x8DFC
MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB
- FRAGMENT_SHADER_BIT = 0x00000002
+ MAX_VIEWPORTS = 0x825B
+ MEDIUM_FLOAT = 0x8DF1
+ MEDIUM_INT = 0x8DF4
NUM_PROGRAM_BINARY_FORMATS = 0x87FE
+ NUM_SHADER_BINARY_FORMATS = 0x8DF9
+ PROGRAM_BINARY_FORMATS = 0x87FF
+ PROGRAM_BINARY_LENGTH = 0x8741
+ PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257
PROGRAM_PIPELINE_BINDING = 0x825A
- VIEWPORT_INDEX_PROVOKING_VERTEX = 0x825F
+ PROGRAM_SEPARABLE = 0x8258
+ RGB565 = 0x8D62
+ SHADER_COMPILER = 0x8DFA
TESS_CONTROL_SHADER_BIT = 0x00000008
- PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257
- LAYER_PROVOKING_VERTEX = 0x825E
- NUM_SHADER_BINARY_FORMATS = 0x8DF9
+ TESS_EVALUATION_SHADER_BIT = 0x00000010
+ UNDEFINED_VERTEX = 0x8260
+ VERTEX_SHADER_BIT = 0x00000001
+ VIEWPORT_BOUNDS_RANGE = 0x825D
+ VIEWPORT_INDEX_PROVOKING_VERTEX = 0x825F
+ VIEWPORT_SUBPIXEL_BITS = 0x825C
)
// VERSION_4_2
const (
- MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS = 0x92D0
- IMAGE_BINDING_LEVEL = 0x8F3B
- IMAGE_FORMAT_COMPATIBILITY_TYPE = 0x90C7
+ ACTIVE_ATOMIC_COUNTER_BUFFERS = 0x92D9
+ ALL_BARRIER_BITS = 0xFFFFFFFF
+ ATOMIC_COUNTER_BARRIER_BIT = 0x00001000
ATOMIC_COUNTER_BUFFER = 0x92C0
- TEXTURE_FETCH_BARRIER_BIT = 0x00000008
- INT_IMAGE_2D_ARRAY = 0x905E
- PACK_COMPRESSED_BLOCK_DEPTH = 0x912D
- MAX_ATOMIC_COUNTER_BUFFER_SIZE = 0x92D8
+ ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS = 0x92C5
+ ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES = 0x92C6
+ ATOMIC_COUNTER_BUFFER_BINDING = 0x92C1
+ ATOMIC_COUNTER_BUFFER_DATA_SIZE = 0x92C4
ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER = 0x92CB
- UNPACK_COMPRESSED_BLOCK_WIDTH = 0x9127
- ACTIVE_ATOMIC_COUNTER_BUFFERS = 0x92D9
- MAX_FRAGMENT_ATOMIC_COUNTERS = 0x92D6
- TEXTURE_UPDATE_BARRIER_BIT = 0x00000100
- UNPACK_COMPRESSED_BLOCK_SIZE = 0x912A
- UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY = 0x906C
- MAX_TESS_EVALUATION_IMAGE_UNIFORMS = 0x90CC
- IMAGE_BINDING_LAYERED = 0x8F3C
- ELEMENT_ARRAY_BARRIER_BIT = 0x00000002
- UNSIGNED_INT_IMAGE_CUBE = 0x9066
+ ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER = 0x92CA
+ ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER = 0x92C8
+ ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x92C9
+ ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER = 0x92C7
+ ATOMIC_COUNTER_BUFFER_SIZE = 0x92C3
+ ATOMIC_COUNTER_BUFFER_START = 0x92C2
BUFFER_UPDATE_BARRIER_BIT = 0x00000200
+ COMMAND_BARRIER_BIT = 0x00000040
+ ELEMENT_ARRAY_BARRIER_BIT = 0x00000002
+ FRAMEBUFFER_BARRIER_BIT = 0x00000400
IMAGE_1D = 0x904C
+ IMAGE_1D_ARRAY = 0x9052
+ IMAGE_2D = 0x904D
+ IMAGE_2D_ARRAY = 0x9053
+ IMAGE_2D_MULTISAMPLE = 0x9055
+ IMAGE_2D_MULTISAMPLE_ARRAY = 0x9056
IMAGE_2D_RECT = 0x904F
- ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES = 0x92C6
- ATOMIC_COUNTER_BUFFER_SIZE = 0x92C3
- PACK_COMPRESSED_BLOCK_SIZE = 0x912E
- MAX_TESS_CONTROL_ATOMIC_COUNTERS = 0x92D3
- ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS = 0x92C5
- ALL_BARRIER_BITS = 0xFFFFFFFF
+ IMAGE_3D = 0x904E
IMAGE_BINDING_ACCESS = 0x8F3E
+ IMAGE_BINDING_FORMAT = 0x906E
+ IMAGE_BINDING_LAYER = 0x8F3D
+ IMAGE_BINDING_LAYERED = 0x8F3C
+ IMAGE_BINDING_LEVEL = 0x8F3B
IMAGE_BINDING_NAME = 0x8F3A
- MAX_VERTEX_IMAGE_UNIFORMS = 0x90CA
- IMAGE_3D = 0x904E
- ATOMIC_COUNTER_BARRIER_BIT = 0x00001000
- MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS = 0x92CD
- MAX_COMBINED_ATOMIC_COUNTERS = 0x92D7
- INT_IMAGE_2D = 0x9058
- UNSIGNED_INT_IMAGE_2D_RECT = 0x9065
IMAGE_BUFFER = 0x9051
- PACK_COMPRESSED_BLOCK_HEIGHT = 0x912C
- TEXTURE_IMMUTABLE_FORMAT = 0x912F
- IMAGE_FORMAT_COMPATIBILITY_BY_CLASS = 0x90C9
- IMAGE_2D_MULTISAMPLE_ARRAY = 0x9056
- UNSIGNED_INT_IMAGE_2D = 0x9063
- ATOMIC_COUNTER_BUFFER_START = 0x92C2
- INT_IMAGE_CUBE_MAP_ARRAY = 0x905F
- COMMAND_BARRIER_BIT = 0x00000040
- IMAGE_1D_ARRAY = 0x9052
- UNSIGNED_INT_ATOMIC_COUNTER = 0x92DB
- ATOMIC_COUNTER_BUFFER_BINDING = 0x92C1
- UNSIGNED_INT_IMAGE_3D = 0x9064
- MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS = 0x92CE
+ IMAGE_CUBE = 0x9050
IMAGE_CUBE_MAP_ARRAY = 0x9054
- MAX_TESS_EVALUATION_ATOMIC_COUNTERS = 0x92D4
+ IMAGE_FORMAT_COMPATIBILITY_BY_CLASS = 0x90C9
+ IMAGE_FORMAT_COMPATIBILITY_BY_SIZE = 0x90C8
+ IMAGE_FORMAT_COMPATIBILITY_TYPE = 0x90C7
+ INT_IMAGE_1D = 0x9057
INT_IMAGE_1D_ARRAY = 0x905D
- IMAGE_BINDING_FORMAT = 0x906E
- IMAGE_BINDING_LAYER = 0x8F3D
- UNPACK_COMPRESSED_BLOCK_HEIGHT = 0x9128
- UNIFORM_BARRIER_BIT = 0x00000004
- INT_IMAGE_CUBE = 0x905B
- ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER = 0x92C8
- MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS = 0x8F39
+ INT_IMAGE_2D = 0x9058
+ INT_IMAGE_2D_ARRAY = 0x905E
+ INT_IMAGE_2D_MULTISAMPLE = 0x9060
+ INT_IMAGE_2D_MULTISAMPLE_ARRAY = 0x9061
+ INT_IMAGE_2D_RECT = 0x905A
+ INT_IMAGE_3D = 0x9059
INT_IMAGE_BUFFER = 0x905C
- ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER = 0x92CA
- VERTEX_ATTRIB_ARRAY_BARRIER_BIT = 0x00000001
- UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY = 0x906A
- MIN_MAP_BUFFER_ALIGNMENT = 0x90BC
+ INT_IMAGE_CUBE = 0x905B
+ INT_IMAGE_CUBE_MAP_ARRAY = 0x905F
+ MAX_ATOMIC_COUNTER_BUFFER_BINDINGS = 0x92DC
+ MAX_ATOMIC_COUNTER_BUFFER_SIZE = 0x92D8
+ MAX_COMBINED_ATOMIC_COUNTERS = 0x92D7
+ MAX_COMBINED_ATOMIC_COUNTER_BUFFERS = 0x92D1
MAX_COMBINED_IMAGE_UNIFORMS = 0x90CF
+ MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS = 0x8F39
+ MAX_FRAGMENT_ATOMIC_COUNTERS = 0x92D6
+ MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS = 0x92D0
+ MAX_FRAGMENT_IMAGE_UNIFORMS = 0x90CE
+ MAX_GEOMETRY_ATOMIC_COUNTERS = 0x92D5
+ MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS = 0x92CF
MAX_GEOMETRY_IMAGE_UNIFORMS = 0x90CD
- SHADER_IMAGE_ACCESS_BARRIER_BIT = 0x00000020
+ MAX_IMAGE_SAMPLES = 0x906D
+ MAX_IMAGE_UNITS = 0x8F38
+ MAX_TESS_CONTROL_ATOMIC_COUNTERS = 0x92D3
+ MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS = 0x92CD
+ MAX_TESS_CONTROL_IMAGE_UNIFORMS = 0x90CB
+ MAX_TESS_EVALUATION_ATOMIC_COUNTERS = 0x92D4
+ MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS = 0x92CE
+ MAX_TESS_EVALUATION_IMAGE_UNIFORMS = 0x90CC
MAX_VERTEX_ATOMIC_COUNTERS = 0x92D2
- IMAGE_2D_MULTISAMPLE = 0x9055
+ MAX_VERTEX_ATOMIC_COUNTER_BUFFERS = 0x92CC
+ MAX_VERTEX_IMAGE_UNIFORMS = 0x90CA
+ MIN_MAP_BUFFER_ALIGNMENT = 0x90BC
+ NUM_SAMPLE_COUNTS = 0x9380
+ PACK_COMPRESSED_BLOCK_DEPTH = 0x912D
+ PACK_COMPRESSED_BLOCK_HEIGHT = 0x912C
+ PACK_COMPRESSED_BLOCK_SIZE = 0x912E
+ PACK_COMPRESSED_BLOCK_WIDTH = 0x912B
+ PIXEL_BUFFER_BARRIER_BIT = 0x00000080
+ SHADER_IMAGE_ACCESS_BARRIER_BIT = 0x00000020
+ TEXTURE_FETCH_BARRIER_BIT = 0x00000008
+ TEXTURE_IMMUTABLE_FORMAT = 0x912F
+ TEXTURE_UPDATE_BARRIER_BIT = 0x00000100
TRANSFORM_FEEDBACK_BARRIER_BIT = 0x00000800
- IMAGE_2D_ARRAY = 0x9053
- IMAGE_2D = 0x904D
- UNSIGNED_INT_IMAGE_2D_ARRAY = 0x9069
UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX = 0x92DA
- INT_IMAGE_3D = 0x9059
- ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x92C9
- INT_IMAGE_1D = 0x9057
- MAX_GEOMETRY_ATOMIC_COUNTERS = 0x92D5
- UNSIGNED_INT_IMAGE_1D_ARRAY = 0x9068
- MAX_COMBINED_ATOMIC_COUNTER_BUFFERS = 0x92D1
- INT_IMAGE_2D_MULTISAMPLE = 0x9060
- MAX_FRAGMENT_IMAGE_UNIFORMS = 0x90CE
- ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER = 0x92C7
- IMAGE_CUBE = 0x9050
- MAX_TESS_CONTROL_IMAGE_UNIFORMS = 0x90CB
- NUM_SAMPLE_COUNTS = 0x9380
+ UNIFORM_BARRIER_BIT = 0x00000004
+ UNPACK_COMPRESSED_BLOCK_DEPTH = 0x9129
+ UNPACK_COMPRESSED_BLOCK_HEIGHT = 0x9128
+ UNPACK_COMPRESSED_BLOCK_SIZE = 0x912A
+ UNPACK_COMPRESSED_BLOCK_WIDTH = 0x9127
+ UNSIGNED_INT_ATOMIC_COUNTER = 0x92DB
UNSIGNED_INT_IMAGE_1D = 0x9062
- UNSIGNED_INT_IMAGE_BUFFER = 0x9067
+ UNSIGNED_INT_IMAGE_1D_ARRAY = 0x9068
+ UNSIGNED_INT_IMAGE_2D = 0x9063
+ UNSIGNED_INT_IMAGE_2D_ARRAY = 0x9069
UNSIGNED_INT_IMAGE_2D_MULTISAMPLE = 0x906B
- PIXEL_BUFFER_BARRIER_BIT = 0x00000080
- FRAMEBUFFER_BARRIER_BIT = 0x00000400
- INT_IMAGE_2D_MULTISAMPLE_ARRAY = 0x9061
- INT_IMAGE_2D_RECT = 0x905A
- IMAGE_FORMAT_COMPATIBILITY_BY_SIZE = 0x90C8
- MAX_ATOMIC_COUNTER_BUFFER_BINDINGS = 0x92DC
- MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS = 0x92CF
- UNPACK_COMPRESSED_BLOCK_DEPTH = 0x9129
- PACK_COMPRESSED_BLOCK_WIDTH = 0x912B
- MAX_VERTEX_ATOMIC_COUNTER_BUFFERS = 0x92CC
- ATOMIC_COUNTER_BUFFER_DATA_SIZE = 0x92C4
- MAX_IMAGE_UNITS = 0x8F38
- MAX_IMAGE_SAMPLES = 0x906D
+ UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY = 0x906C
+ UNSIGNED_INT_IMAGE_2D_RECT = 0x9065
+ UNSIGNED_INT_IMAGE_3D = 0x9064
+ UNSIGNED_INT_IMAGE_BUFFER = 0x9067
+ UNSIGNED_INT_IMAGE_CUBE = 0x9066
+ UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY = 0x906A
+ VERTEX_ATTRIB_ARRAY_BARRIER_BIT = 0x00000001
)
// VERSION_1_0
Please sign in to comment.
Something went wrong with that request. Please try again.