aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-common-extensions.cfg
blob: f03d58d4a28d5ea9c7762f3c9545a4670edf1c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140

DropUniqVendorExtensions 3DFX
DropUniqVendorExtensions AMD
DropUniqVendorExtensions APPLE
DropUniqVendorExtensions ATI
DropUniqVendorExtensions HP
DropUniqVendorExtensions IBM
DropUniqVendorExtensions INGR
DropUniqVendorExtensions MESA
DropUniqVendorExtensions MESAX
DropUniqVendorExtensions NV
DropUniqVendorExtensions PGI
DropUniqVendorExtensions SGI
DropUniqVendorExtensions SGIS
DropUniqVendorExtensions SGIX
DropUniqVendorExtensions SUN
DropUniqVendorExtensions WIN

# Enums handled by base GL class
Ignore GL_FRAMEBUFFER_EXT
Ignore GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT
Ignore GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT
Ignore GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT
Ignore GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT
Ignore GL_FRAMEBUFFER_COMPLETE_EXT
Ignore GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT
Ignore GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
Ignore GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
Ignore GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
Ignore GL_FRAMEBUFFER_UNSUPPORTED_EXT
Ignore GL_FRAMEBUFFER_BINDING_EXT
Ignore GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT
Ignore GL_INVALID_FRAMEBUFFER_OPERATION_EXT
Ignore GL_COLOR_ATTACHMENT0_EXT
Ignore GL_DEPTH_ATTACHMENT_EXT
Ignore GL_STENCIL_ATTACHMENT_EXT
Ignore GL_RENDERBUFFER_EXT
Ignore GL_RENDERBUFFER_ALPHA_SIZE_EXT
Ignore GL_RENDERBUFFER_BINDING_EXT
Ignore GL_RENDERBUFFER_BLUE_SIZE_EXT
Ignore GL_RENDERBUFFER_DEPTH_SIZE_EXT
Ignore GL_RENDERBUFFER_GREEN_SIZE_EXT
Ignore GL_RENDERBUFFER_HEIGHT_EXT
Ignore GL_RENDERBUFFER_INTERNAL_FORMAT_EXT
Ignore GL_RENDERBUFFER_RED_SIZE_EXT
Ignore GL_RENDERBUFFER_STENCIL_SIZE_EXT
Ignore GL_RENDERBUFFER_WIDTH_EXT
Ignore GL_MAX_RENDERBUFFER_SIZE_EXT

# normalise extensions
RenameJavaMethod glBindFramebufferEXT glBindFramebuffer
RenameJavaMethod glBindRenderbufferEXT glBindRenderbuffer
RenameJavaMethod glCheckFramebufferStatusEXT glCheckFramebufferStatus
RenameJavaMethod glDeleteFramebuffersEXT glDeleteFramebuffers
RenameJavaMethod glDeleteRenderbuffersEXT glDeleteRenderbuffers
RenameJavaMethod glFramebufferRenderbufferEXT glFramebufferRenderbuffer
RenameJavaMethod glFramebufferTexture2DEXT glFramebufferTexture2D
RenameJavaMethod glGenerateMipmapEXT glGenerateMipmap
RenameJavaMethod glGenFramebuffersEXT glGenFramebuffers
RenameJavaMethod glGenRenderbuffersEXT glGenRenderbuffers
RenameJavaMethod glGetFramebufferAttachmentParameterivEXT glGetFramebufferAttachmentParameteriv
RenameJavaMethod glGetRenderbufferParameterivEXT glGetRenderbufferParameteriv
RenameJavaMethod glIsFramebufferEXT glIsFramebuffer
RenameJavaMethod glIsRenderbufferEXT glIsRenderbuffer
RenameJavaMethod glRenderbufferStorageEXT glRenderbufferStorage

# Remove extension suffixes from extensions which are common between OpenGL and OpenGL ES
RenameExtensionIntoCore GL_ARB_half_float_pixel
RenameExtensionIntoCore GL_ARB_point_sprite
RenameExtensionIntoCore GL_OES_blend_equation_separate
RenameExtensionIntoCore GL_OES_blend_func_separate
RenameExtensionIntoCore GL_OES_blend_subtract
RenameExtensionIntoCore GL_OES_compressed_paletted_texture
RenameExtensionIntoCore GL_OES_depth24
RenameExtensionIntoCore GL_OES_depth32
RenameExtensionIntoCore GL_OES_framebuffer_object
RenameExtensionIntoCore GL_OES_mapbuffer
RenameExtensionIntoCore GL_OES_point_sprite
RenameExtensionIntoCore GL_OES_rgb8_rgba8
RenameExtensionIntoCore GL_OES_read_format
RenameExtensionIntoCore GL_OES_stencil1
RenameExtensionIntoCore GL_OES_stencil4
RenameExtensionIntoCore GL_OES_stencil8
RenameExtensionIntoCore GL_OES_stencil_wrap
RenameExtensionIntoCore GL_OES_texture_cube_map
RenameExtensionIntoCore GL_OES_texture_half_float
RenameExtensionIntoCore GL_OES_texture_mirrored_repeat

RenameJavaSymbol GL_STENCIL_INDEX1_EXT GL_STENCIL_INDEX1
RenameJavaSymbol GL_STENCIL_INDEX4_EXT GL_STENCIL_INDEX4
RenameJavaSymbol GL_STENCIL_INDEX8_EXT GL_STENCIL_INDEX8

# The following extensions have some differences requiring us to
# manually rename some symbols and leave others alone for best
# correctness
# RenameExtensionIntoCore GL_ARB_matrix_palette
# We do not want to pull in all of this extension into the core namespace
# RenameExtensionIntoCore GL_ARB_vertex_blend

RenameJavaSymbol GL_MAX_VERTEX_UNITS_ARB GL_MAX_VERTEX_UNITS
RenameJavaSymbol GL_MAX_PALETTE_MATRICES_ARB GL_MAX_PALETTE_MATRICES
RenameJavaSymbol GL_MATRIX_PALETTE_ARB GL_MATRIX_PALETTE
RenameJavaSymbol GL_MATRIX_INDEX_ARRAY_ARB GL_MATRIX_INDEX_ARRAY
RenameJavaSymbol GL_WEIGHT_ARRAY_ARB GL_WEIGHT_ARRAY
RenameJavaSymbol GL_CURRENT_PALETTE_MATRIX_ARB GL_CURRENT_PALETTE_MATRIX
RenameJavaSymbol GL_MATRIX_INDEX_ARRAY_SIZE_ARB GL_MATRIX_INDEX_ARRAY_SIZE
RenameJavaSymbol GL_MATRIX_INDEX_ARRAY_TYPE_ARB GL_MATRIX_INDEX_ARRAY_TYPE
RenameJavaSymbol GL_MATRIX_INDEX_ARRAY_STRIDE_ARB GL_MATRIX_INDEX_ARRAY_STRIDE
RenameJavaSymbol GL_MATRIX_INDEX_ARRAY_POINTER_ARB GL_MATRIX_INDEX_ARRAY_POINTER
RenameJavaSymbol GL_WEIGHT_ARRAY_SIZE_ARB GL_WEIGHT_ARRAY_SIZE
RenameJavaSymbol GL_WEIGHT_ARRAY_TYPE_ARB GL_WEIGHT_ARRAY_TYPE
RenameJavaSymbol GL_WEIGHT_ARRAY_STRIDE_ARB GL_WEIGHT_ARRAY_STRIDE
RenameJavaSymbol GL_WEIGHT_ARRAY_POINTER_ARB GL_WEIGHT_ARRAY_POINTER
RenameJavaSymbol glCurrentPaletteMatrixARB glCurrentPaletteMatrix
RenameJavaSymbol glMatrixIndexPointerARB glMatrixIndexPointer
RenameJavaSymbol glWeightPointerARB glWeightPointer

# There are some definitions in this extension that don't exist in desktop OpenGL,
# so we shouldn't remove the suffixes of those OES-only variants
# RenameExtensionIntoCore GL_OES_matrix_palette
RenameJavaSymbol GL_MAX_VERTEX_UNITS_OES GL_MAX_VERTEX_UNITS
RenameJavaSymbol GL_MAX_PALETTE_MATRICES_OES GL_MAX_PALETTE_MATRICES
RenameJavaSymbol GL_MATRIX_PALETTE_OES GL_MATRIX_PALETTE
RenameJavaSymbol GL_MATRIX_INDEX_ARRAY_OES GL_MATRIX_INDEX_ARRAY
RenameJavaSymbol GL_WEIGHT_ARRAY_OES GL_WEIGHT_ARRAY
RenameJavaSymbol GL_CURRENT_PALETTE_MATRIX_OES GL_CURRENT_PALETTE_MATRIX
RenameJavaSymbol GL_MATRIX_INDEX_ARRAY_SIZE_OES GL_MATRIX_INDEX_ARRAY_SIZE
RenameJavaSymbol GL_MATRIX_INDEX_ARRAY_TYPE_OES GL_MATRIX_INDEX_ARRAY_TYPE
RenameJavaSymbol GL_MATRIX_INDEX_ARRAY_STRIDE_OES GL_MATRIX_INDEX_ARRAY_STRIDE
RenameJavaSymbol GL_MATRIX_INDEX_ARRAY_POINTER_OES GL_MATRIX_INDEX_ARRAY_POINTER
RenameJavaSymbol GL_WEIGHT_ARRAY_SIZE_OES GL_WEIGHT_ARRAY_SIZE
RenameJavaSymbol GL_WEIGHT_ARRAY_TYPE_OES GL_WEIGHT_ARRAY_TYPE
RenameJavaSymbol GL_WEIGHT_ARRAY_STRIDE_OES GL_WEIGHT_ARRAY_STRIDE
RenameJavaSymbol GL_WEIGHT_ARRAY_POINTER_OES GL_WEIGHT_ARRAY_POINTER
RenameJavaSymbol GL_WEIGHT_ARRAY_BUFFER_BINDING_OES GL_WEIGHT_ARRAY_BUFFER_BINDING
RenameJavaSymbol glCurrentPaletteMatrixOES glCurrentPaletteMatrix
RenameJavaSymbol glMatrixIndexPointerOES glMatrixIndexPointer
RenameJavaSymbol glWeightPointerOES glWeightPointer