opengl-bindings 1.2.6 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +6 -0
- data/README.md +13 -4
- data/lib/opengl_command.rb +10 -10
- data/lib/opengl_es.rb +7 -0
- data/lib/opengl_es_command.rb +1733 -0
- data/lib/opengl_es_enum.rb +616 -0
- data/lib/opengl_es_ext.rb +4 -0
- data/lib/opengl_es_ext_command.rb +2238 -0
- data/lib/opengl_es_ext_enum.rb +1074 -0
- data/lib/opengl_ext.rb +1 -30
- data/lib/opengl_ext_command.rb +54 -2
- data/lib/opengl_ext_common.rb +29 -0
- data/lib/opengl_ext_enum.rb +17 -0
- data/sample/report_env.rb +2 -1
- data/sample/report_env_es.rb +22 -0
- metadata +12 -4
@@ -0,0 +1,1074 @@
|
|
1
|
+
# opengl-bindings
|
2
|
+
# * http://rubygems.org/gems/opengl-bindings
|
3
|
+
# * http://github.com/vaiorabbit/ruby-opengl
|
4
|
+
#
|
5
|
+
# [NOTICE] This is an automatically generated file.
|
6
|
+
|
7
|
+
module OpenGL
|
8
|
+
|
9
|
+
def define_enum_GL_AMD_compressed_3DC_texture
|
10
|
+
const_set('GL_3DC_X_AMD', 0x87F9) unless defined?(GL_3DC_X_AMD)
|
11
|
+
const_set('GL_3DC_XY_AMD', 0x87FA) unless defined?(GL_3DC_XY_AMD)
|
12
|
+
end # define_enum_GL_AMD_compressed_3DC_texture
|
13
|
+
|
14
|
+
def define_enum_GL_AMD_compressed_ATC_texture
|
15
|
+
const_set('GL_ATC_RGB_AMD', 0x8C92) unless defined?(GL_ATC_RGB_AMD)
|
16
|
+
const_set('GL_ATC_RGBA_EXPLICIT_ALPHA_AMD', 0x8C93) unless defined?(GL_ATC_RGBA_EXPLICIT_ALPHA_AMD)
|
17
|
+
const_set('GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD', 0x87EE) unless defined?(GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD)
|
18
|
+
end # define_enum_GL_AMD_compressed_ATC_texture
|
19
|
+
|
20
|
+
def define_enum_GL_AMD_performance_monitor
|
21
|
+
const_set('GL_COUNTER_TYPE_AMD', 0x8BC0) unless defined?(GL_COUNTER_TYPE_AMD)
|
22
|
+
const_set('GL_COUNTER_RANGE_AMD', 0x8BC1) unless defined?(GL_COUNTER_RANGE_AMD)
|
23
|
+
const_set('GL_UNSIGNED_INT64_AMD', 0x8BC2) unless defined?(GL_UNSIGNED_INT64_AMD)
|
24
|
+
const_set('GL_PERCENTAGE_AMD', 0x8BC3) unless defined?(GL_PERCENTAGE_AMD)
|
25
|
+
const_set('GL_PERFMON_RESULT_AVAILABLE_AMD', 0x8BC4) unless defined?(GL_PERFMON_RESULT_AVAILABLE_AMD)
|
26
|
+
const_set('GL_PERFMON_RESULT_SIZE_AMD', 0x8BC5) unless defined?(GL_PERFMON_RESULT_SIZE_AMD)
|
27
|
+
const_set('GL_PERFMON_RESULT_AMD', 0x8BC6) unless defined?(GL_PERFMON_RESULT_AMD)
|
28
|
+
end # define_enum_GL_AMD_performance_monitor
|
29
|
+
|
30
|
+
def define_enum_GL_AMD_program_binary_Z400
|
31
|
+
const_set('GL_Z400_BINARY_AMD', 0x8740) unless defined?(GL_Z400_BINARY_AMD)
|
32
|
+
end # define_enum_GL_AMD_program_binary_Z400
|
33
|
+
|
34
|
+
def define_enum_GL_ANGLE_depth_texture
|
35
|
+
const_set('GL_DEPTH_COMPONENT', 0x1902) unless defined?(GL_DEPTH_COMPONENT)
|
36
|
+
const_set('GL_DEPTH_STENCIL_OES', 0x84F9) unless defined?(GL_DEPTH_STENCIL_OES)
|
37
|
+
const_set('GL_UNSIGNED_SHORT', 0x1403) unless defined?(GL_UNSIGNED_SHORT)
|
38
|
+
const_set('GL_UNSIGNED_INT', 0x1405) unless defined?(GL_UNSIGNED_INT)
|
39
|
+
const_set('GL_UNSIGNED_INT_24_8_OES', 0x84FA) unless defined?(GL_UNSIGNED_INT_24_8_OES)
|
40
|
+
const_set('GL_DEPTH_COMPONENT16', 0x81A5) unless defined?(GL_DEPTH_COMPONENT16)
|
41
|
+
const_set('GL_DEPTH_COMPONENT32_OES', 0x81A7) unless defined?(GL_DEPTH_COMPONENT32_OES)
|
42
|
+
const_set('GL_DEPTH24_STENCIL8_OES', 0x88F0) unless defined?(GL_DEPTH24_STENCIL8_OES)
|
43
|
+
end # define_enum_GL_ANGLE_depth_texture
|
44
|
+
|
45
|
+
def define_enum_GL_ANGLE_framebuffer_blit
|
46
|
+
const_set('GL_READ_FRAMEBUFFER_ANGLE', 0x8CA8) unless defined?(GL_READ_FRAMEBUFFER_ANGLE)
|
47
|
+
const_set('GL_DRAW_FRAMEBUFFER_ANGLE', 0x8CA9) unless defined?(GL_DRAW_FRAMEBUFFER_ANGLE)
|
48
|
+
const_set('GL_DRAW_FRAMEBUFFER_BINDING_ANGLE', 0x8CA6) unless defined?(GL_DRAW_FRAMEBUFFER_BINDING_ANGLE)
|
49
|
+
const_set('GL_READ_FRAMEBUFFER_BINDING_ANGLE', 0x8CAA) unless defined?(GL_READ_FRAMEBUFFER_BINDING_ANGLE)
|
50
|
+
end # define_enum_GL_ANGLE_framebuffer_blit
|
51
|
+
|
52
|
+
def define_enum_GL_ANGLE_framebuffer_multisample
|
53
|
+
const_set('GL_RENDERBUFFER_SAMPLES_ANGLE', 0x8CAB) unless defined?(GL_RENDERBUFFER_SAMPLES_ANGLE)
|
54
|
+
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE', 0x8D56) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE)
|
55
|
+
const_set('GL_MAX_SAMPLES_ANGLE', 0x8D57) unless defined?(GL_MAX_SAMPLES_ANGLE)
|
56
|
+
end # define_enum_GL_ANGLE_framebuffer_multisample
|
57
|
+
|
58
|
+
def define_enum_GL_ANGLE_instanced_arrays
|
59
|
+
const_set('GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE', 0x88FE) unless defined?(GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE)
|
60
|
+
end # define_enum_GL_ANGLE_instanced_arrays
|
61
|
+
|
62
|
+
def define_enum_GL_ANGLE_pack_reverse_row_order
|
63
|
+
const_set('GL_PACK_REVERSE_ROW_ORDER_ANGLE', 0x93A4) unless defined?(GL_PACK_REVERSE_ROW_ORDER_ANGLE)
|
64
|
+
end # define_enum_GL_ANGLE_pack_reverse_row_order
|
65
|
+
|
66
|
+
def define_enum_GL_ANGLE_program_binary
|
67
|
+
const_set('GL_PROGRAM_BINARY_ANGLE', 0x93A6) unless defined?(GL_PROGRAM_BINARY_ANGLE)
|
68
|
+
end # define_enum_GL_ANGLE_program_binary
|
69
|
+
|
70
|
+
def define_enum_GL_ANGLE_texture_compression_dxt3
|
71
|
+
const_set('GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE', 0x83F2) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE)
|
72
|
+
end # define_enum_GL_ANGLE_texture_compression_dxt3
|
73
|
+
|
74
|
+
def define_enum_GL_ANGLE_texture_compression_dxt5
|
75
|
+
const_set('GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE', 0x83F3) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE)
|
76
|
+
end # define_enum_GL_ANGLE_texture_compression_dxt5
|
77
|
+
|
78
|
+
def define_enum_GL_ANGLE_texture_usage
|
79
|
+
const_set('GL_TEXTURE_USAGE_ANGLE', 0x93A2) unless defined?(GL_TEXTURE_USAGE_ANGLE)
|
80
|
+
const_set('GL_FRAMEBUFFER_ATTACHMENT_ANGLE', 0x93A3) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_ANGLE)
|
81
|
+
end # define_enum_GL_ANGLE_texture_usage
|
82
|
+
|
83
|
+
def define_enum_GL_ANGLE_translated_shader_source
|
84
|
+
const_set('GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE', 0x93A0) unless defined?(GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE)
|
85
|
+
end # define_enum_GL_ANGLE_translated_shader_source
|
86
|
+
|
87
|
+
def define_enum_GL_APPLE_copy_texture_levels
|
88
|
+
end # define_enum_GL_APPLE_copy_texture_levels
|
89
|
+
|
90
|
+
def define_enum_GL_APPLE_framebuffer_multisample
|
91
|
+
const_set('GL_RENDERBUFFER_SAMPLES_APPLE', 0x8CAB) unless defined?(GL_RENDERBUFFER_SAMPLES_APPLE)
|
92
|
+
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE', 0x8D56) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE)
|
93
|
+
const_set('GL_MAX_SAMPLES_APPLE', 0x8D57) unless defined?(GL_MAX_SAMPLES_APPLE)
|
94
|
+
const_set('GL_READ_FRAMEBUFFER_APPLE', 0x8CA8) unless defined?(GL_READ_FRAMEBUFFER_APPLE)
|
95
|
+
const_set('GL_DRAW_FRAMEBUFFER_APPLE', 0x8CA9) unless defined?(GL_DRAW_FRAMEBUFFER_APPLE)
|
96
|
+
const_set('GL_DRAW_FRAMEBUFFER_BINDING_APPLE', 0x8CA6) unless defined?(GL_DRAW_FRAMEBUFFER_BINDING_APPLE)
|
97
|
+
const_set('GL_READ_FRAMEBUFFER_BINDING_APPLE', 0x8CAA) unless defined?(GL_READ_FRAMEBUFFER_BINDING_APPLE)
|
98
|
+
end # define_enum_GL_APPLE_framebuffer_multisample
|
99
|
+
|
100
|
+
def define_enum_GL_APPLE_rgb_422
|
101
|
+
const_set('GL_RGB_422_APPLE', 0x8A1F) unless defined?(GL_RGB_422_APPLE)
|
102
|
+
const_set('GL_UNSIGNED_SHORT_8_8_APPLE', 0x85BA) unless defined?(GL_UNSIGNED_SHORT_8_8_APPLE)
|
103
|
+
const_set('GL_UNSIGNED_SHORT_8_8_REV_APPLE', 0x85BB) unless defined?(GL_UNSIGNED_SHORT_8_8_REV_APPLE)
|
104
|
+
const_set('GL_RGB_RAW_422_APPLE', 0x8A51) unless defined?(GL_RGB_RAW_422_APPLE)
|
105
|
+
end # define_enum_GL_APPLE_rgb_422
|
106
|
+
|
107
|
+
def define_enum_GL_APPLE_sync
|
108
|
+
const_set('GL_SYNC_OBJECT_APPLE', 0x8A53) unless defined?(GL_SYNC_OBJECT_APPLE)
|
109
|
+
const_set('GL_MAX_SERVER_WAIT_TIMEOUT_APPLE', 0x9111) unless defined?(GL_MAX_SERVER_WAIT_TIMEOUT_APPLE)
|
110
|
+
const_set('GL_OBJECT_TYPE_APPLE', 0x9112) unless defined?(GL_OBJECT_TYPE_APPLE)
|
111
|
+
const_set('GL_SYNC_CONDITION_APPLE', 0x9113) unless defined?(GL_SYNC_CONDITION_APPLE)
|
112
|
+
const_set('GL_SYNC_STATUS_APPLE', 0x9114) unless defined?(GL_SYNC_STATUS_APPLE)
|
113
|
+
const_set('GL_SYNC_FLAGS_APPLE', 0x9115) unless defined?(GL_SYNC_FLAGS_APPLE)
|
114
|
+
const_set('GL_SYNC_FENCE_APPLE', 0x9116) unless defined?(GL_SYNC_FENCE_APPLE)
|
115
|
+
const_set('GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE', 0x9117) unless defined?(GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE)
|
116
|
+
const_set('GL_UNSIGNALED_APPLE', 0x9118) unless defined?(GL_UNSIGNALED_APPLE)
|
117
|
+
const_set('GL_SIGNALED_APPLE', 0x9119) unless defined?(GL_SIGNALED_APPLE)
|
118
|
+
const_set('GL_ALREADY_SIGNALED_APPLE', 0x911A) unless defined?(GL_ALREADY_SIGNALED_APPLE)
|
119
|
+
const_set('GL_TIMEOUT_EXPIRED_APPLE', 0x911B) unless defined?(GL_TIMEOUT_EXPIRED_APPLE)
|
120
|
+
const_set('GL_CONDITION_SATISFIED_APPLE', 0x911C) unless defined?(GL_CONDITION_SATISFIED_APPLE)
|
121
|
+
const_set('GL_WAIT_FAILED_APPLE', 0x911D) unless defined?(GL_WAIT_FAILED_APPLE)
|
122
|
+
const_set('GL_SYNC_FLUSH_COMMANDS_BIT_APPLE', 0x00000001) unless defined?(GL_SYNC_FLUSH_COMMANDS_BIT_APPLE)
|
123
|
+
const_set('GL_TIMEOUT_IGNORED_APPLE', 0xFFFFFFFFFFFFFFFF) unless defined?(GL_TIMEOUT_IGNORED_APPLE)
|
124
|
+
end # define_enum_GL_APPLE_sync
|
125
|
+
|
126
|
+
def define_enum_GL_APPLE_texture_format_BGRA8888
|
127
|
+
const_set('GL_BGRA_EXT', 0x80E1) unless defined?(GL_BGRA_EXT)
|
128
|
+
const_set('GL_BGRA8_EXT', 0x93A1) unless defined?(GL_BGRA8_EXT)
|
129
|
+
end # define_enum_GL_APPLE_texture_format_BGRA8888
|
130
|
+
|
131
|
+
def define_enum_GL_APPLE_texture_max_level
|
132
|
+
const_set('GL_TEXTURE_MAX_LEVEL_APPLE', 0x813D) unless defined?(GL_TEXTURE_MAX_LEVEL_APPLE)
|
133
|
+
end # define_enum_GL_APPLE_texture_max_level
|
134
|
+
|
135
|
+
def define_enum_GL_ARM_mali_program_binary
|
136
|
+
const_set('GL_MALI_PROGRAM_BINARY_ARM', 0x8F61) unless defined?(GL_MALI_PROGRAM_BINARY_ARM)
|
137
|
+
end # define_enum_GL_ARM_mali_program_binary
|
138
|
+
|
139
|
+
def define_enum_GL_ARM_mali_shader_binary
|
140
|
+
const_set('GL_MALI_SHADER_BINARY_ARM', 0x8F60) unless defined?(GL_MALI_SHADER_BINARY_ARM)
|
141
|
+
end # define_enum_GL_ARM_mali_shader_binary
|
142
|
+
|
143
|
+
def define_enum_GL_ARM_rgba8
|
144
|
+
end # define_enum_GL_ARM_rgba8
|
145
|
+
|
146
|
+
def define_enum_GL_DMP_shader_binary
|
147
|
+
const_set('GL_SHADER_BINARY_DMP', 0x9250) unless defined?(GL_SHADER_BINARY_DMP)
|
148
|
+
end # define_enum_GL_DMP_shader_binary
|
149
|
+
|
150
|
+
def define_enum_GL_EXT_blend_minmax
|
151
|
+
const_set('GL_MIN_EXT', 0x8007) unless defined?(GL_MIN_EXT)
|
152
|
+
const_set('GL_MAX_EXT', 0x8008) unless defined?(GL_MAX_EXT)
|
153
|
+
const_set('GL_FUNC_ADD_EXT', 0x8006) unless defined?(GL_FUNC_ADD_EXT)
|
154
|
+
const_set('GL_BLEND_EQUATION_EXT', 0x8009) unless defined?(GL_BLEND_EQUATION_EXT)
|
155
|
+
end # define_enum_GL_EXT_blend_minmax
|
156
|
+
|
157
|
+
def define_enum_GL_EXT_color_buffer_half_float
|
158
|
+
const_set('GL_RGBA16F_EXT', 0x881A) unless defined?(GL_RGBA16F_EXT)
|
159
|
+
const_set('GL_RGB16F_EXT', 0x881B) unless defined?(GL_RGB16F_EXT)
|
160
|
+
const_set('GL_RG16F_EXT', 0x822F) unless defined?(GL_RG16F_EXT)
|
161
|
+
const_set('GL_R16F_EXT', 0x822D) unless defined?(GL_R16F_EXT)
|
162
|
+
const_set('GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT', 0x8211) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT)
|
163
|
+
const_set('GL_UNSIGNED_NORMALIZED_EXT', 0x8C17) unless defined?(GL_UNSIGNED_NORMALIZED_EXT)
|
164
|
+
end # define_enum_GL_EXT_color_buffer_half_float
|
165
|
+
|
166
|
+
def define_enum_GL_EXT_debug_label
|
167
|
+
const_set('GL_PROGRAM_PIPELINE_OBJECT_EXT', 0x8A4F) unless defined?(GL_PROGRAM_PIPELINE_OBJECT_EXT)
|
168
|
+
const_set('GL_PROGRAM_OBJECT_EXT', 0x8B40) unless defined?(GL_PROGRAM_OBJECT_EXT)
|
169
|
+
const_set('GL_SHADER_OBJECT_EXT', 0x8B48) unless defined?(GL_SHADER_OBJECT_EXT)
|
170
|
+
const_set('GL_BUFFER_OBJECT_EXT', 0x9151) unless defined?(GL_BUFFER_OBJECT_EXT)
|
171
|
+
const_set('GL_QUERY_OBJECT_EXT', 0x9153) unless defined?(GL_QUERY_OBJECT_EXT)
|
172
|
+
const_set('GL_VERTEX_ARRAY_OBJECT_EXT', 0x9154) unless defined?(GL_VERTEX_ARRAY_OBJECT_EXT)
|
173
|
+
const_set('GL_SAMPLER', 0x82E6) unless defined?(GL_SAMPLER)
|
174
|
+
const_set('GL_TRANSFORM_FEEDBACK', 0x8E22) unless defined?(GL_TRANSFORM_FEEDBACK)
|
175
|
+
end # define_enum_GL_EXT_debug_label
|
176
|
+
|
177
|
+
def define_enum_GL_EXT_debug_marker
|
178
|
+
end # define_enum_GL_EXT_debug_marker
|
179
|
+
|
180
|
+
def define_enum_GL_EXT_discard_framebuffer
|
181
|
+
const_set('GL_COLOR_EXT', 0x1800) unless defined?(GL_COLOR_EXT)
|
182
|
+
const_set('GL_DEPTH_EXT', 0x1801) unless defined?(GL_DEPTH_EXT)
|
183
|
+
const_set('GL_STENCIL_EXT', 0x1802) unless defined?(GL_STENCIL_EXT)
|
184
|
+
end # define_enum_GL_EXT_discard_framebuffer
|
185
|
+
|
186
|
+
def define_enum_GL_EXT_disjoint_timer_query
|
187
|
+
const_set('GL_QUERY_COUNTER_BITS_EXT', 0x8864) unless defined?(GL_QUERY_COUNTER_BITS_EXT)
|
188
|
+
const_set('GL_CURRENT_QUERY_EXT', 0x8865) unless defined?(GL_CURRENT_QUERY_EXT)
|
189
|
+
const_set('GL_QUERY_RESULT_EXT', 0x8866) unless defined?(GL_QUERY_RESULT_EXT)
|
190
|
+
const_set('GL_QUERY_RESULT_AVAILABLE_EXT', 0x8867) unless defined?(GL_QUERY_RESULT_AVAILABLE_EXT)
|
191
|
+
const_set('GL_TIME_ELAPSED_EXT', 0x88BF) unless defined?(GL_TIME_ELAPSED_EXT)
|
192
|
+
const_set('GL_TIMESTAMP_EXT', 0x8E28) unless defined?(GL_TIMESTAMP_EXT)
|
193
|
+
const_set('GL_GPU_DISJOINT_EXT', 0x8FBB) unless defined?(GL_GPU_DISJOINT_EXT)
|
194
|
+
end # define_enum_GL_EXT_disjoint_timer_query
|
195
|
+
|
196
|
+
def define_enum_GL_EXT_draw_buffers
|
197
|
+
const_set('GL_MAX_COLOR_ATTACHMENTS_EXT', 0x8CDF) unless defined?(GL_MAX_COLOR_ATTACHMENTS_EXT)
|
198
|
+
const_set('GL_MAX_DRAW_BUFFERS_EXT', 0x8824) unless defined?(GL_MAX_DRAW_BUFFERS_EXT)
|
199
|
+
const_set('GL_DRAW_BUFFER0_EXT', 0x8825) unless defined?(GL_DRAW_BUFFER0_EXT)
|
200
|
+
const_set('GL_DRAW_BUFFER1_EXT', 0x8826) unless defined?(GL_DRAW_BUFFER1_EXT)
|
201
|
+
const_set('GL_DRAW_BUFFER2_EXT', 0x8827) unless defined?(GL_DRAW_BUFFER2_EXT)
|
202
|
+
const_set('GL_DRAW_BUFFER3_EXT', 0x8828) unless defined?(GL_DRAW_BUFFER3_EXT)
|
203
|
+
const_set('GL_DRAW_BUFFER4_EXT', 0x8829) unless defined?(GL_DRAW_BUFFER4_EXT)
|
204
|
+
const_set('GL_DRAW_BUFFER5_EXT', 0x882A) unless defined?(GL_DRAW_BUFFER5_EXT)
|
205
|
+
const_set('GL_DRAW_BUFFER6_EXT', 0x882B) unless defined?(GL_DRAW_BUFFER6_EXT)
|
206
|
+
const_set('GL_DRAW_BUFFER7_EXT', 0x882C) unless defined?(GL_DRAW_BUFFER7_EXT)
|
207
|
+
const_set('GL_DRAW_BUFFER8_EXT', 0x882D) unless defined?(GL_DRAW_BUFFER8_EXT)
|
208
|
+
const_set('GL_DRAW_BUFFER9_EXT', 0x882E) unless defined?(GL_DRAW_BUFFER9_EXT)
|
209
|
+
const_set('GL_DRAW_BUFFER10_EXT', 0x882F) unless defined?(GL_DRAW_BUFFER10_EXT)
|
210
|
+
const_set('GL_DRAW_BUFFER11_EXT', 0x8830) unless defined?(GL_DRAW_BUFFER11_EXT)
|
211
|
+
const_set('GL_DRAW_BUFFER12_EXT', 0x8831) unless defined?(GL_DRAW_BUFFER12_EXT)
|
212
|
+
const_set('GL_DRAW_BUFFER13_EXT', 0x8832) unless defined?(GL_DRAW_BUFFER13_EXT)
|
213
|
+
const_set('GL_DRAW_BUFFER14_EXT', 0x8833) unless defined?(GL_DRAW_BUFFER14_EXT)
|
214
|
+
const_set('GL_DRAW_BUFFER15_EXT', 0x8834) unless defined?(GL_DRAW_BUFFER15_EXT)
|
215
|
+
const_set('GL_COLOR_ATTACHMENT0_EXT', 0x8CE0) unless defined?(GL_COLOR_ATTACHMENT0_EXT)
|
216
|
+
const_set('GL_COLOR_ATTACHMENT1_EXT', 0x8CE1) unless defined?(GL_COLOR_ATTACHMENT1_EXT)
|
217
|
+
const_set('GL_COLOR_ATTACHMENT2_EXT', 0x8CE2) unless defined?(GL_COLOR_ATTACHMENT2_EXT)
|
218
|
+
const_set('GL_COLOR_ATTACHMENT3_EXT', 0x8CE3) unless defined?(GL_COLOR_ATTACHMENT3_EXT)
|
219
|
+
const_set('GL_COLOR_ATTACHMENT4_EXT', 0x8CE4) unless defined?(GL_COLOR_ATTACHMENT4_EXT)
|
220
|
+
const_set('GL_COLOR_ATTACHMENT5_EXT', 0x8CE5) unless defined?(GL_COLOR_ATTACHMENT5_EXT)
|
221
|
+
const_set('GL_COLOR_ATTACHMENT6_EXT', 0x8CE6) unless defined?(GL_COLOR_ATTACHMENT6_EXT)
|
222
|
+
const_set('GL_COLOR_ATTACHMENT7_EXT', 0x8CE7) unless defined?(GL_COLOR_ATTACHMENT7_EXT)
|
223
|
+
const_set('GL_COLOR_ATTACHMENT8_EXT', 0x8CE8) unless defined?(GL_COLOR_ATTACHMENT8_EXT)
|
224
|
+
const_set('GL_COLOR_ATTACHMENT9_EXT', 0x8CE9) unless defined?(GL_COLOR_ATTACHMENT9_EXT)
|
225
|
+
const_set('GL_COLOR_ATTACHMENT10_EXT', 0x8CEA) unless defined?(GL_COLOR_ATTACHMENT10_EXT)
|
226
|
+
const_set('GL_COLOR_ATTACHMENT11_EXT', 0x8CEB) unless defined?(GL_COLOR_ATTACHMENT11_EXT)
|
227
|
+
const_set('GL_COLOR_ATTACHMENT12_EXT', 0x8CEC) unless defined?(GL_COLOR_ATTACHMENT12_EXT)
|
228
|
+
const_set('GL_COLOR_ATTACHMENT13_EXT', 0x8CED) unless defined?(GL_COLOR_ATTACHMENT13_EXT)
|
229
|
+
const_set('GL_COLOR_ATTACHMENT14_EXT', 0x8CEE) unless defined?(GL_COLOR_ATTACHMENT14_EXT)
|
230
|
+
const_set('GL_COLOR_ATTACHMENT15_EXT', 0x8CEF) unless defined?(GL_COLOR_ATTACHMENT15_EXT)
|
231
|
+
end # define_enum_GL_EXT_draw_buffers
|
232
|
+
|
233
|
+
def define_enum_GL_EXT_draw_instanced
|
234
|
+
end # define_enum_GL_EXT_draw_instanced
|
235
|
+
|
236
|
+
def define_enum_GL_EXT_instanced_arrays
|
237
|
+
const_set('GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT', 0x88FE) unless defined?(GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT)
|
238
|
+
end # define_enum_GL_EXT_instanced_arrays
|
239
|
+
|
240
|
+
def define_enum_GL_EXT_map_buffer_range
|
241
|
+
const_set('GL_MAP_READ_BIT_EXT', 0x0001) unless defined?(GL_MAP_READ_BIT_EXT)
|
242
|
+
const_set('GL_MAP_WRITE_BIT_EXT', 0x0002) unless defined?(GL_MAP_WRITE_BIT_EXT)
|
243
|
+
const_set('GL_MAP_INVALIDATE_RANGE_BIT_EXT', 0x0004) unless defined?(GL_MAP_INVALIDATE_RANGE_BIT_EXT)
|
244
|
+
const_set('GL_MAP_INVALIDATE_BUFFER_BIT_EXT', 0x0008) unless defined?(GL_MAP_INVALIDATE_BUFFER_BIT_EXT)
|
245
|
+
const_set('GL_MAP_FLUSH_EXPLICIT_BIT_EXT', 0x0010) unless defined?(GL_MAP_FLUSH_EXPLICIT_BIT_EXT)
|
246
|
+
const_set('GL_MAP_UNSYNCHRONIZED_BIT_EXT', 0x0020) unless defined?(GL_MAP_UNSYNCHRONIZED_BIT_EXT)
|
247
|
+
end # define_enum_GL_EXT_map_buffer_range
|
248
|
+
|
249
|
+
def define_enum_GL_EXT_multi_draw_arrays
|
250
|
+
end # define_enum_GL_EXT_multi_draw_arrays
|
251
|
+
|
252
|
+
def define_enum_GL_EXT_multisampled_render_to_texture
|
253
|
+
const_set('GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT', 0x8D6C) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT)
|
254
|
+
const_set('GL_RENDERBUFFER_SAMPLES_EXT', 0x8CAB) unless defined?(GL_RENDERBUFFER_SAMPLES_EXT)
|
255
|
+
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT', 0x8D56) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT)
|
256
|
+
const_set('GL_MAX_SAMPLES_EXT', 0x8D57) unless defined?(GL_MAX_SAMPLES_EXT)
|
257
|
+
end # define_enum_GL_EXT_multisampled_render_to_texture
|
258
|
+
|
259
|
+
def define_enum_GL_EXT_multiview_draw_buffers
|
260
|
+
const_set('GL_COLOR_ATTACHMENT_EXT', 0x90F0) unless defined?(GL_COLOR_ATTACHMENT_EXT)
|
261
|
+
const_set('GL_MULTIVIEW_EXT', 0x90F1) unless defined?(GL_MULTIVIEW_EXT)
|
262
|
+
const_set('GL_DRAW_BUFFER_EXT', 0x0C01) unless defined?(GL_DRAW_BUFFER_EXT)
|
263
|
+
const_set('GL_READ_BUFFER_EXT', 0x0C02) unless defined?(GL_READ_BUFFER_EXT)
|
264
|
+
const_set('GL_MAX_MULTIVIEW_BUFFERS_EXT', 0x90F2) unless defined?(GL_MAX_MULTIVIEW_BUFFERS_EXT)
|
265
|
+
end # define_enum_GL_EXT_multiview_draw_buffers
|
266
|
+
|
267
|
+
def define_enum_GL_EXT_occlusion_query_boolean
|
268
|
+
const_set('GL_ANY_SAMPLES_PASSED_EXT', 0x8C2F) unless defined?(GL_ANY_SAMPLES_PASSED_EXT)
|
269
|
+
const_set('GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT', 0x8D6A) unless defined?(GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT)
|
270
|
+
const_set('GL_CURRENT_QUERY_EXT', 0x8865) unless defined?(GL_CURRENT_QUERY_EXT)
|
271
|
+
const_set('GL_QUERY_RESULT_EXT', 0x8866) unless defined?(GL_QUERY_RESULT_EXT)
|
272
|
+
const_set('GL_QUERY_RESULT_AVAILABLE_EXT', 0x8867) unless defined?(GL_QUERY_RESULT_AVAILABLE_EXT)
|
273
|
+
end # define_enum_GL_EXT_occlusion_query_boolean
|
274
|
+
|
275
|
+
def define_enum_GL_EXT_pvrtc_sRGB
|
276
|
+
const_set('GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT', 0x8A54) unless defined?(GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT)
|
277
|
+
const_set('GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT', 0x8A55) unless defined?(GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT)
|
278
|
+
const_set('GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT', 0x8A56) unless defined?(GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT)
|
279
|
+
const_set('GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT', 0x8A57) unless defined?(GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT)
|
280
|
+
end # define_enum_GL_EXT_pvrtc_sRGB
|
281
|
+
|
282
|
+
def define_enum_GL_EXT_read_format_bgra
|
283
|
+
const_set('GL_BGRA_EXT', 0x80E1) unless defined?(GL_BGRA_EXT)
|
284
|
+
const_set('GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT', 0x8365) unless defined?(GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT)
|
285
|
+
const_set('GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT', 0x8366) unless defined?(GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT)
|
286
|
+
end # define_enum_GL_EXT_read_format_bgra
|
287
|
+
|
288
|
+
def define_enum_GL_EXT_robustness
|
289
|
+
const_set('GL_NO_ERROR', 0) unless defined?(GL_NO_ERROR)
|
290
|
+
const_set('GL_GUILTY_CONTEXT_RESET_EXT', 0x8253) unless defined?(GL_GUILTY_CONTEXT_RESET_EXT)
|
291
|
+
const_set('GL_INNOCENT_CONTEXT_RESET_EXT', 0x8254) unless defined?(GL_INNOCENT_CONTEXT_RESET_EXT)
|
292
|
+
const_set('GL_UNKNOWN_CONTEXT_RESET_EXT', 0x8255) unless defined?(GL_UNKNOWN_CONTEXT_RESET_EXT)
|
293
|
+
const_set('GL_CONTEXT_ROBUST_ACCESS_EXT', 0x90F3) unless defined?(GL_CONTEXT_ROBUST_ACCESS_EXT)
|
294
|
+
const_set('GL_RESET_NOTIFICATION_STRATEGY_EXT', 0x8256) unless defined?(GL_RESET_NOTIFICATION_STRATEGY_EXT)
|
295
|
+
const_set('GL_LOSE_CONTEXT_ON_RESET_EXT', 0x8252) unless defined?(GL_LOSE_CONTEXT_ON_RESET_EXT)
|
296
|
+
const_set('GL_NO_RESET_NOTIFICATION_EXT', 0x8261) unless defined?(GL_NO_RESET_NOTIFICATION_EXT)
|
297
|
+
end # define_enum_GL_EXT_robustness
|
298
|
+
|
299
|
+
def define_enum_GL_EXT_sRGB
|
300
|
+
const_set('GL_SRGB_EXT', 0x8C40) unless defined?(GL_SRGB_EXT)
|
301
|
+
const_set('GL_SRGB_ALPHA_EXT', 0x8C42) unless defined?(GL_SRGB_ALPHA_EXT)
|
302
|
+
const_set('GL_SRGB8_ALPHA8_EXT', 0x8C43) unless defined?(GL_SRGB8_ALPHA8_EXT)
|
303
|
+
const_set('GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT', 0x8210) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT)
|
304
|
+
end # define_enum_GL_EXT_sRGB
|
305
|
+
|
306
|
+
def define_enum_GL_EXT_sRGB_write_control
|
307
|
+
const_set('GL_FRAMEBUFFER_SRGB_EXT', 0x8DB9) unless defined?(GL_FRAMEBUFFER_SRGB_EXT)
|
308
|
+
end # define_enum_GL_EXT_sRGB_write_control
|
309
|
+
|
310
|
+
def define_enum_GL_EXT_separate_shader_objects
|
311
|
+
const_set('GL_ACTIVE_PROGRAM_EXT', 0x8259) unless defined?(GL_ACTIVE_PROGRAM_EXT)
|
312
|
+
const_set('GL_VERTEX_SHADER_BIT_EXT', 0x00000001) unless defined?(GL_VERTEX_SHADER_BIT_EXT)
|
313
|
+
const_set('GL_FRAGMENT_SHADER_BIT_EXT', 0x00000002) unless defined?(GL_FRAGMENT_SHADER_BIT_EXT)
|
314
|
+
const_set('GL_ALL_SHADER_BITS_EXT', 0xFFFFFFFF) unless defined?(GL_ALL_SHADER_BITS_EXT)
|
315
|
+
const_set('GL_PROGRAM_SEPARABLE_EXT', 0x8258) unless defined?(GL_PROGRAM_SEPARABLE_EXT)
|
316
|
+
const_set('GL_PROGRAM_PIPELINE_BINDING_EXT', 0x825A) unless defined?(GL_PROGRAM_PIPELINE_BINDING_EXT)
|
317
|
+
end # define_enum_GL_EXT_separate_shader_objects
|
318
|
+
|
319
|
+
def define_enum_GL_EXT_shader_framebuffer_fetch
|
320
|
+
const_set('GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT', 0x8A52) unless defined?(GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT)
|
321
|
+
end # define_enum_GL_EXT_shader_framebuffer_fetch
|
322
|
+
|
323
|
+
def define_enum_GL_EXT_shader_integer_mix
|
324
|
+
end # define_enum_GL_EXT_shader_integer_mix
|
325
|
+
|
326
|
+
def define_enum_GL_EXT_shader_texture_lod
|
327
|
+
end # define_enum_GL_EXT_shader_texture_lod
|
328
|
+
|
329
|
+
def define_enum_GL_EXT_shadow_samplers
|
330
|
+
const_set('GL_TEXTURE_COMPARE_MODE_EXT', 0x884C) unless defined?(GL_TEXTURE_COMPARE_MODE_EXT)
|
331
|
+
const_set('GL_TEXTURE_COMPARE_FUNC_EXT', 0x884D) unless defined?(GL_TEXTURE_COMPARE_FUNC_EXT)
|
332
|
+
const_set('GL_COMPARE_REF_TO_TEXTURE_EXT', 0x884E) unless defined?(GL_COMPARE_REF_TO_TEXTURE_EXT)
|
333
|
+
const_set('GL_SAMPLER_2D_SHADOW_EXT', 0x8B62) unless defined?(GL_SAMPLER_2D_SHADOW_EXT)
|
334
|
+
end # define_enum_GL_EXT_shadow_samplers
|
335
|
+
|
336
|
+
def define_enum_GL_EXT_texture_compression_dxt1
|
337
|
+
const_set('GL_COMPRESSED_RGB_S3TC_DXT1_EXT', 0x83F0) unless defined?(GL_COMPRESSED_RGB_S3TC_DXT1_EXT)
|
338
|
+
const_set('GL_COMPRESSED_RGBA_S3TC_DXT1_EXT', 0x83F1) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
|
339
|
+
end # define_enum_GL_EXT_texture_compression_dxt1
|
340
|
+
|
341
|
+
def define_enum_GL_EXT_texture_compression_s3tc
|
342
|
+
const_set('GL_COMPRESSED_RGB_S3TC_DXT1_EXT', 0x83F0) unless defined?(GL_COMPRESSED_RGB_S3TC_DXT1_EXT)
|
343
|
+
const_set('GL_COMPRESSED_RGBA_S3TC_DXT1_EXT', 0x83F1) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
|
344
|
+
const_set('GL_COMPRESSED_RGBA_S3TC_DXT3_EXT', 0x83F2) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT3_EXT)
|
345
|
+
const_set('GL_COMPRESSED_RGBA_S3TC_DXT5_EXT', 0x83F3) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT5_EXT)
|
346
|
+
end # define_enum_GL_EXT_texture_compression_s3tc
|
347
|
+
|
348
|
+
def define_enum_GL_EXT_texture_filter_anisotropic
|
349
|
+
const_set('GL_TEXTURE_MAX_ANISOTROPY_EXT', 0x84FE) unless defined?(GL_TEXTURE_MAX_ANISOTROPY_EXT)
|
350
|
+
const_set('GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT', 0x84FF) unless defined?(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT)
|
351
|
+
end # define_enum_GL_EXT_texture_filter_anisotropic
|
352
|
+
|
353
|
+
def define_enum_GL_EXT_texture_format_BGRA8888
|
354
|
+
const_set('GL_BGRA_EXT', 0x80E1) unless defined?(GL_BGRA_EXT)
|
355
|
+
end # define_enum_GL_EXT_texture_format_BGRA8888
|
356
|
+
|
357
|
+
def define_enum_GL_EXT_texture_rg
|
358
|
+
const_set('GL_RED_EXT', 0x1903) unless defined?(GL_RED_EXT)
|
359
|
+
const_set('GL_RG_EXT', 0x8227) unless defined?(GL_RG_EXT)
|
360
|
+
const_set('GL_R8_EXT', 0x8229) unless defined?(GL_R8_EXT)
|
361
|
+
const_set('GL_RG8_EXT', 0x822B) unless defined?(GL_RG8_EXT)
|
362
|
+
end # define_enum_GL_EXT_texture_rg
|
363
|
+
|
364
|
+
def define_enum_GL_EXT_texture_sRGB_decode
|
365
|
+
const_set('GL_TEXTURE_SRGB_DECODE_EXT', 0x8A48) unless defined?(GL_TEXTURE_SRGB_DECODE_EXT)
|
366
|
+
const_set('GL_DECODE_EXT', 0x8A49) unless defined?(GL_DECODE_EXT)
|
367
|
+
const_set('GL_SKIP_DECODE_EXT', 0x8A4A) unless defined?(GL_SKIP_DECODE_EXT)
|
368
|
+
end # define_enum_GL_EXT_texture_sRGB_decode
|
369
|
+
|
370
|
+
def define_enum_GL_EXT_texture_storage
|
371
|
+
const_set('GL_TEXTURE_IMMUTABLE_FORMAT_EXT', 0x912F) unless defined?(GL_TEXTURE_IMMUTABLE_FORMAT_EXT)
|
372
|
+
const_set('GL_ALPHA8_EXT', 0x803C) unless defined?(GL_ALPHA8_EXT)
|
373
|
+
const_set('GL_LUMINANCE8_EXT', 0x8040) unless defined?(GL_LUMINANCE8_EXT)
|
374
|
+
const_set('GL_LUMINANCE8_ALPHA8_EXT', 0x8045) unless defined?(GL_LUMINANCE8_ALPHA8_EXT)
|
375
|
+
const_set('GL_RGBA32F_EXT', 0x8814) unless defined?(GL_RGBA32F_EXT)
|
376
|
+
const_set('GL_RGB32F_EXT', 0x8815) unless defined?(GL_RGB32F_EXT)
|
377
|
+
const_set('GL_ALPHA32F_EXT', 0x8816) unless defined?(GL_ALPHA32F_EXT)
|
378
|
+
const_set('GL_LUMINANCE32F_EXT', 0x8818) unless defined?(GL_LUMINANCE32F_EXT)
|
379
|
+
const_set('GL_LUMINANCE_ALPHA32F_EXT', 0x8819) unless defined?(GL_LUMINANCE_ALPHA32F_EXT)
|
380
|
+
const_set('GL_RGBA16F_EXT', 0x881A) unless defined?(GL_RGBA16F_EXT)
|
381
|
+
const_set('GL_RGB16F_EXT', 0x881B) unless defined?(GL_RGB16F_EXT)
|
382
|
+
const_set('GL_ALPHA16F_EXT', 0x881C) unless defined?(GL_ALPHA16F_EXT)
|
383
|
+
const_set('GL_LUMINANCE16F_EXT', 0x881E) unless defined?(GL_LUMINANCE16F_EXT)
|
384
|
+
const_set('GL_LUMINANCE_ALPHA16F_EXT', 0x881F) unless defined?(GL_LUMINANCE_ALPHA16F_EXT)
|
385
|
+
const_set('GL_RGB10_A2_EXT', 0x8059) unless defined?(GL_RGB10_A2_EXT)
|
386
|
+
const_set('GL_RGB10_EXT', 0x8052) unless defined?(GL_RGB10_EXT)
|
387
|
+
const_set('GL_BGRA8_EXT', 0x93A1) unless defined?(GL_BGRA8_EXT)
|
388
|
+
const_set('GL_R8_EXT', 0x8229) unless defined?(GL_R8_EXT)
|
389
|
+
const_set('GL_RG8_EXT', 0x822B) unless defined?(GL_RG8_EXT)
|
390
|
+
const_set('GL_R32F_EXT', 0x822E) unless defined?(GL_R32F_EXT)
|
391
|
+
const_set('GL_RG32F_EXT', 0x8230) unless defined?(GL_RG32F_EXT)
|
392
|
+
const_set('GL_R16F_EXT', 0x822D) unless defined?(GL_R16F_EXT)
|
393
|
+
const_set('GL_RG16F_EXT', 0x822F) unless defined?(GL_RG16F_EXT)
|
394
|
+
end # define_enum_GL_EXT_texture_storage
|
395
|
+
|
396
|
+
def define_enum_GL_EXT_texture_type_2_10_10_10_REV
|
397
|
+
const_set('GL_UNSIGNED_INT_2_10_10_10_REV_EXT', 0x8368) unless defined?(GL_UNSIGNED_INT_2_10_10_10_REV_EXT)
|
398
|
+
end # define_enum_GL_EXT_texture_type_2_10_10_10_REV
|
399
|
+
|
400
|
+
def define_enum_GL_EXT_unpack_subimage
|
401
|
+
const_set('GL_UNPACK_ROW_LENGTH_EXT', 0x0CF2) unless defined?(GL_UNPACK_ROW_LENGTH_EXT)
|
402
|
+
const_set('GL_UNPACK_SKIP_ROWS_EXT', 0x0CF3) unless defined?(GL_UNPACK_SKIP_ROWS_EXT)
|
403
|
+
const_set('GL_UNPACK_SKIP_PIXELS_EXT', 0x0CF4) unless defined?(GL_UNPACK_SKIP_PIXELS_EXT)
|
404
|
+
end # define_enum_GL_EXT_unpack_subimage
|
405
|
+
|
406
|
+
def define_enum_GL_FJ_shader_binary_GCCSO
|
407
|
+
const_set('GL_GCCSO_SHADER_BINARY_FJ', 0x9260) unless defined?(GL_GCCSO_SHADER_BINARY_FJ)
|
408
|
+
end # define_enum_GL_FJ_shader_binary_GCCSO
|
409
|
+
|
410
|
+
def define_enum_GL_IMG_multisampled_render_to_texture
|
411
|
+
const_set('GL_RENDERBUFFER_SAMPLES_IMG', 0x9133) unless defined?(GL_RENDERBUFFER_SAMPLES_IMG)
|
412
|
+
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG', 0x9134) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG)
|
413
|
+
const_set('GL_MAX_SAMPLES_IMG', 0x9135) unless defined?(GL_MAX_SAMPLES_IMG)
|
414
|
+
const_set('GL_TEXTURE_SAMPLES_IMG', 0x9136) unless defined?(GL_TEXTURE_SAMPLES_IMG)
|
415
|
+
end # define_enum_GL_IMG_multisampled_render_to_texture
|
416
|
+
|
417
|
+
def define_enum_GL_IMG_program_binary
|
418
|
+
const_set('GL_SGX_PROGRAM_BINARY_IMG', 0x9130) unless defined?(GL_SGX_PROGRAM_BINARY_IMG)
|
419
|
+
end # define_enum_GL_IMG_program_binary
|
420
|
+
|
421
|
+
def define_enum_GL_IMG_read_format
|
422
|
+
const_set('GL_BGRA_IMG', 0x80E1) unless defined?(GL_BGRA_IMG)
|
423
|
+
const_set('GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG', 0x8365) unless defined?(GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG)
|
424
|
+
end # define_enum_GL_IMG_read_format
|
425
|
+
|
426
|
+
def define_enum_GL_IMG_shader_binary
|
427
|
+
const_set('GL_SGX_BINARY_IMG', 0x8C0A) unless defined?(GL_SGX_BINARY_IMG)
|
428
|
+
end # define_enum_GL_IMG_shader_binary
|
429
|
+
|
430
|
+
def define_enum_GL_IMG_texture_compression_pvrtc
|
431
|
+
const_set('GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG', 0x8C00) unless defined?(GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG)
|
432
|
+
const_set('GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG', 0x8C01) unless defined?(GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG)
|
433
|
+
const_set('GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG', 0x8C02) unless defined?(GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG)
|
434
|
+
const_set('GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG', 0x8C03) unless defined?(GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG)
|
435
|
+
end # define_enum_GL_IMG_texture_compression_pvrtc
|
436
|
+
|
437
|
+
def define_enum_GL_IMG_texture_compression_pvrtc2
|
438
|
+
const_set('GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG', 0x9137) unless defined?(GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG)
|
439
|
+
const_set('GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG', 0x9138) unless defined?(GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG)
|
440
|
+
end # define_enum_GL_IMG_texture_compression_pvrtc2
|
441
|
+
|
442
|
+
def define_enum_GL_KHR_debug
|
443
|
+
const_set('GL_DEBUG_OUTPUT_SYNCHRONOUS', 0x8242) unless defined?(GL_DEBUG_OUTPUT_SYNCHRONOUS)
|
444
|
+
const_set('GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH', 0x8243) unless defined?(GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH)
|
445
|
+
const_set('GL_DEBUG_CALLBACK_FUNCTION', 0x8244) unless defined?(GL_DEBUG_CALLBACK_FUNCTION)
|
446
|
+
const_set('GL_DEBUG_CALLBACK_USER_PARAM', 0x8245) unless defined?(GL_DEBUG_CALLBACK_USER_PARAM)
|
447
|
+
const_set('GL_DEBUG_SOURCE_API', 0x8246) unless defined?(GL_DEBUG_SOURCE_API)
|
448
|
+
const_set('GL_DEBUG_SOURCE_WINDOW_SYSTEM', 0x8247) unless defined?(GL_DEBUG_SOURCE_WINDOW_SYSTEM)
|
449
|
+
const_set('GL_DEBUG_SOURCE_SHADER_COMPILER', 0x8248) unless defined?(GL_DEBUG_SOURCE_SHADER_COMPILER)
|
450
|
+
const_set('GL_DEBUG_SOURCE_THIRD_PARTY', 0x8249) unless defined?(GL_DEBUG_SOURCE_THIRD_PARTY)
|
451
|
+
const_set('GL_DEBUG_SOURCE_APPLICATION', 0x824A) unless defined?(GL_DEBUG_SOURCE_APPLICATION)
|
452
|
+
const_set('GL_DEBUG_SOURCE_OTHER', 0x824B) unless defined?(GL_DEBUG_SOURCE_OTHER)
|
453
|
+
const_set('GL_DEBUG_TYPE_ERROR', 0x824C) unless defined?(GL_DEBUG_TYPE_ERROR)
|
454
|
+
const_set('GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR', 0x824D) unless defined?(GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR)
|
455
|
+
const_set('GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR', 0x824E) unless defined?(GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR)
|
456
|
+
const_set('GL_DEBUG_TYPE_PORTABILITY', 0x824F) unless defined?(GL_DEBUG_TYPE_PORTABILITY)
|
457
|
+
const_set('GL_DEBUG_TYPE_PERFORMANCE', 0x8250) unless defined?(GL_DEBUG_TYPE_PERFORMANCE)
|
458
|
+
const_set('GL_DEBUG_TYPE_OTHER', 0x8251) unless defined?(GL_DEBUG_TYPE_OTHER)
|
459
|
+
const_set('GL_DEBUG_TYPE_MARKER', 0x8268) unless defined?(GL_DEBUG_TYPE_MARKER)
|
460
|
+
const_set('GL_DEBUG_TYPE_PUSH_GROUP', 0x8269) unless defined?(GL_DEBUG_TYPE_PUSH_GROUP)
|
461
|
+
const_set('GL_DEBUG_TYPE_POP_GROUP', 0x826A) unless defined?(GL_DEBUG_TYPE_POP_GROUP)
|
462
|
+
const_set('GL_DEBUG_SEVERITY_NOTIFICATION', 0x826B) unless defined?(GL_DEBUG_SEVERITY_NOTIFICATION)
|
463
|
+
const_set('GL_MAX_DEBUG_GROUP_STACK_DEPTH', 0x826C) unless defined?(GL_MAX_DEBUG_GROUP_STACK_DEPTH)
|
464
|
+
const_set('GL_DEBUG_GROUP_STACK_DEPTH', 0x826D) unless defined?(GL_DEBUG_GROUP_STACK_DEPTH)
|
465
|
+
const_set('GL_BUFFER', 0x82E0) unless defined?(GL_BUFFER)
|
466
|
+
const_set('GL_SHADER', 0x82E1) unless defined?(GL_SHADER)
|
467
|
+
const_set('GL_PROGRAM', 0x82E2) unless defined?(GL_PROGRAM)
|
468
|
+
const_set('GL_VERTEX_ARRAY', 0x8074) unless defined?(GL_VERTEX_ARRAY)
|
469
|
+
const_set('GL_QUERY', 0x82E3) unless defined?(GL_QUERY)
|
470
|
+
const_set('GL_SAMPLER', 0x82E6) unless defined?(GL_SAMPLER)
|
471
|
+
const_set('GL_MAX_LABEL_LENGTH', 0x82E8) unless defined?(GL_MAX_LABEL_LENGTH)
|
472
|
+
const_set('GL_MAX_DEBUG_MESSAGE_LENGTH', 0x9143) unless defined?(GL_MAX_DEBUG_MESSAGE_LENGTH)
|
473
|
+
const_set('GL_MAX_DEBUG_LOGGED_MESSAGES', 0x9144) unless defined?(GL_MAX_DEBUG_LOGGED_MESSAGES)
|
474
|
+
const_set('GL_DEBUG_LOGGED_MESSAGES', 0x9145) unless defined?(GL_DEBUG_LOGGED_MESSAGES)
|
475
|
+
const_set('GL_DEBUG_SEVERITY_HIGH', 0x9146) unless defined?(GL_DEBUG_SEVERITY_HIGH)
|
476
|
+
const_set('GL_DEBUG_SEVERITY_MEDIUM', 0x9147) unless defined?(GL_DEBUG_SEVERITY_MEDIUM)
|
477
|
+
const_set('GL_DEBUG_SEVERITY_LOW', 0x9148) unless defined?(GL_DEBUG_SEVERITY_LOW)
|
478
|
+
const_set('GL_DEBUG_OUTPUT', 0x92E0) unless defined?(GL_DEBUG_OUTPUT)
|
479
|
+
const_set('GL_CONTEXT_FLAG_DEBUG_BIT', 0x00000002) unless defined?(GL_CONTEXT_FLAG_DEBUG_BIT)
|
480
|
+
const_set('GL_STACK_OVERFLOW', 0x0503) unless defined?(GL_STACK_OVERFLOW)
|
481
|
+
const_set('GL_STACK_UNDERFLOW', 0x0504) unless defined?(GL_STACK_UNDERFLOW)
|
482
|
+
const_set('GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR', 0x8242) unless defined?(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)
|
483
|
+
const_set('GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR', 0x8243) unless defined?(GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR)
|
484
|
+
const_set('GL_DEBUG_CALLBACK_FUNCTION_KHR', 0x8244) unless defined?(GL_DEBUG_CALLBACK_FUNCTION_KHR)
|
485
|
+
const_set('GL_DEBUG_CALLBACK_USER_PARAM_KHR', 0x8245) unless defined?(GL_DEBUG_CALLBACK_USER_PARAM_KHR)
|
486
|
+
const_set('GL_DEBUG_SOURCE_API_KHR', 0x8246) unless defined?(GL_DEBUG_SOURCE_API_KHR)
|
487
|
+
const_set('GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR', 0x8247) unless defined?(GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR)
|
488
|
+
const_set('GL_DEBUG_SOURCE_SHADER_COMPILER_KHR', 0x8248) unless defined?(GL_DEBUG_SOURCE_SHADER_COMPILER_KHR)
|
489
|
+
const_set('GL_DEBUG_SOURCE_THIRD_PARTY_KHR', 0x8249) unless defined?(GL_DEBUG_SOURCE_THIRD_PARTY_KHR)
|
490
|
+
const_set('GL_DEBUG_SOURCE_APPLICATION_KHR', 0x824A) unless defined?(GL_DEBUG_SOURCE_APPLICATION_KHR)
|
491
|
+
const_set('GL_DEBUG_SOURCE_OTHER_KHR', 0x824B) unless defined?(GL_DEBUG_SOURCE_OTHER_KHR)
|
492
|
+
const_set('GL_DEBUG_TYPE_ERROR_KHR', 0x824C) unless defined?(GL_DEBUG_TYPE_ERROR_KHR)
|
493
|
+
const_set('GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR', 0x824D) unless defined?(GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR)
|
494
|
+
const_set('GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR', 0x824E) unless defined?(GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR)
|
495
|
+
const_set('GL_DEBUG_TYPE_PORTABILITY_KHR', 0x824F) unless defined?(GL_DEBUG_TYPE_PORTABILITY_KHR)
|
496
|
+
const_set('GL_DEBUG_TYPE_PERFORMANCE_KHR', 0x8250) unless defined?(GL_DEBUG_TYPE_PERFORMANCE_KHR)
|
497
|
+
const_set('GL_DEBUG_TYPE_OTHER_KHR', 0x8251) unless defined?(GL_DEBUG_TYPE_OTHER_KHR)
|
498
|
+
const_set('GL_DEBUG_TYPE_MARKER_KHR', 0x8268) unless defined?(GL_DEBUG_TYPE_MARKER_KHR)
|
499
|
+
const_set('GL_DEBUG_TYPE_PUSH_GROUP_KHR', 0x8269) unless defined?(GL_DEBUG_TYPE_PUSH_GROUP_KHR)
|
500
|
+
const_set('GL_DEBUG_TYPE_POP_GROUP_KHR', 0x826A) unless defined?(GL_DEBUG_TYPE_POP_GROUP_KHR)
|
501
|
+
const_set('GL_DEBUG_SEVERITY_NOTIFICATION_KHR', 0x826B) unless defined?(GL_DEBUG_SEVERITY_NOTIFICATION_KHR)
|
502
|
+
const_set('GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR', 0x826C) unless defined?(GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR)
|
503
|
+
const_set('GL_DEBUG_GROUP_STACK_DEPTH_KHR', 0x826D) unless defined?(GL_DEBUG_GROUP_STACK_DEPTH_KHR)
|
504
|
+
const_set('GL_BUFFER_KHR', 0x82E0) unless defined?(GL_BUFFER_KHR)
|
505
|
+
const_set('GL_SHADER_KHR', 0x82E1) unless defined?(GL_SHADER_KHR)
|
506
|
+
const_set('GL_PROGRAM_KHR', 0x82E2) unless defined?(GL_PROGRAM_KHR)
|
507
|
+
const_set('GL_VERTEX_ARRAY_KHR', 0x8074) unless defined?(GL_VERTEX_ARRAY_KHR)
|
508
|
+
const_set('GL_QUERY_KHR', 0x82E3) unless defined?(GL_QUERY_KHR)
|
509
|
+
const_set('GL_SAMPLER_KHR', 0x82E6) unless defined?(GL_SAMPLER_KHR)
|
510
|
+
const_set('GL_MAX_LABEL_LENGTH_KHR', 0x82E8) unless defined?(GL_MAX_LABEL_LENGTH_KHR)
|
511
|
+
const_set('GL_MAX_DEBUG_MESSAGE_LENGTH_KHR', 0x9143) unless defined?(GL_MAX_DEBUG_MESSAGE_LENGTH_KHR)
|
512
|
+
const_set('GL_MAX_DEBUG_LOGGED_MESSAGES_KHR', 0x9144) unless defined?(GL_MAX_DEBUG_LOGGED_MESSAGES_KHR)
|
513
|
+
const_set('GL_DEBUG_LOGGED_MESSAGES_KHR', 0x9145) unless defined?(GL_DEBUG_LOGGED_MESSAGES_KHR)
|
514
|
+
const_set('GL_DEBUG_SEVERITY_HIGH_KHR', 0x9146) unless defined?(GL_DEBUG_SEVERITY_HIGH_KHR)
|
515
|
+
const_set('GL_DEBUG_SEVERITY_MEDIUM_KHR', 0x9147) unless defined?(GL_DEBUG_SEVERITY_MEDIUM_KHR)
|
516
|
+
const_set('GL_DEBUG_SEVERITY_LOW_KHR', 0x9148) unless defined?(GL_DEBUG_SEVERITY_LOW_KHR)
|
517
|
+
const_set('GL_DEBUG_OUTPUT_KHR', 0x92E0) unless defined?(GL_DEBUG_OUTPUT_KHR)
|
518
|
+
const_set('GL_CONTEXT_FLAG_DEBUG_BIT_KHR', 0x00000002) unless defined?(GL_CONTEXT_FLAG_DEBUG_BIT_KHR)
|
519
|
+
const_set('GL_STACK_OVERFLOW_KHR', 0x0503) unless defined?(GL_STACK_OVERFLOW_KHR)
|
520
|
+
const_set('GL_STACK_UNDERFLOW_KHR', 0x0504) unless defined?(GL_STACK_UNDERFLOW_KHR)
|
521
|
+
const_set('GL_PROGRAM_PIPELINE', 0x82E4) unless defined?(GL_PROGRAM_PIPELINE)
|
522
|
+
const_set('GL_DISPLAY_LIST', 0x82E7) unless defined?(GL_DISPLAY_LIST)
|
523
|
+
end # define_enum_GL_KHR_debug
|
524
|
+
|
525
|
+
def define_enum_GL_KHR_texture_compression_astc_hdr
|
526
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
|
527
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
|
528
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_5x5_KHR', 0x93B2) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x5_KHR)
|
529
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_6x5_KHR', 0x93B3) unless defined?(GL_COMPRESSED_RGBA_ASTC_6x5_KHR)
|
530
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_6x6_KHR', 0x93B4) unless defined?(GL_COMPRESSED_RGBA_ASTC_6x6_KHR)
|
531
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_8x5_KHR', 0x93B5) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x5_KHR)
|
532
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_8x6_KHR', 0x93B6) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x6_KHR)
|
533
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_8x8_KHR', 0x93B7) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x8_KHR)
|
534
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x5_KHR', 0x93B8) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x5_KHR)
|
535
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x6_KHR', 0x93B9) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x6_KHR)
|
536
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x8_KHR', 0x93BA) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x8_KHR)
|
537
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x10_KHR', 0x93BB) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x10_KHR)
|
538
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_12x10_KHR', 0x93BC) unless defined?(GL_COMPRESSED_RGBA_ASTC_12x10_KHR)
|
539
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_12x12_KHR', 0x93BD) unless defined?(GL_COMPRESSED_RGBA_ASTC_12x12_KHR)
|
540
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR', 0x93D0) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR)
|
541
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR', 0x93D1) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR)
|
542
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR', 0x93D2) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR)
|
543
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR', 0x93D3) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR)
|
544
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR', 0x93D4) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR)
|
545
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR', 0x93D5) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR)
|
546
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR', 0x93D6) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR)
|
547
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR', 0x93D7) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR)
|
548
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR', 0x93D8) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR)
|
549
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR', 0x93D9) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR)
|
550
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR', 0x93DA) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR)
|
551
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR', 0x93DB) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR)
|
552
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR', 0x93DC) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR)
|
553
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR', 0x93DD) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR)
|
554
|
+
end # define_enum_GL_KHR_texture_compression_astc_hdr
|
555
|
+
|
556
|
+
def define_enum_GL_KHR_texture_compression_astc_ldr
|
557
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
|
558
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
|
559
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_5x5_KHR', 0x93B2) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x5_KHR)
|
560
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_6x5_KHR', 0x93B3) unless defined?(GL_COMPRESSED_RGBA_ASTC_6x5_KHR)
|
561
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_6x6_KHR', 0x93B4) unless defined?(GL_COMPRESSED_RGBA_ASTC_6x6_KHR)
|
562
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_8x5_KHR', 0x93B5) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x5_KHR)
|
563
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_8x6_KHR', 0x93B6) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x6_KHR)
|
564
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_8x8_KHR', 0x93B7) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x8_KHR)
|
565
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x5_KHR', 0x93B8) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x5_KHR)
|
566
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x6_KHR', 0x93B9) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x6_KHR)
|
567
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x8_KHR', 0x93BA) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x8_KHR)
|
568
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x10_KHR', 0x93BB) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x10_KHR)
|
569
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_12x10_KHR', 0x93BC) unless defined?(GL_COMPRESSED_RGBA_ASTC_12x10_KHR)
|
570
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_12x12_KHR', 0x93BD) unless defined?(GL_COMPRESSED_RGBA_ASTC_12x12_KHR)
|
571
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR', 0x93D0) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR)
|
572
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR', 0x93D1) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR)
|
573
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR', 0x93D2) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR)
|
574
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR', 0x93D3) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR)
|
575
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR', 0x93D4) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR)
|
576
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR', 0x93D5) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR)
|
577
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR', 0x93D6) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR)
|
578
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR', 0x93D7) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR)
|
579
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR', 0x93D8) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR)
|
580
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR', 0x93D9) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR)
|
581
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR', 0x93DA) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR)
|
582
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR', 0x93DB) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR)
|
583
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR', 0x93DC) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR)
|
584
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR', 0x93DD) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR)
|
585
|
+
end # define_enum_GL_KHR_texture_compression_astc_ldr
|
586
|
+
|
587
|
+
def define_enum_GL_NV_blend_equation_advanced
|
588
|
+
const_set('GL_BLUE_NV', 0x1905) unless defined?(GL_BLUE_NV)
|
589
|
+
const_set('GL_GREEN_NV', 0x1904) unless defined?(GL_GREEN_NV)
|
590
|
+
const_set('GL_RED_NV', 0x1903) unless defined?(GL_RED_NV)
|
591
|
+
const_set('GL_XOR_NV', 0x1506) unless defined?(GL_XOR_NV)
|
592
|
+
const_set('GL_BLUE', 0x1905) unless defined?(GL_BLUE)
|
593
|
+
const_set('GL_GREEN', 0x1904) unless defined?(GL_GREEN)
|
594
|
+
const_set('GL_RED', 0x1903) unless defined?(GL_RED)
|
595
|
+
const_set('GL_XOR', 0x1506) unless defined?(GL_XOR)
|
596
|
+
const_set('GL_BLEND_OVERLAP_NV', 0x9281) unless defined?(GL_BLEND_OVERLAP_NV)
|
597
|
+
const_set('GL_BLEND_PREMULTIPLIED_SRC_NV', 0x9280) unless defined?(GL_BLEND_PREMULTIPLIED_SRC_NV)
|
598
|
+
const_set('GL_COLORBURN_NV', 0x929A) unless defined?(GL_COLORBURN_NV)
|
599
|
+
const_set('GL_COLORDODGE_NV', 0x9299) unless defined?(GL_COLORDODGE_NV)
|
600
|
+
const_set('GL_CONJOINT_NV', 0x9284) unless defined?(GL_CONJOINT_NV)
|
601
|
+
const_set('GL_CONTRAST_NV', 0x92A1) unless defined?(GL_CONTRAST_NV)
|
602
|
+
const_set('GL_DARKEN_NV', 0x9297) unless defined?(GL_DARKEN_NV)
|
603
|
+
const_set('GL_DIFFERENCE_NV', 0x929E) unless defined?(GL_DIFFERENCE_NV)
|
604
|
+
const_set('GL_DISJOINT_NV', 0x9283) unless defined?(GL_DISJOINT_NV)
|
605
|
+
const_set('GL_DST_ATOP_NV', 0x928F) unless defined?(GL_DST_ATOP_NV)
|
606
|
+
const_set('GL_DST_IN_NV', 0x928B) unless defined?(GL_DST_IN_NV)
|
607
|
+
const_set('GL_DST_NV', 0x9287) unless defined?(GL_DST_NV)
|
608
|
+
const_set('GL_DST_OUT_NV', 0x928D) unless defined?(GL_DST_OUT_NV)
|
609
|
+
const_set('GL_DST_OVER_NV', 0x9289) unless defined?(GL_DST_OVER_NV)
|
610
|
+
const_set('GL_EXCLUSION_NV', 0x92A0) unless defined?(GL_EXCLUSION_NV)
|
611
|
+
const_set('GL_HARDLIGHT_NV', 0x929B) unless defined?(GL_HARDLIGHT_NV)
|
612
|
+
const_set('GL_HARDMIX_NV', 0x92A9) unless defined?(GL_HARDMIX_NV)
|
613
|
+
const_set('GL_HSL_COLOR_NV', 0x92AF) unless defined?(GL_HSL_COLOR_NV)
|
614
|
+
const_set('GL_HSL_HUE_NV', 0x92AD) unless defined?(GL_HSL_HUE_NV)
|
615
|
+
const_set('GL_HSL_LUMINOSITY_NV', 0x92B0) unless defined?(GL_HSL_LUMINOSITY_NV)
|
616
|
+
const_set('GL_HSL_SATURATION_NV', 0x92AE) unless defined?(GL_HSL_SATURATION_NV)
|
617
|
+
const_set('GL_INVERT', 0x150A) unless defined?(GL_INVERT)
|
618
|
+
const_set('GL_INVERT_OVG_NV', 0x92B4) unless defined?(GL_INVERT_OVG_NV)
|
619
|
+
const_set('GL_INVERT_RGB_NV', 0x92A3) unless defined?(GL_INVERT_RGB_NV)
|
620
|
+
const_set('GL_LIGHTEN_NV', 0x9298) unless defined?(GL_LIGHTEN_NV)
|
621
|
+
const_set('GL_LINEARBURN_NV', 0x92A5) unless defined?(GL_LINEARBURN_NV)
|
622
|
+
const_set('GL_LINEARDODGE_NV', 0x92A4) unless defined?(GL_LINEARDODGE_NV)
|
623
|
+
const_set('GL_LINEARLIGHT_NV', 0x92A7) unless defined?(GL_LINEARLIGHT_NV)
|
624
|
+
const_set('GL_MINUS_CLAMPED_NV', 0x92B3) unless defined?(GL_MINUS_CLAMPED_NV)
|
625
|
+
const_set('GL_MINUS_NV', 0x929F) unless defined?(GL_MINUS_NV)
|
626
|
+
const_set('GL_MULTIPLY_NV', 0x9294) unless defined?(GL_MULTIPLY_NV)
|
627
|
+
const_set('GL_OVERLAY_NV', 0x9296) unless defined?(GL_OVERLAY_NV)
|
628
|
+
const_set('GL_PINLIGHT_NV', 0x92A8) unless defined?(GL_PINLIGHT_NV)
|
629
|
+
const_set('GL_PLUS_CLAMPED_ALPHA_NV', 0x92B2) unless defined?(GL_PLUS_CLAMPED_ALPHA_NV)
|
630
|
+
const_set('GL_PLUS_CLAMPED_NV', 0x92B1) unless defined?(GL_PLUS_CLAMPED_NV)
|
631
|
+
const_set('GL_PLUS_DARKER_NV', 0x9292) unless defined?(GL_PLUS_DARKER_NV)
|
632
|
+
const_set('GL_PLUS_NV', 0x9291) unless defined?(GL_PLUS_NV)
|
633
|
+
const_set('GL_SCREEN_NV', 0x9295) unless defined?(GL_SCREEN_NV)
|
634
|
+
const_set('GL_SOFTLIGHT_NV', 0x929C) unless defined?(GL_SOFTLIGHT_NV)
|
635
|
+
const_set('GL_SRC_ATOP_NV', 0x928E) unless defined?(GL_SRC_ATOP_NV)
|
636
|
+
const_set('GL_SRC_IN_NV', 0x928A) unless defined?(GL_SRC_IN_NV)
|
637
|
+
const_set('GL_SRC_NV', 0x9286) unless defined?(GL_SRC_NV)
|
638
|
+
const_set('GL_SRC_OUT_NV', 0x928C) unless defined?(GL_SRC_OUT_NV)
|
639
|
+
const_set('GL_SRC_OVER_NV', 0x9288) unless defined?(GL_SRC_OVER_NV)
|
640
|
+
const_set('GL_UNCORRELATED_NV', 0x9282) unless defined?(GL_UNCORRELATED_NV)
|
641
|
+
const_set('GL_VIVIDLIGHT_NV', 0x92A6) unless defined?(GL_VIVIDLIGHT_NV)
|
642
|
+
const_set('GL_ZERO', 0) unless defined?(GL_ZERO)
|
643
|
+
end # define_enum_GL_NV_blend_equation_advanced
|
644
|
+
|
645
|
+
def define_enum_GL_NV_blend_equation_advanced_coherent
|
646
|
+
const_set('GL_BLEND_ADVANCED_COHERENT_NV', 0x9285) unless defined?(GL_BLEND_ADVANCED_COHERENT_NV)
|
647
|
+
end # define_enum_GL_NV_blend_equation_advanced_coherent
|
648
|
+
|
649
|
+
def define_enum_GL_NV_copy_buffer
|
650
|
+
const_set('GL_COPY_READ_BUFFER_NV', 0x8F36) unless defined?(GL_COPY_READ_BUFFER_NV)
|
651
|
+
const_set('GL_COPY_WRITE_BUFFER_NV', 0x8F37) unless defined?(GL_COPY_WRITE_BUFFER_NV)
|
652
|
+
end # define_enum_GL_NV_copy_buffer
|
653
|
+
|
654
|
+
def define_enum_GL_NV_coverage_sample
|
655
|
+
const_set('GL_COVERAGE_COMPONENT_NV', 0x8ED0) unless defined?(GL_COVERAGE_COMPONENT_NV)
|
656
|
+
const_set('GL_COVERAGE_COMPONENT4_NV', 0x8ED1) unless defined?(GL_COVERAGE_COMPONENT4_NV)
|
657
|
+
const_set('GL_COVERAGE_ATTACHMENT_NV', 0x8ED2) unless defined?(GL_COVERAGE_ATTACHMENT_NV)
|
658
|
+
const_set('GL_COVERAGE_BUFFERS_NV', 0x8ED3) unless defined?(GL_COVERAGE_BUFFERS_NV)
|
659
|
+
const_set('GL_COVERAGE_SAMPLES_NV', 0x8ED4) unless defined?(GL_COVERAGE_SAMPLES_NV)
|
660
|
+
const_set('GL_COVERAGE_ALL_FRAGMENTS_NV', 0x8ED5) unless defined?(GL_COVERAGE_ALL_FRAGMENTS_NV)
|
661
|
+
const_set('GL_COVERAGE_EDGE_FRAGMENTS_NV', 0x8ED6) unless defined?(GL_COVERAGE_EDGE_FRAGMENTS_NV)
|
662
|
+
const_set('GL_COVERAGE_AUTOMATIC_NV', 0x8ED7) unless defined?(GL_COVERAGE_AUTOMATIC_NV)
|
663
|
+
const_set('GL_COVERAGE_BUFFER_BIT_NV', 0x00008000) unless defined?(GL_COVERAGE_BUFFER_BIT_NV)
|
664
|
+
end # define_enum_GL_NV_coverage_sample
|
665
|
+
|
666
|
+
def define_enum_GL_NV_depth_nonlinear
|
667
|
+
const_set('GL_DEPTH_COMPONENT16_NONLINEAR_NV', 0x8E2C) unless defined?(GL_DEPTH_COMPONENT16_NONLINEAR_NV)
|
668
|
+
end # define_enum_GL_NV_depth_nonlinear
|
669
|
+
|
670
|
+
def define_enum_GL_NV_draw_buffers
|
671
|
+
const_set('GL_MAX_DRAW_BUFFERS_NV', 0x8824) unless defined?(GL_MAX_DRAW_BUFFERS_NV)
|
672
|
+
const_set('GL_DRAW_BUFFER0_NV', 0x8825) unless defined?(GL_DRAW_BUFFER0_NV)
|
673
|
+
const_set('GL_DRAW_BUFFER1_NV', 0x8826) unless defined?(GL_DRAW_BUFFER1_NV)
|
674
|
+
const_set('GL_DRAW_BUFFER2_NV', 0x8827) unless defined?(GL_DRAW_BUFFER2_NV)
|
675
|
+
const_set('GL_DRAW_BUFFER3_NV', 0x8828) unless defined?(GL_DRAW_BUFFER3_NV)
|
676
|
+
const_set('GL_DRAW_BUFFER4_NV', 0x8829) unless defined?(GL_DRAW_BUFFER4_NV)
|
677
|
+
const_set('GL_DRAW_BUFFER5_NV', 0x882A) unless defined?(GL_DRAW_BUFFER5_NV)
|
678
|
+
const_set('GL_DRAW_BUFFER6_NV', 0x882B) unless defined?(GL_DRAW_BUFFER6_NV)
|
679
|
+
const_set('GL_DRAW_BUFFER7_NV', 0x882C) unless defined?(GL_DRAW_BUFFER7_NV)
|
680
|
+
const_set('GL_DRAW_BUFFER8_NV', 0x882D) unless defined?(GL_DRAW_BUFFER8_NV)
|
681
|
+
const_set('GL_DRAW_BUFFER9_NV', 0x882E) unless defined?(GL_DRAW_BUFFER9_NV)
|
682
|
+
const_set('GL_DRAW_BUFFER10_NV', 0x882F) unless defined?(GL_DRAW_BUFFER10_NV)
|
683
|
+
const_set('GL_DRAW_BUFFER11_NV', 0x8830) unless defined?(GL_DRAW_BUFFER11_NV)
|
684
|
+
const_set('GL_DRAW_BUFFER12_NV', 0x8831) unless defined?(GL_DRAW_BUFFER12_NV)
|
685
|
+
const_set('GL_DRAW_BUFFER13_NV', 0x8832) unless defined?(GL_DRAW_BUFFER13_NV)
|
686
|
+
const_set('GL_DRAW_BUFFER14_NV', 0x8833) unless defined?(GL_DRAW_BUFFER14_NV)
|
687
|
+
const_set('GL_DRAW_BUFFER15_NV', 0x8834) unless defined?(GL_DRAW_BUFFER15_NV)
|
688
|
+
const_set('GL_COLOR_ATTACHMENT0_NV', 0x8CE0) unless defined?(GL_COLOR_ATTACHMENT0_NV)
|
689
|
+
const_set('GL_COLOR_ATTACHMENT1_NV', 0x8CE1) unless defined?(GL_COLOR_ATTACHMENT1_NV)
|
690
|
+
const_set('GL_COLOR_ATTACHMENT2_NV', 0x8CE2) unless defined?(GL_COLOR_ATTACHMENT2_NV)
|
691
|
+
const_set('GL_COLOR_ATTACHMENT3_NV', 0x8CE3) unless defined?(GL_COLOR_ATTACHMENT3_NV)
|
692
|
+
const_set('GL_COLOR_ATTACHMENT4_NV', 0x8CE4) unless defined?(GL_COLOR_ATTACHMENT4_NV)
|
693
|
+
const_set('GL_COLOR_ATTACHMENT5_NV', 0x8CE5) unless defined?(GL_COLOR_ATTACHMENT5_NV)
|
694
|
+
const_set('GL_COLOR_ATTACHMENT6_NV', 0x8CE6) unless defined?(GL_COLOR_ATTACHMENT6_NV)
|
695
|
+
const_set('GL_COLOR_ATTACHMENT7_NV', 0x8CE7) unless defined?(GL_COLOR_ATTACHMENT7_NV)
|
696
|
+
const_set('GL_COLOR_ATTACHMENT8_NV', 0x8CE8) unless defined?(GL_COLOR_ATTACHMENT8_NV)
|
697
|
+
const_set('GL_COLOR_ATTACHMENT9_NV', 0x8CE9) unless defined?(GL_COLOR_ATTACHMENT9_NV)
|
698
|
+
const_set('GL_COLOR_ATTACHMENT10_NV', 0x8CEA) unless defined?(GL_COLOR_ATTACHMENT10_NV)
|
699
|
+
const_set('GL_COLOR_ATTACHMENT11_NV', 0x8CEB) unless defined?(GL_COLOR_ATTACHMENT11_NV)
|
700
|
+
const_set('GL_COLOR_ATTACHMENT12_NV', 0x8CEC) unless defined?(GL_COLOR_ATTACHMENT12_NV)
|
701
|
+
const_set('GL_COLOR_ATTACHMENT13_NV', 0x8CED) unless defined?(GL_COLOR_ATTACHMENT13_NV)
|
702
|
+
const_set('GL_COLOR_ATTACHMENT14_NV', 0x8CEE) unless defined?(GL_COLOR_ATTACHMENT14_NV)
|
703
|
+
const_set('GL_COLOR_ATTACHMENT15_NV', 0x8CEF) unless defined?(GL_COLOR_ATTACHMENT15_NV)
|
704
|
+
end # define_enum_GL_NV_draw_buffers
|
705
|
+
|
706
|
+
def define_enum_GL_NV_draw_instanced
|
707
|
+
end # define_enum_GL_NV_draw_instanced
|
708
|
+
|
709
|
+
def define_enum_GL_NV_explicit_attrib_location
|
710
|
+
end # define_enum_GL_NV_explicit_attrib_location
|
711
|
+
|
712
|
+
def define_enum_GL_NV_fbo_color_attachments
|
713
|
+
const_set('GL_MAX_COLOR_ATTACHMENTS_NV', 0x8CDF) unless defined?(GL_MAX_COLOR_ATTACHMENTS_NV)
|
714
|
+
const_set('GL_COLOR_ATTACHMENT0_NV', 0x8CE0) unless defined?(GL_COLOR_ATTACHMENT0_NV)
|
715
|
+
const_set('GL_COLOR_ATTACHMENT1_NV', 0x8CE1) unless defined?(GL_COLOR_ATTACHMENT1_NV)
|
716
|
+
const_set('GL_COLOR_ATTACHMENT2_NV', 0x8CE2) unless defined?(GL_COLOR_ATTACHMENT2_NV)
|
717
|
+
const_set('GL_COLOR_ATTACHMENT3_NV', 0x8CE3) unless defined?(GL_COLOR_ATTACHMENT3_NV)
|
718
|
+
const_set('GL_COLOR_ATTACHMENT4_NV', 0x8CE4) unless defined?(GL_COLOR_ATTACHMENT4_NV)
|
719
|
+
const_set('GL_COLOR_ATTACHMENT5_NV', 0x8CE5) unless defined?(GL_COLOR_ATTACHMENT5_NV)
|
720
|
+
const_set('GL_COLOR_ATTACHMENT6_NV', 0x8CE6) unless defined?(GL_COLOR_ATTACHMENT6_NV)
|
721
|
+
const_set('GL_COLOR_ATTACHMENT7_NV', 0x8CE7) unless defined?(GL_COLOR_ATTACHMENT7_NV)
|
722
|
+
const_set('GL_COLOR_ATTACHMENT8_NV', 0x8CE8) unless defined?(GL_COLOR_ATTACHMENT8_NV)
|
723
|
+
const_set('GL_COLOR_ATTACHMENT9_NV', 0x8CE9) unless defined?(GL_COLOR_ATTACHMENT9_NV)
|
724
|
+
const_set('GL_COLOR_ATTACHMENT10_NV', 0x8CEA) unless defined?(GL_COLOR_ATTACHMENT10_NV)
|
725
|
+
const_set('GL_COLOR_ATTACHMENT11_NV', 0x8CEB) unless defined?(GL_COLOR_ATTACHMENT11_NV)
|
726
|
+
const_set('GL_COLOR_ATTACHMENT12_NV', 0x8CEC) unless defined?(GL_COLOR_ATTACHMENT12_NV)
|
727
|
+
const_set('GL_COLOR_ATTACHMENT13_NV', 0x8CED) unless defined?(GL_COLOR_ATTACHMENT13_NV)
|
728
|
+
const_set('GL_COLOR_ATTACHMENT14_NV', 0x8CEE) unless defined?(GL_COLOR_ATTACHMENT14_NV)
|
729
|
+
const_set('GL_COLOR_ATTACHMENT15_NV', 0x8CEF) unless defined?(GL_COLOR_ATTACHMENT15_NV)
|
730
|
+
end # define_enum_GL_NV_fbo_color_attachments
|
731
|
+
|
732
|
+
def define_enum_GL_NV_fence
|
733
|
+
const_set('GL_ALL_COMPLETED_NV', 0x84F2) unless defined?(GL_ALL_COMPLETED_NV)
|
734
|
+
const_set('GL_FENCE_STATUS_NV', 0x84F3) unless defined?(GL_FENCE_STATUS_NV)
|
735
|
+
const_set('GL_FENCE_CONDITION_NV', 0x84F4) unless defined?(GL_FENCE_CONDITION_NV)
|
736
|
+
end # define_enum_GL_NV_fence
|
737
|
+
|
738
|
+
def define_enum_GL_NV_framebuffer_blit
|
739
|
+
const_set('GL_READ_FRAMEBUFFER_NV', 0x8CA8) unless defined?(GL_READ_FRAMEBUFFER_NV)
|
740
|
+
const_set('GL_DRAW_FRAMEBUFFER_NV', 0x8CA9) unless defined?(GL_DRAW_FRAMEBUFFER_NV)
|
741
|
+
const_set('GL_DRAW_FRAMEBUFFER_BINDING_NV', 0x8CA6) unless defined?(GL_DRAW_FRAMEBUFFER_BINDING_NV)
|
742
|
+
const_set('GL_READ_FRAMEBUFFER_BINDING_NV', 0x8CAA) unless defined?(GL_READ_FRAMEBUFFER_BINDING_NV)
|
743
|
+
end # define_enum_GL_NV_framebuffer_blit
|
744
|
+
|
745
|
+
def define_enum_GL_NV_framebuffer_multisample
|
746
|
+
const_set('GL_RENDERBUFFER_SAMPLES_NV', 0x8CAB) unless defined?(GL_RENDERBUFFER_SAMPLES_NV)
|
747
|
+
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV', 0x8D56) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV)
|
748
|
+
const_set('GL_MAX_SAMPLES_NV', 0x8D57) unless defined?(GL_MAX_SAMPLES_NV)
|
749
|
+
end # define_enum_GL_NV_framebuffer_multisample
|
750
|
+
|
751
|
+
def define_enum_GL_NV_generate_mipmap_sRGB
|
752
|
+
end # define_enum_GL_NV_generate_mipmap_sRGB
|
753
|
+
|
754
|
+
def define_enum_GL_NV_instanced_arrays
|
755
|
+
const_set('GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV', 0x88FE) unless defined?(GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV)
|
756
|
+
end # define_enum_GL_NV_instanced_arrays
|
757
|
+
|
758
|
+
def define_enum_GL_NV_non_square_matrices
|
759
|
+
const_set('GL_FLOAT_MAT2x3_NV', 0x8B65) unless defined?(GL_FLOAT_MAT2x3_NV)
|
760
|
+
const_set('GL_FLOAT_MAT2x4_NV', 0x8B66) unless defined?(GL_FLOAT_MAT2x4_NV)
|
761
|
+
const_set('GL_FLOAT_MAT3x2_NV', 0x8B67) unless defined?(GL_FLOAT_MAT3x2_NV)
|
762
|
+
const_set('GL_FLOAT_MAT3x4_NV', 0x8B68) unless defined?(GL_FLOAT_MAT3x4_NV)
|
763
|
+
const_set('GL_FLOAT_MAT4x2_NV', 0x8B69) unless defined?(GL_FLOAT_MAT4x2_NV)
|
764
|
+
const_set('GL_FLOAT_MAT4x3_NV', 0x8B6A) unless defined?(GL_FLOAT_MAT4x3_NV)
|
765
|
+
end # define_enum_GL_NV_non_square_matrices
|
766
|
+
|
767
|
+
def define_enum_GL_NV_read_buffer
|
768
|
+
const_set('GL_READ_BUFFER_NV', 0x0C02) unless defined?(GL_READ_BUFFER_NV)
|
769
|
+
end # define_enum_GL_NV_read_buffer
|
770
|
+
|
771
|
+
def define_enum_GL_NV_read_buffer_front
|
772
|
+
end # define_enum_GL_NV_read_buffer_front
|
773
|
+
|
774
|
+
def define_enum_GL_NV_read_depth
|
775
|
+
end # define_enum_GL_NV_read_depth
|
776
|
+
|
777
|
+
def define_enum_GL_NV_read_depth_stencil
|
778
|
+
end # define_enum_GL_NV_read_depth_stencil
|
779
|
+
|
780
|
+
def define_enum_GL_NV_read_stencil
|
781
|
+
end # define_enum_GL_NV_read_stencil
|
782
|
+
|
783
|
+
def define_enum_GL_NV_sRGB_formats
|
784
|
+
const_set('GL_SLUMINANCE_NV', 0x8C46) unless defined?(GL_SLUMINANCE_NV)
|
785
|
+
const_set('GL_SLUMINANCE_ALPHA_NV', 0x8C44) unless defined?(GL_SLUMINANCE_ALPHA_NV)
|
786
|
+
const_set('GL_SRGB8_NV', 0x8C41) unless defined?(GL_SRGB8_NV)
|
787
|
+
const_set('GL_SLUMINANCE8_NV', 0x8C47) unless defined?(GL_SLUMINANCE8_NV)
|
788
|
+
const_set('GL_SLUMINANCE8_ALPHA8_NV', 0x8C45) unless defined?(GL_SLUMINANCE8_ALPHA8_NV)
|
789
|
+
const_set('GL_COMPRESSED_SRGB_S3TC_DXT1_NV', 0x8C4C) unless defined?(GL_COMPRESSED_SRGB_S3TC_DXT1_NV)
|
790
|
+
const_set('GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV', 0x8C4D) unless defined?(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV)
|
791
|
+
const_set('GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV', 0x8C4E) unless defined?(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV)
|
792
|
+
const_set('GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV', 0x8C4F) unless defined?(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV)
|
793
|
+
const_set('GL_ETC1_SRGB8_NV', 0x88EE) unless defined?(GL_ETC1_SRGB8_NV)
|
794
|
+
end # define_enum_GL_NV_sRGB_formats
|
795
|
+
|
796
|
+
def define_enum_GL_NV_shadow_samplers_array
|
797
|
+
const_set('GL_SAMPLER_2D_ARRAY_SHADOW_NV', 0x8DC4) unless defined?(GL_SAMPLER_2D_ARRAY_SHADOW_NV)
|
798
|
+
end # define_enum_GL_NV_shadow_samplers_array
|
799
|
+
|
800
|
+
def define_enum_GL_NV_shadow_samplers_cube
|
801
|
+
const_set('GL_SAMPLER_CUBE_SHADOW_NV', 0x8DC5) unless defined?(GL_SAMPLER_CUBE_SHADOW_NV)
|
802
|
+
end # define_enum_GL_NV_shadow_samplers_cube
|
803
|
+
|
804
|
+
def define_enum_GL_NV_texture_border_clamp
|
805
|
+
const_set('GL_TEXTURE_BORDER_COLOR_NV', 0x1004) unless defined?(GL_TEXTURE_BORDER_COLOR_NV)
|
806
|
+
const_set('GL_CLAMP_TO_BORDER_NV', 0x812D) unless defined?(GL_CLAMP_TO_BORDER_NV)
|
807
|
+
end # define_enum_GL_NV_texture_border_clamp
|
808
|
+
|
809
|
+
def define_enum_GL_NV_texture_compression_s3tc_update
|
810
|
+
end # define_enum_GL_NV_texture_compression_s3tc_update
|
811
|
+
|
812
|
+
def define_enum_GL_NV_texture_npot_2D_mipmap
|
813
|
+
end # define_enum_GL_NV_texture_npot_2D_mipmap
|
814
|
+
|
815
|
+
def define_enum_GL_OES_EGL_image
|
816
|
+
end # define_enum_GL_OES_EGL_image
|
817
|
+
|
818
|
+
def define_enum_GL_OES_EGL_image_external
|
819
|
+
const_set('GL_TEXTURE_EXTERNAL_OES', 0x8D65) unless defined?(GL_TEXTURE_EXTERNAL_OES)
|
820
|
+
const_set('GL_TEXTURE_BINDING_EXTERNAL_OES', 0x8D67) unless defined?(GL_TEXTURE_BINDING_EXTERNAL_OES)
|
821
|
+
const_set('GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES', 0x8D68) unless defined?(GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES)
|
822
|
+
const_set('GL_SAMPLER_EXTERNAL_OES', 0x8D66) unless defined?(GL_SAMPLER_EXTERNAL_OES)
|
823
|
+
end # define_enum_GL_OES_EGL_image_external
|
824
|
+
|
825
|
+
def define_enum_GL_OES_compressed_ETC1_RGB8_texture
|
826
|
+
const_set('GL_ETC1_RGB8_OES', 0x8D64) unless defined?(GL_ETC1_RGB8_OES)
|
827
|
+
end # define_enum_GL_OES_compressed_ETC1_RGB8_texture
|
828
|
+
|
829
|
+
def define_enum_GL_OES_compressed_paletted_texture
|
830
|
+
const_set('GL_PALETTE4_RGB8_OES', 0x8B90) unless defined?(GL_PALETTE4_RGB8_OES)
|
831
|
+
const_set('GL_PALETTE4_RGBA8_OES', 0x8B91) unless defined?(GL_PALETTE4_RGBA8_OES)
|
832
|
+
const_set('GL_PALETTE4_R5_G6_B5_OES', 0x8B92) unless defined?(GL_PALETTE4_R5_G6_B5_OES)
|
833
|
+
const_set('GL_PALETTE4_RGBA4_OES', 0x8B93) unless defined?(GL_PALETTE4_RGBA4_OES)
|
834
|
+
const_set('GL_PALETTE4_RGB5_A1_OES', 0x8B94) unless defined?(GL_PALETTE4_RGB5_A1_OES)
|
835
|
+
const_set('GL_PALETTE8_RGB8_OES', 0x8B95) unless defined?(GL_PALETTE8_RGB8_OES)
|
836
|
+
const_set('GL_PALETTE8_RGBA8_OES', 0x8B96) unless defined?(GL_PALETTE8_RGBA8_OES)
|
837
|
+
const_set('GL_PALETTE8_R5_G6_B5_OES', 0x8B97) unless defined?(GL_PALETTE8_R5_G6_B5_OES)
|
838
|
+
const_set('GL_PALETTE8_RGBA4_OES', 0x8B98) unless defined?(GL_PALETTE8_RGBA4_OES)
|
839
|
+
const_set('GL_PALETTE8_RGB5_A1_OES', 0x8B99) unless defined?(GL_PALETTE8_RGB5_A1_OES)
|
840
|
+
end # define_enum_GL_OES_compressed_paletted_texture
|
841
|
+
|
842
|
+
def define_enum_GL_OES_depth24
|
843
|
+
const_set('GL_DEPTH_COMPONENT24_OES', 0x81A6) unless defined?(GL_DEPTH_COMPONENT24_OES)
|
844
|
+
end # define_enum_GL_OES_depth24
|
845
|
+
|
846
|
+
def define_enum_GL_OES_depth32
|
847
|
+
const_set('GL_DEPTH_COMPONENT32_OES', 0x81A7) unless defined?(GL_DEPTH_COMPONENT32_OES)
|
848
|
+
end # define_enum_GL_OES_depth32
|
849
|
+
|
850
|
+
def define_enum_GL_OES_depth_texture
|
851
|
+
const_set('GL_DEPTH_COMPONENT', 0x1902) unless defined?(GL_DEPTH_COMPONENT)
|
852
|
+
const_set('GL_UNSIGNED_SHORT', 0x1403) unless defined?(GL_UNSIGNED_SHORT)
|
853
|
+
const_set('GL_UNSIGNED_INT', 0x1405) unless defined?(GL_UNSIGNED_INT)
|
854
|
+
end # define_enum_GL_OES_depth_texture
|
855
|
+
|
856
|
+
def define_enum_GL_OES_element_index_uint
|
857
|
+
const_set('GL_UNSIGNED_INT', 0x1405) unless defined?(GL_UNSIGNED_INT)
|
858
|
+
end # define_enum_GL_OES_element_index_uint
|
859
|
+
|
860
|
+
def define_enum_GL_OES_fbo_render_mipmap
|
861
|
+
end # define_enum_GL_OES_fbo_render_mipmap
|
862
|
+
|
863
|
+
def define_enum_GL_OES_fragment_precision_high
|
864
|
+
end # define_enum_GL_OES_fragment_precision_high
|
865
|
+
|
866
|
+
def define_enum_GL_OES_get_program_binary
|
867
|
+
const_set('GL_PROGRAM_BINARY_LENGTH_OES', 0x8741) unless defined?(GL_PROGRAM_BINARY_LENGTH_OES)
|
868
|
+
const_set('GL_NUM_PROGRAM_BINARY_FORMATS_OES', 0x87FE) unless defined?(GL_NUM_PROGRAM_BINARY_FORMATS_OES)
|
869
|
+
const_set('GL_PROGRAM_BINARY_FORMATS_OES', 0x87FF) unless defined?(GL_PROGRAM_BINARY_FORMATS_OES)
|
870
|
+
end # define_enum_GL_OES_get_program_binary
|
871
|
+
|
872
|
+
def define_enum_GL_OES_mapbuffer
|
873
|
+
const_set('GL_WRITE_ONLY_OES', 0x88B9) unless defined?(GL_WRITE_ONLY_OES)
|
874
|
+
const_set('GL_BUFFER_ACCESS_OES', 0x88BB) unless defined?(GL_BUFFER_ACCESS_OES)
|
875
|
+
const_set('GL_BUFFER_MAPPED_OES', 0x88BC) unless defined?(GL_BUFFER_MAPPED_OES)
|
876
|
+
const_set('GL_BUFFER_MAP_POINTER_OES', 0x88BD) unless defined?(GL_BUFFER_MAP_POINTER_OES)
|
877
|
+
end # define_enum_GL_OES_mapbuffer
|
878
|
+
|
879
|
+
def define_enum_GL_OES_packed_depth_stencil
|
880
|
+
const_set('GL_DEPTH_STENCIL_OES', 0x84F9) unless defined?(GL_DEPTH_STENCIL_OES)
|
881
|
+
const_set('GL_UNSIGNED_INT_24_8_OES', 0x84FA) unless defined?(GL_UNSIGNED_INT_24_8_OES)
|
882
|
+
const_set('GL_DEPTH24_STENCIL8_OES', 0x88F0) unless defined?(GL_DEPTH24_STENCIL8_OES)
|
883
|
+
end # define_enum_GL_OES_packed_depth_stencil
|
884
|
+
|
885
|
+
def define_enum_GL_OES_required_internalformat
|
886
|
+
const_set('GL_ALPHA8_OES', 0x803C) unless defined?(GL_ALPHA8_OES)
|
887
|
+
const_set('GL_DEPTH_COMPONENT16_OES', 0x81A5) unless defined?(GL_DEPTH_COMPONENT16_OES)
|
888
|
+
const_set('GL_DEPTH_COMPONENT24_OES', 0x81A6) unless defined?(GL_DEPTH_COMPONENT24_OES)
|
889
|
+
const_set('GL_DEPTH24_STENCIL8_OES', 0x88F0) unless defined?(GL_DEPTH24_STENCIL8_OES)
|
890
|
+
const_set('GL_DEPTH_COMPONENT32_OES', 0x81A7) unless defined?(GL_DEPTH_COMPONENT32_OES)
|
891
|
+
const_set('GL_LUMINANCE4_ALPHA4_OES', 0x8043) unless defined?(GL_LUMINANCE4_ALPHA4_OES)
|
892
|
+
const_set('GL_LUMINANCE8_ALPHA8_OES', 0x8045) unless defined?(GL_LUMINANCE8_ALPHA8_OES)
|
893
|
+
const_set('GL_LUMINANCE8_OES', 0x8040) unless defined?(GL_LUMINANCE8_OES)
|
894
|
+
const_set('GL_RGBA4_OES', 0x8056) unless defined?(GL_RGBA4_OES)
|
895
|
+
const_set('GL_RGB5_A1_OES', 0x8057) unless defined?(GL_RGB5_A1_OES)
|
896
|
+
const_set('GL_RGB565_OES', 0x8D62) unless defined?(GL_RGB565_OES)
|
897
|
+
const_set('GL_RGB8_OES', 0x8051) unless defined?(GL_RGB8_OES)
|
898
|
+
const_set('GL_RGBA8_OES', 0x8058) unless defined?(GL_RGBA8_OES)
|
899
|
+
const_set('GL_RGB10_EXT', 0x8052) unless defined?(GL_RGB10_EXT)
|
900
|
+
const_set('GL_RGB10_A2_EXT', 0x8059) unless defined?(GL_RGB10_A2_EXT)
|
901
|
+
end # define_enum_GL_OES_required_internalformat
|
902
|
+
|
903
|
+
def define_enum_GL_OES_rgb8_rgba8
|
904
|
+
const_set('GL_RGB8_OES', 0x8051) unless defined?(GL_RGB8_OES)
|
905
|
+
const_set('GL_RGBA8_OES', 0x8058) unless defined?(GL_RGBA8_OES)
|
906
|
+
end # define_enum_GL_OES_rgb8_rgba8
|
907
|
+
|
908
|
+
def define_enum_GL_OES_standard_derivatives
|
909
|
+
const_set('GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES', 0x8B8B) unless defined?(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES)
|
910
|
+
end # define_enum_GL_OES_standard_derivatives
|
911
|
+
|
912
|
+
def define_enum_GL_OES_stencil1
|
913
|
+
const_set('GL_STENCIL_INDEX1_OES', 0x8D46) unless defined?(GL_STENCIL_INDEX1_OES)
|
914
|
+
end # define_enum_GL_OES_stencil1
|
915
|
+
|
916
|
+
def define_enum_GL_OES_stencil4
|
917
|
+
const_set('GL_STENCIL_INDEX4_OES', 0x8D47) unless defined?(GL_STENCIL_INDEX4_OES)
|
918
|
+
end # define_enum_GL_OES_stencil4
|
919
|
+
|
920
|
+
def define_enum_GL_OES_surfaceless_context
|
921
|
+
const_set('GL_FRAMEBUFFER_UNDEFINED_OES', 0x8219) unless defined?(GL_FRAMEBUFFER_UNDEFINED_OES)
|
922
|
+
end # define_enum_GL_OES_surfaceless_context
|
923
|
+
|
924
|
+
def define_enum_GL_OES_texture_3D
|
925
|
+
const_set('GL_TEXTURE_WRAP_R_OES', 0x8072) unless defined?(GL_TEXTURE_WRAP_R_OES)
|
926
|
+
const_set('GL_TEXTURE_3D_OES', 0x806F) unless defined?(GL_TEXTURE_3D_OES)
|
927
|
+
const_set('GL_TEXTURE_BINDING_3D_OES', 0x806A) unless defined?(GL_TEXTURE_BINDING_3D_OES)
|
928
|
+
const_set('GL_MAX_3D_TEXTURE_SIZE_OES', 0x8073) unless defined?(GL_MAX_3D_TEXTURE_SIZE_OES)
|
929
|
+
const_set('GL_SAMPLER_3D_OES', 0x8B5F) unless defined?(GL_SAMPLER_3D_OES)
|
930
|
+
const_set('GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES', 0x8CD4) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES)
|
931
|
+
end # define_enum_GL_OES_texture_3D
|
932
|
+
|
933
|
+
def define_enum_GL_OES_texture_compression_astc
|
934
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
|
935
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
|
936
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_5x5_KHR', 0x93B2) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x5_KHR)
|
937
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_6x5_KHR', 0x93B3) unless defined?(GL_COMPRESSED_RGBA_ASTC_6x5_KHR)
|
938
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_6x6_KHR', 0x93B4) unless defined?(GL_COMPRESSED_RGBA_ASTC_6x6_KHR)
|
939
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_8x5_KHR', 0x93B5) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x5_KHR)
|
940
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_8x6_KHR', 0x93B6) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x6_KHR)
|
941
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_8x8_KHR', 0x93B7) unless defined?(GL_COMPRESSED_RGBA_ASTC_8x8_KHR)
|
942
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x5_KHR', 0x93B8) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x5_KHR)
|
943
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x6_KHR', 0x93B9) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x6_KHR)
|
944
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x8_KHR', 0x93BA) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x8_KHR)
|
945
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_10x10_KHR', 0x93BB) unless defined?(GL_COMPRESSED_RGBA_ASTC_10x10_KHR)
|
946
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_12x10_KHR', 0x93BC) unless defined?(GL_COMPRESSED_RGBA_ASTC_12x10_KHR)
|
947
|
+
const_set('GL_COMPRESSED_RGBA_ASTC_12x12_KHR', 0x93BD) unless defined?(GL_COMPRESSED_RGBA_ASTC_12x12_KHR)
|
948
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR', 0x93D0) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR)
|
949
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR', 0x93D1) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR)
|
950
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR', 0x93D2) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR)
|
951
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR', 0x93D3) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR)
|
952
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR', 0x93D4) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR)
|
953
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR', 0x93D5) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR)
|
954
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR', 0x93D6) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR)
|
955
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR', 0x93D7) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR)
|
956
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR', 0x93D8) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR)
|
957
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR', 0x93D9) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR)
|
958
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR', 0x93DA) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR)
|
959
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR', 0x93DB) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR)
|
960
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR', 0x93DC) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR)
|
961
|
+
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR', 0x93DD) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR)
|
962
|
+
end # define_enum_GL_OES_texture_compression_astc
|
963
|
+
|
964
|
+
def define_enum_GL_OES_texture_float
|
965
|
+
const_set('GL_FLOAT', 0x1406) unless defined?(GL_FLOAT)
|
966
|
+
end # define_enum_GL_OES_texture_float
|
967
|
+
|
968
|
+
def define_enum_GL_OES_texture_float_linear
|
969
|
+
end # define_enum_GL_OES_texture_float_linear
|
970
|
+
|
971
|
+
def define_enum_GL_OES_texture_half_float
|
972
|
+
const_set('GL_HALF_FLOAT_OES', 0x8D61) unless defined?(GL_HALF_FLOAT_OES)
|
973
|
+
end # define_enum_GL_OES_texture_half_float
|
974
|
+
|
975
|
+
def define_enum_GL_OES_texture_half_float_linear
|
976
|
+
end # define_enum_GL_OES_texture_half_float_linear
|
977
|
+
|
978
|
+
def define_enum_GL_OES_texture_npot
|
979
|
+
end # define_enum_GL_OES_texture_npot
|
980
|
+
|
981
|
+
def define_enum_GL_OES_vertex_array_object
|
982
|
+
const_set('GL_VERTEX_ARRAY_BINDING_OES', 0x85B5) unless defined?(GL_VERTEX_ARRAY_BINDING_OES)
|
983
|
+
end # define_enum_GL_OES_vertex_array_object
|
984
|
+
|
985
|
+
def define_enum_GL_OES_vertex_half_float
|
986
|
+
const_set('GL_HALF_FLOAT_OES', 0x8D61) unless defined?(GL_HALF_FLOAT_OES)
|
987
|
+
end # define_enum_GL_OES_vertex_half_float
|
988
|
+
|
989
|
+
def define_enum_GL_OES_vertex_type_10_10_10_2
|
990
|
+
const_set('GL_UNSIGNED_INT_10_10_10_2_OES', 0x8DF6) unless defined?(GL_UNSIGNED_INT_10_10_10_2_OES)
|
991
|
+
const_set('GL_INT_10_10_10_2_OES', 0x8DF7) unless defined?(GL_INT_10_10_10_2_OES)
|
992
|
+
end # define_enum_GL_OES_vertex_type_10_10_10_2
|
993
|
+
|
994
|
+
def define_enum_GL_QCOM_alpha_test
|
995
|
+
const_set('GL_ALPHA_TEST_QCOM', 0x0BC0) unless defined?(GL_ALPHA_TEST_QCOM)
|
996
|
+
const_set('GL_ALPHA_TEST_FUNC_QCOM', 0x0BC1) unless defined?(GL_ALPHA_TEST_FUNC_QCOM)
|
997
|
+
const_set('GL_ALPHA_TEST_REF_QCOM', 0x0BC2) unless defined?(GL_ALPHA_TEST_REF_QCOM)
|
998
|
+
end # define_enum_GL_QCOM_alpha_test
|
999
|
+
|
1000
|
+
def define_enum_GL_QCOM_binning_control
|
1001
|
+
const_set('GL_BINNING_CONTROL_HINT_QCOM', 0x8FB0) unless defined?(GL_BINNING_CONTROL_HINT_QCOM)
|
1002
|
+
const_set('GL_CPU_OPTIMIZED_QCOM', 0x8FB1) unless defined?(GL_CPU_OPTIMIZED_QCOM)
|
1003
|
+
const_set('GL_GPU_OPTIMIZED_QCOM', 0x8FB2) unless defined?(GL_GPU_OPTIMIZED_QCOM)
|
1004
|
+
const_set('GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM', 0x8FB3) unless defined?(GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM)
|
1005
|
+
end # define_enum_GL_QCOM_binning_control
|
1006
|
+
|
1007
|
+
def define_enum_GL_QCOM_driver_control
|
1008
|
+
end # define_enum_GL_QCOM_driver_control
|
1009
|
+
|
1010
|
+
def define_enum_GL_QCOM_extended_get
|
1011
|
+
const_set('GL_TEXTURE_WIDTH_QCOM', 0x8BD2) unless defined?(GL_TEXTURE_WIDTH_QCOM)
|
1012
|
+
const_set('GL_TEXTURE_HEIGHT_QCOM', 0x8BD3) unless defined?(GL_TEXTURE_HEIGHT_QCOM)
|
1013
|
+
const_set('GL_TEXTURE_DEPTH_QCOM', 0x8BD4) unless defined?(GL_TEXTURE_DEPTH_QCOM)
|
1014
|
+
const_set('GL_TEXTURE_INTERNAL_FORMAT_QCOM', 0x8BD5) unless defined?(GL_TEXTURE_INTERNAL_FORMAT_QCOM)
|
1015
|
+
const_set('GL_TEXTURE_FORMAT_QCOM', 0x8BD6) unless defined?(GL_TEXTURE_FORMAT_QCOM)
|
1016
|
+
const_set('GL_TEXTURE_TYPE_QCOM', 0x8BD7) unless defined?(GL_TEXTURE_TYPE_QCOM)
|
1017
|
+
const_set('GL_TEXTURE_IMAGE_VALID_QCOM', 0x8BD8) unless defined?(GL_TEXTURE_IMAGE_VALID_QCOM)
|
1018
|
+
const_set('GL_TEXTURE_NUM_LEVELS_QCOM', 0x8BD9) unless defined?(GL_TEXTURE_NUM_LEVELS_QCOM)
|
1019
|
+
const_set('GL_TEXTURE_TARGET_QCOM', 0x8BDA) unless defined?(GL_TEXTURE_TARGET_QCOM)
|
1020
|
+
const_set('GL_TEXTURE_OBJECT_VALID_QCOM', 0x8BDB) unless defined?(GL_TEXTURE_OBJECT_VALID_QCOM)
|
1021
|
+
const_set('GL_STATE_RESTORE', 0x8BDC) unless defined?(GL_STATE_RESTORE)
|
1022
|
+
end # define_enum_GL_QCOM_extended_get
|
1023
|
+
|
1024
|
+
def define_enum_GL_QCOM_extended_get2
|
1025
|
+
end # define_enum_GL_QCOM_extended_get2
|
1026
|
+
|
1027
|
+
def define_enum_GL_QCOM_perfmon_global_mode
|
1028
|
+
const_set('GL_PERFMON_GLOBAL_MODE_QCOM', 0x8FA0) unless defined?(GL_PERFMON_GLOBAL_MODE_QCOM)
|
1029
|
+
end # define_enum_GL_QCOM_perfmon_global_mode
|
1030
|
+
|
1031
|
+
def define_enum_GL_QCOM_tiled_rendering
|
1032
|
+
const_set('GL_COLOR_BUFFER_BIT0_QCOM', 0x00000001) unless defined?(GL_COLOR_BUFFER_BIT0_QCOM)
|
1033
|
+
const_set('GL_COLOR_BUFFER_BIT1_QCOM', 0x00000002) unless defined?(GL_COLOR_BUFFER_BIT1_QCOM)
|
1034
|
+
const_set('GL_COLOR_BUFFER_BIT2_QCOM', 0x00000004) unless defined?(GL_COLOR_BUFFER_BIT2_QCOM)
|
1035
|
+
const_set('GL_COLOR_BUFFER_BIT3_QCOM', 0x00000008) unless defined?(GL_COLOR_BUFFER_BIT3_QCOM)
|
1036
|
+
const_set('GL_COLOR_BUFFER_BIT4_QCOM', 0x00000010) unless defined?(GL_COLOR_BUFFER_BIT4_QCOM)
|
1037
|
+
const_set('GL_COLOR_BUFFER_BIT5_QCOM', 0x00000020) unless defined?(GL_COLOR_BUFFER_BIT5_QCOM)
|
1038
|
+
const_set('GL_COLOR_BUFFER_BIT6_QCOM', 0x00000040) unless defined?(GL_COLOR_BUFFER_BIT6_QCOM)
|
1039
|
+
const_set('GL_COLOR_BUFFER_BIT7_QCOM', 0x00000080) unless defined?(GL_COLOR_BUFFER_BIT7_QCOM)
|
1040
|
+
const_set('GL_DEPTH_BUFFER_BIT0_QCOM', 0x00000100) unless defined?(GL_DEPTH_BUFFER_BIT0_QCOM)
|
1041
|
+
const_set('GL_DEPTH_BUFFER_BIT1_QCOM', 0x00000200) unless defined?(GL_DEPTH_BUFFER_BIT1_QCOM)
|
1042
|
+
const_set('GL_DEPTH_BUFFER_BIT2_QCOM', 0x00000400) unless defined?(GL_DEPTH_BUFFER_BIT2_QCOM)
|
1043
|
+
const_set('GL_DEPTH_BUFFER_BIT3_QCOM', 0x00000800) unless defined?(GL_DEPTH_BUFFER_BIT3_QCOM)
|
1044
|
+
const_set('GL_DEPTH_BUFFER_BIT4_QCOM', 0x00001000) unless defined?(GL_DEPTH_BUFFER_BIT4_QCOM)
|
1045
|
+
const_set('GL_DEPTH_BUFFER_BIT5_QCOM', 0x00002000) unless defined?(GL_DEPTH_BUFFER_BIT5_QCOM)
|
1046
|
+
const_set('GL_DEPTH_BUFFER_BIT6_QCOM', 0x00004000) unless defined?(GL_DEPTH_BUFFER_BIT6_QCOM)
|
1047
|
+
const_set('GL_DEPTH_BUFFER_BIT7_QCOM', 0x00008000) unless defined?(GL_DEPTH_BUFFER_BIT7_QCOM)
|
1048
|
+
const_set('GL_STENCIL_BUFFER_BIT0_QCOM', 0x00010000) unless defined?(GL_STENCIL_BUFFER_BIT0_QCOM)
|
1049
|
+
const_set('GL_STENCIL_BUFFER_BIT1_QCOM', 0x00020000) unless defined?(GL_STENCIL_BUFFER_BIT1_QCOM)
|
1050
|
+
const_set('GL_STENCIL_BUFFER_BIT2_QCOM', 0x00040000) unless defined?(GL_STENCIL_BUFFER_BIT2_QCOM)
|
1051
|
+
const_set('GL_STENCIL_BUFFER_BIT3_QCOM', 0x00080000) unless defined?(GL_STENCIL_BUFFER_BIT3_QCOM)
|
1052
|
+
const_set('GL_STENCIL_BUFFER_BIT4_QCOM', 0x00100000) unless defined?(GL_STENCIL_BUFFER_BIT4_QCOM)
|
1053
|
+
const_set('GL_STENCIL_BUFFER_BIT5_QCOM', 0x00200000) unless defined?(GL_STENCIL_BUFFER_BIT5_QCOM)
|
1054
|
+
const_set('GL_STENCIL_BUFFER_BIT6_QCOM', 0x00400000) unless defined?(GL_STENCIL_BUFFER_BIT6_QCOM)
|
1055
|
+
const_set('GL_STENCIL_BUFFER_BIT7_QCOM', 0x00800000) unless defined?(GL_STENCIL_BUFFER_BIT7_QCOM)
|
1056
|
+
const_set('GL_MULTISAMPLE_BUFFER_BIT0_QCOM', 0x01000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT0_QCOM)
|
1057
|
+
const_set('GL_MULTISAMPLE_BUFFER_BIT1_QCOM', 0x02000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT1_QCOM)
|
1058
|
+
const_set('GL_MULTISAMPLE_BUFFER_BIT2_QCOM', 0x04000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT2_QCOM)
|
1059
|
+
const_set('GL_MULTISAMPLE_BUFFER_BIT3_QCOM', 0x08000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT3_QCOM)
|
1060
|
+
const_set('GL_MULTISAMPLE_BUFFER_BIT4_QCOM', 0x10000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT4_QCOM)
|
1061
|
+
const_set('GL_MULTISAMPLE_BUFFER_BIT5_QCOM', 0x20000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT5_QCOM)
|
1062
|
+
const_set('GL_MULTISAMPLE_BUFFER_BIT6_QCOM', 0x40000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT6_QCOM)
|
1063
|
+
const_set('GL_MULTISAMPLE_BUFFER_BIT7_QCOM', 0x80000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT7_QCOM)
|
1064
|
+
end # define_enum_GL_QCOM_tiled_rendering
|
1065
|
+
|
1066
|
+
def define_enum_GL_QCOM_writeonly_rendering
|
1067
|
+
const_set('GL_WRITEONLY_RENDERING_QCOM', 0x8823) unless defined?(GL_WRITEONLY_RENDERING_QCOM)
|
1068
|
+
end # define_enum_GL_QCOM_writeonly_rendering
|
1069
|
+
|
1070
|
+
def define_enum_GL_VIV_shader_binary
|
1071
|
+
const_set('GL_SHADER_BINARY_VIV', 0x8FC4) unless defined?(GL_SHADER_BINARY_VIV)
|
1072
|
+
end # define_enum_GL_VIV_shader_binary
|
1073
|
+
|
1074
|
+
end
|