opengl-bindings 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog +6 -0
- data/README.md +7 -4
- data/lib/glut.rb +237 -37
- data/lib/opengl_enum.rb +29 -29
- data/lib/opengl_es_enum.rb +6 -6
- data/lib/opengl_es_ext_command.rb +264 -264
- data/lib/opengl_es_ext_enum.rb +265 -265
- data/lib/opengl_ext_command.rb +954 -954
- data/lib/opengl_ext_common.rb +13 -4
- data/lib/opengl_ext_enum.rb +967 -967
- metadata +11 -11
data/lib/opengl_es_ext_enum.rb
CHANGED
@@ -6,18 +6,18 @@
|
|
6
6
|
|
7
7
|
module OpenGL
|
8
8
|
|
9
|
-
def
|
9
|
+
def define_ext_enum_GL_AMD_compressed_3DC_texture
|
10
10
|
const_set('GL_3DC_X_AMD', 0x87F9) unless defined?(GL_3DC_X_AMD)
|
11
11
|
const_set('GL_3DC_XY_AMD', 0x87FA) unless defined?(GL_3DC_XY_AMD)
|
12
|
-
end #
|
12
|
+
end # define_ext_enum_GL_AMD_compressed_3DC_texture
|
13
13
|
|
14
|
-
def
|
14
|
+
def define_ext_enum_GL_AMD_compressed_ATC_texture
|
15
15
|
const_set('GL_ATC_RGB_AMD', 0x8C92) unless defined?(GL_ATC_RGB_AMD)
|
16
16
|
const_set('GL_ATC_RGBA_EXPLICIT_ALPHA_AMD', 0x8C93) unless defined?(GL_ATC_RGBA_EXPLICIT_ALPHA_AMD)
|
17
17
|
const_set('GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD', 0x87EE) unless defined?(GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD)
|
18
|
-
end #
|
18
|
+
end # define_ext_enum_GL_AMD_compressed_ATC_texture
|
19
19
|
|
20
|
-
def
|
20
|
+
def define_ext_enum_GL_AMD_performance_monitor
|
21
21
|
const_set('GL_COUNTER_TYPE_AMD', 0x8BC0) unless defined?(GL_COUNTER_TYPE_AMD)
|
22
22
|
const_set('GL_COUNTER_RANGE_AMD', 0x8BC1) unless defined?(GL_COUNTER_RANGE_AMD)
|
23
23
|
const_set('GL_UNSIGNED_INT64_AMD', 0x8BC2) unless defined?(GL_UNSIGNED_INT64_AMD)
|
@@ -25,13 +25,13 @@ module OpenGL
|
|
25
25
|
const_set('GL_PERFMON_RESULT_AVAILABLE_AMD', 0x8BC4) unless defined?(GL_PERFMON_RESULT_AVAILABLE_AMD)
|
26
26
|
const_set('GL_PERFMON_RESULT_SIZE_AMD', 0x8BC5) unless defined?(GL_PERFMON_RESULT_SIZE_AMD)
|
27
27
|
const_set('GL_PERFMON_RESULT_AMD', 0x8BC6) unless defined?(GL_PERFMON_RESULT_AMD)
|
28
|
-
end #
|
28
|
+
end # define_ext_enum_GL_AMD_performance_monitor
|
29
29
|
|
30
|
-
def
|
30
|
+
def define_ext_enum_GL_AMD_program_binary_Z400
|
31
31
|
const_set('GL_Z400_BINARY_AMD', 0x8740) unless defined?(GL_Z400_BINARY_AMD)
|
32
|
-
end #
|
32
|
+
end # define_ext_enum_GL_AMD_program_binary_Z400
|
33
33
|
|
34
|
-
def
|
34
|
+
def define_ext_enum_GL_ANGLE_depth_texture
|
35
35
|
const_set('GL_DEPTH_COMPONENT', 0x1902) unless defined?(GL_DEPTH_COMPONENT)
|
36
36
|
const_set('GL_DEPTH_STENCIL_OES', 0x84F9) unless defined?(GL_DEPTH_STENCIL_OES)
|
37
37
|
const_set('GL_UNSIGNED_SHORT', 0x1403) unless defined?(GL_UNSIGNED_SHORT)
|
@@ -40,54 +40,54 @@ module OpenGL
|
|
40
40
|
const_set('GL_DEPTH_COMPONENT16', 0x81A5) unless defined?(GL_DEPTH_COMPONENT16)
|
41
41
|
const_set('GL_DEPTH_COMPONENT32_OES', 0x81A7) unless defined?(GL_DEPTH_COMPONENT32_OES)
|
42
42
|
const_set('GL_DEPTH24_STENCIL8_OES', 0x88F0) unless defined?(GL_DEPTH24_STENCIL8_OES)
|
43
|
-
end #
|
43
|
+
end # define_ext_enum_GL_ANGLE_depth_texture
|
44
44
|
|
45
|
-
def
|
45
|
+
def define_ext_enum_GL_ANGLE_framebuffer_blit
|
46
46
|
const_set('GL_READ_FRAMEBUFFER_ANGLE', 0x8CA8) unless defined?(GL_READ_FRAMEBUFFER_ANGLE)
|
47
47
|
const_set('GL_DRAW_FRAMEBUFFER_ANGLE', 0x8CA9) unless defined?(GL_DRAW_FRAMEBUFFER_ANGLE)
|
48
48
|
const_set('GL_DRAW_FRAMEBUFFER_BINDING_ANGLE', 0x8CA6) unless defined?(GL_DRAW_FRAMEBUFFER_BINDING_ANGLE)
|
49
49
|
const_set('GL_READ_FRAMEBUFFER_BINDING_ANGLE', 0x8CAA) unless defined?(GL_READ_FRAMEBUFFER_BINDING_ANGLE)
|
50
|
-
end #
|
50
|
+
end # define_ext_enum_GL_ANGLE_framebuffer_blit
|
51
51
|
|
52
|
-
def
|
52
|
+
def define_ext_enum_GL_ANGLE_framebuffer_multisample
|
53
53
|
const_set('GL_RENDERBUFFER_SAMPLES_ANGLE', 0x8CAB) unless defined?(GL_RENDERBUFFER_SAMPLES_ANGLE)
|
54
54
|
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE', 0x8D56) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE)
|
55
55
|
const_set('GL_MAX_SAMPLES_ANGLE', 0x8D57) unless defined?(GL_MAX_SAMPLES_ANGLE)
|
56
|
-
end #
|
56
|
+
end # define_ext_enum_GL_ANGLE_framebuffer_multisample
|
57
57
|
|
58
|
-
def
|
58
|
+
def define_ext_enum_GL_ANGLE_instanced_arrays
|
59
59
|
const_set('GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE', 0x88FE) unless defined?(GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE)
|
60
|
-
end #
|
60
|
+
end # define_ext_enum_GL_ANGLE_instanced_arrays
|
61
61
|
|
62
|
-
def
|
62
|
+
def define_ext_enum_GL_ANGLE_pack_reverse_row_order
|
63
63
|
const_set('GL_PACK_REVERSE_ROW_ORDER_ANGLE', 0x93A4) unless defined?(GL_PACK_REVERSE_ROW_ORDER_ANGLE)
|
64
|
-
end #
|
64
|
+
end # define_ext_enum_GL_ANGLE_pack_reverse_row_order
|
65
65
|
|
66
|
-
def
|
66
|
+
def define_ext_enum_GL_ANGLE_program_binary
|
67
67
|
const_set('GL_PROGRAM_BINARY_ANGLE', 0x93A6) unless defined?(GL_PROGRAM_BINARY_ANGLE)
|
68
|
-
end #
|
68
|
+
end # define_ext_enum_GL_ANGLE_program_binary
|
69
69
|
|
70
|
-
def
|
70
|
+
def define_ext_enum_GL_ANGLE_texture_compression_dxt3
|
71
71
|
const_set('GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE', 0x83F2) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE)
|
72
|
-
end #
|
72
|
+
end # define_ext_enum_GL_ANGLE_texture_compression_dxt3
|
73
73
|
|
74
|
-
def
|
74
|
+
def define_ext_enum_GL_ANGLE_texture_compression_dxt5
|
75
75
|
const_set('GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE', 0x83F3) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE)
|
76
|
-
end #
|
76
|
+
end # define_ext_enum_GL_ANGLE_texture_compression_dxt5
|
77
77
|
|
78
|
-
def
|
78
|
+
def define_ext_enum_GL_ANGLE_texture_usage
|
79
79
|
const_set('GL_TEXTURE_USAGE_ANGLE', 0x93A2) unless defined?(GL_TEXTURE_USAGE_ANGLE)
|
80
80
|
const_set('GL_FRAMEBUFFER_ATTACHMENT_ANGLE', 0x93A3) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_ANGLE)
|
81
|
-
end #
|
81
|
+
end # define_ext_enum_GL_ANGLE_texture_usage
|
82
82
|
|
83
|
-
def
|
83
|
+
def define_ext_enum_GL_ANGLE_translated_shader_source
|
84
84
|
const_set('GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE', 0x93A0) unless defined?(GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE)
|
85
|
-
end #
|
85
|
+
end # define_ext_enum_GL_ANGLE_translated_shader_source
|
86
86
|
|
87
|
-
def
|
88
|
-
end #
|
87
|
+
def define_ext_enum_GL_APPLE_copy_texture_levels
|
88
|
+
end # define_ext_enum_GL_APPLE_copy_texture_levels
|
89
89
|
|
90
|
-
def
|
90
|
+
def define_ext_enum_GL_APPLE_framebuffer_multisample
|
91
91
|
const_set('GL_RENDERBUFFER_SAMPLES_APPLE', 0x8CAB) unless defined?(GL_RENDERBUFFER_SAMPLES_APPLE)
|
92
92
|
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE', 0x8D56) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE)
|
93
93
|
const_set('GL_MAX_SAMPLES_APPLE', 0x8D57) unless defined?(GL_MAX_SAMPLES_APPLE)
|
@@ -95,16 +95,16 @@ module OpenGL
|
|
95
95
|
const_set('GL_DRAW_FRAMEBUFFER_APPLE', 0x8CA9) unless defined?(GL_DRAW_FRAMEBUFFER_APPLE)
|
96
96
|
const_set('GL_DRAW_FRAMEBUFFER_BINDING_APPLE', 0x8CA6) unless defined?(GL_DRAW_FRAMEBUFFER_BINDING_APPLE)
|
97
97
|
const_set('GL_READ_FRAMEBUFFER_BINDING_APPLE', 0x8CAA) unless defined?(GL_READ_FRAMEBUFFER_BINDING_APPLE)
|
98
|
-
end #
|
98
|
+
end # define_ext_enum_GL_APPLE_framebuffer_multisample
|
99
99
|
|
100
|
-
def
|
100
|
+
def define_ext_enum_GL_APPLE_rgb_422
|
101
101
|
const_set('GL_RGB_422_APPLE', 0x8A1F) unless defined?(GL_RGB_422_APPLE)
|
102
102
|
const_set('GL_UNSIGNED_SHORT_8_8_APPLE', 0x85BA) unless defined?(GL_UNSIGNED_SHORT_8_8_APPLE)
|
103
103
|
const_set('GL_UNSIGNED_SHORT_8_8_REV_APPLE', 0x85BB) unless defined?(GL_UNSIGNED_SHORT_8_8_REV_APPLE)
|
104
104
|
const_set('GL_RGB_RAW_422_APPLE', 0x8A51) unless defined?(GL_RGB_RAW_422_APPLE)
|
105
|
-
end #
|
105
|
+
end # define_ext_enum_GL_APPLE_rgb_422
|
106
106
|
|
107
|
-
def
|
107
|
+
def define_ext_enum_GL_APPLE_sync
|
108
108
|
const_set('GL_SYNC_OBJECT_APPLE', 0x8A53) unless defined?(GL_SYNC_OBJECT_APPLE)
|
109
109
|
const_set('GL_MAX_SERVER_WAIT_TIMEOUT_APPLE', 0x9111) unless defined?(GL_MAX_SERVER_WAIT_TIMEOUT_APPLE)
|
110
110
|
const_set('GL_OBJECT_TYPE_APPLE', 0x9112) unless defined?(GL_OBJECT_TYPE_APPLE)
|
@@ -121,49 +121,49 @@ module OpenGL
|
|
121
121
|
const_set('GL_WAIT_FAILED_APPLE', 0x911D) unless defined?(GL_WAIT_FAILED_APPLE)
|
122
122
|
const_set('GL_SYNC_FLUSH_COMMANDS_BIT_APPLE', 0x00000001) unless defined?(GL_SYNC_FLUSH_COMMANDS_BIT_APPLE)
|
123
123
|
const_set('GL_TIMEOUT_IGNORED_APPLE', 0xFFFFFFFFFFFFFFFF) unless defined?(GL_TIMEOUT_IGNORED_APPLE)
|
124
|
-
end #
|
124
|
+
end # define_ext_enum_GL_APPLE_sync
|
125
125
|
|
126
|
-
def
|
126
|
+
def define_ext_enum_GL_APPLE_texture_format_BGRA8888
|
127
127
|
const_set('GL_BGRA_EXT', 0x80E1) unless defined?(GL_BGRA_EXT)
|
128
128
|
const_set('GL_BGRA8_EXT', 0x93A1) unless defined?(GL_BGRA8_EXT)
|
129
|
-
end #
|
129
|
+
end # define_ext_enum_GL_APPLE_texture_format_BGRA8888
|
130
130
|
|
131
|
-
def
|
131
|
+
def define_ext_enum_GL_APPLE_texture_max_level
|
132
132
|
const_set('GL_TEXTURE_MAX_LEVEL_APPLE', 0x813D) unless defined?(GL_TEXTURE_MAX_LEVEL_APPLE)
|
133
|
-
end #
|
133
|
+
end # define_ext_enum_GL_APPLE_texture_max_level
|
134
134
|
|
135
|
-
def
|
135
|
+
def define_ext_enum_GL_ARM_mali_program_binary
|
136
136
|
const_set('GL_MALI_PROGRAM_BINARY_ARM', 0x8F61) unless defined?(GL_MALI_PROGRAM_BINARY_ARM)
|
137
|
-
end #
|
137
|
+
end # define_ext_enum_GL_ARM_mali_program_binary
|
138
138
|
|
139
|
-
def
|
139
|
+
def define_ext_enum_GL_ARM_mali_shader_binary
|
140
140
|
const_set('GL_MALI_SHADER_BINARY_ARM', 0x8F60) unless defined?(GL_MALI_SHADER_BINARY_ARM)
|
141
|
-
end #
|
141
|
+
end # define_ext_enum_GL_ARM_mali_shader_binary
|
142
142
|
|
143
|
-
def
|
144
|
-
end #
|
143
|
+
def define_ext_enum_GL_ARM_rgba8
|
144
|
+
end # define_ext_enum_GL_ARM_rgba8
|
145
145
|
|
146
|
-
def
|
146
|
+
def define_ext_enum_GL_DMP_shader_binary
|
147
147
|
const_set('GL_SHADER_BINARY_DMP', 0x9250) unless defined?(GL_SHADER_BINARY_DMP)
|
148
|
-
end #
|
148
|
+
end # define_ext_enum_GL_DMP_shader_binary
|
149
149
|
|
150
|
-
def
|
150
|
+
def define_ext_enum_GL_EXT_blend_minmax
|
151
151
|
const_set('GL_MIN_EXT', 0x8007) unless defined?(GL_MIN_EXT)
|
152
152
|
const_set('GL_MAX_EXT', 0x8008) unless defined?(GL_MAX_EXT)
|
153
153
|
const_set('GL_FUNC_ADD_EXT', 0x8006) unless defined?(GL_FUNC_ADD_EXT)
|
154
154
|
const_set('GL_BLEND_EQUATION_EXT', 0x8009) unless defined?(GL_BLEND_EQUATION_EXT)
|
155
|
-
end #
|
155
|
+
end # define_ext_enum_GL_EXT_blend_minmax
|
156
156
|
|
157
|
-
def
|
157
|
+
def define_ext_enum_GL_EXT_color_buffer_half_float
|
158
158
|
const_set('GL_RGBA16F_EXT', 0x881A) unless defined?(GL_RGBA16F_EXT)
|
159
159
|
const_set('GL_RGB16F_EXT', 0x881B) unless defined?(GL_RGB16F_EXT)
|
160
160
|
const_set('GL_RG16F_EXT', 0x822F) unless defined?(GL_RG16F_EXT)
|
161
161
|
const_set('GL_R16F_EXT', 0x822D) unless defined?(GL_R16F_EXT)
|
162
162
|
const_set('GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT', 0x8211) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT)
|
163
163
|
const_set('GL_UNSIGNED_NORMALIZED_EXT', 0x8C17) unless defined?(GL_UNSIGNED_NORMALIZED_EXT)
|
164
|
-
end #
|
164
|
+
end # define_ext_enum_GL_EXT_color_buffer_half_float
|
165
165
|
|
166
|
-
def
|
166
|
+
def define_ext_enum_GL_EXT_debug_label
|
167
167
|
const_set('GL_PROGRAM_PIPELINE_OBJECT_EXT', 0x8A4F) unless defined?(GL_PROGRAM_PIPELINE_OBJECT_EXT)
|
168
168
|
const_set('GL_PROGRAM_OBJECT_EXT', 0x8B40) unless defined?(GL_PROGRAM_OBJECT_EXT)
|
169
169
|
const_set('GL_SHADER_OBJECT_EXT', 0x8B48) unless defined?(GL_SHADER_OBJECT_EXT)
|
@@ -172,18 +172,18 @@ module OpenGL
|
|
172
172
|
const_set('GL_VERTEX_ARRAY_OBJECT_EXT', 0x9154) unless defined?(GL_VERTEX_ARRAY_OBJECT_EXT)
|
173
173
|
const_set('GL_SAMPLER', 0x82E6) unless defined?(GL_SAMPLER)
|
174
174
|
const_set('GL_TRANSFORM_FEEDBACK', 0x8E22) unless defined?(GL_TRANSFORM_FEEDBACK)
|
175
|
-
end #
|
175
|
+
end # define_ext_enum_GL_EXT_debug_label
|
176
176
|
|
177
|
-
def
|
178
|
-
end #
|
177
|
+
def define_ext_enum_GL_EXT_debug_marker
|
178
|
+
end # define_ext_enum_GL_EXT_debug_marker
|
179
179
|
|
180
|
-
def
|
180
|
+
def define_ext_enum_GL_EXT_discard_framebuffer
|
181
181
|
const_set('GL_COLOR_EXT', 0x1800) unless defined?(GL_COLOR_EXT)
|
182
182
|
const_set('GL_DEPTH_EXT', 0x1801) unless defined?(GL_DEPTH_EXT)
|
183
183
|
const_set('GL_STENCIL_EXT', 0x1802) unless defined?(GL_STENCIL_EXT)
|
184
|
-
end #
|
184
|
+
end # define_ext_enum_GL_EXT_discard_framebuffer
|
185
185
|
|
186
|
-
def
|
186
|
+
def define_ext_enum_GL_EXT_disjoint_timer_query
|
187
187
|
const_set('GL_QUERY_COUNTER_BITS_EXT', 0x8864) unless defined?(GL_QUERY_COUNTER_BITS_EXT)
|
188
188
|
const_set('GL_CURRENT_QUERY_EXT', 0x8865) unless defined?(GL_CURRENT_QUERY_EXT)
|
189
189
|
const_set('GL_QUERY_RESULT_EXT', 0x8866) unless defined?(GL_QUERY_RESULT_EXT)
|
@@ -191,9 +191,9 @@ module OpenGL
|
|
191
191
|
const_set('GL_TIME_ELAPSED_EXT', 0x88BF) unless defined?(GL_TIME_ELAPSED_EXT)
|
192
192
|
const_set('GL_TIMESTAMP_EXT', 0x8E28) unless defined?(GL_TIMESTAMP_EXT)
|
193
193
|
const_set('GL_GPU_DISJOINT_EXT', 0x8FBB) unless defined?(GL_GPU_DISJOINT_EXT)
|
194
|
-
end #
|
194
|
+
end # define_ext_enum_GL_EXT_disjoint_timer_query
|
195
195
|
|
196
|
-
def
|
196
|
+
def define_ext_enum_GL_EXT_draw_buffers
|
197
197
|
const_set('GL_MAX_COLOR_ATTACHMENTS_EXT', 0x8CDF) unless defined?(GL_MAX_COLOR_ATTACHMENTS_EXT)
|
198
198
|
const_set('GL_MAX_DRAW_BUFFERS_EXT', 0x8824) unless defined?(GL_MAX_DRAW_BUFFERS_EXT)
|
199
199
|
const_set('GL_DRAW_BUFFER0_EXT', 0x8825) unless defined?(GL_DRAW_BUFFER0_EXT)
|
@@ -228,64 +228,64 @@ module OpenGL
|
|
228
228
|
const_set('GL_COLOR_ATTACHMENT13_EXT', 0x8CED) unless defined?(GL_COLOR_ATTACHMENT13_EXT)
|
229
229
|
const_set('GL_COLOR_ATTACHMENT14_EXT', 0x8CEE) unless defined?(GL_COLOR_ATTACHMENT14_EXT)
|
230
230
|
const_set('GL_COLOR_ATTACHMENT15_EXT', 0x8CEF) unless defined?(GL_COLOR_ATTACHMENT15_EXT)
|
231
|
-
end #
|
231
|
+
end # define_ext_enum_GL_EXT_draw_buffers
|
232
232
|
|
233
|
-
def
|
234
|
-
end #
|
233
|
+
def define_ext_enum_GL_EXT_draw_instanced
|
234
|
+
end # define_ext_enum_GL_EXT_draw_instanced
|
235
235
|
|
236
|
-
def
|
236
|
+
def define_ext_enum_GL_EXT_instanced_arrays
|
237
237
|
const_set('GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT', 0x88FE) unless defined?(GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT)
|
238
|
-
end #
|
238
|
+
end # define_ext_enum_GL_EXT_instanced_arrays
|
239
239
|
|
240
|
-
def
|
240
|
+
def define_ext_enum_GL_EXT_map_buffer_range
|
241
241
|
const_set('GL_MAP_READ_BIT_EXT', 0x0001) unless defined?(GL_MAP_READ_BIT_EXT)
|
242
242
|
const_set('GL_MAP_WRITE_BIT_EXT', 0x0002) unless defined?(GL_MAP_WRITE_BIT_EXT)
|
243
243
|
const_set('GL_MAP_INVALIDATE_RANGE_BIT_EXT', 0x0004) unless defined?(GL_MAP_INVALIDATE_RANGE_BIT_EXT)
|
244
244
|
const_set('GL_MAP_INVALIDATE_BUFFER_BIT_EXT', 0x0008) unless defined?(GL_MAP_INVALIDATE_BUFFER_BIT_EXT)
|
245
245
|
const_set('GL_MAP_FLUSH_EXPLICIT_BIT_EXT', 0x0010) unless defined?(GL_MAP_FLUSH_EXPLICIT_BIT_EXT)
|
246
246
|
const_set('GL_MAP_UNSYNCHRONIZED_BIT_EXT', 0x0020) unless defined?(GL_MAP_UNSYNCHRONIZED_BIT_EXT)
|
247
|
-
end #
|
247
|
+
end # define_ext_enum_GL_EXT_map_buffer_range
|
248
248
|
|
249
|
-
def
|
250
|
-
end #
|
249
|
+
def define_ext_enum_GL_EXT_multi_draw_arrays
|
250
|
+
end # define_ext_enum_GL_EXT_multi_draw_arrays
|
251
251
|
|
252
|
-
def
|
252
|
+
def define_ext_enum_GL_EXT_multisampled_render_to_texture
|
253
253
|
const_set('GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT', 0x8D6C) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT)
|
254
254
|
const_set('GL_RENDERBUFFER_SAMPLES_EXT', 0x8CAB) unless defined?(GL_RENDERBUFFER_SAMPLES_EXT)
|
255
255
|
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT', 0x8D56) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT)
|
256
256
|
const_set('GL_MAX_SAMPLES_EXT', 0x8D57) unless defined?(GL_MAX_SAMPLES_EXT)
|
257
|
-
end #
|
257
|
+
end # define_ext_enum_GL_EXT_multisampled_render_to_texture
|
258
258
|
|
259
|
-
def
|
259
|
+
def define_ext_enum_GL_EXT_multiview_draw_buffers
|
260
260
|
const_set('GL_COLOR_ATTACHMENT_EXT', 0x90F0) unless defined?(GL_COLOR_ATTACHMENT_EXT)
|
261
261
|
const_set('GL_MULTIVIEW_EXT', 0x90F1) unless defined?(GL_MULTIVIEW_EXT)
|
262
262
|
const_set('GL_DRAW_BUFFER_EXT', 0x0C01) unless defined?(GL_DRAW_BUFFER_EXT)
|
263
263
|
const_set('GL_READ_BUFFER_EXT', 0x0C02) unless defined?(GL_READ_BUFFER_EXT)
|
264
264
|
const_set('GL_MAX_MULTIVIEW_BUFFERS_EXT', 0x90F2) unless defined?(GL_MAX_MULTIVIEW_BUFFERS_EXT)
|
265
|
-
end #
|
265
|
+
end # define_ext_enum_GL_EXT_multiview_draw_buffers
|
266
266
|
|
267
|
-
def
|
267
|
+
def define_ext_enum_GL_EXT_occlusion_query_boolean
|
268
268
|
const_set('GL_ANY_SAMPLES_PASSED_EXT', 0x8C2F) unless defined?(GL_ANY_SAMPLES_PASSED_EXT)
|
269
269
|
const_set('GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT', 0x8D6A) unless defined?(GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT)
|
270
270
|
const_set('GL_CURRENT_QUERY_EXT', 0x8865) unless defined?(GL_CURRENT_QUERY_EXT)
|
271
271
|
const_set('GL_QUERY_RESULT_EXT', 0x8866) unless defined?(GL_QUERY_RESULT_EXT)
|
272
272
|
const_set('GL_QUERY_RESULT_AVAILABLE_EXT', 0x8867) unless defined?(GL_QUERY_RESULT_AVAILABLE_EXT)
|
273
|
-
end #
|
273
|
+
end # define_ext_enum_GL_EXT_occlusion_query_boolean
|
274
274
|
|
275
|
-
def
|
275
|
+
def define_ext_enum_GL_EXT_pvrtc_sRGB
|
276
276
|
const_set('GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT', 0x8A54) unless defined?(GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT)
|
277
277
|
const_set('GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT', 0x8A55) unless defined?(GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT)
|
278
278
|
const_set('GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT', 0x8A56) unless defined?(GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT)
|
279
279
|
const_set('GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT', 0x8A57) unless defined?(GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT)
|
280
|
-
end #
|
280
|
+
end # define_ext_enum_GL_EXT_pvrtc_sRGB
|
281
281
|
|
282
|
-
def
|
282
|
+
def define_ext_enum_GL_EXT_read_format_bgra
|
283
283
|
const_set('GL_BGRA_EXT', 0x80E1) unless defined?(GL_BGRA_EXT)
|
284
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
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 #
|
286
|
+
end # define_ext_enum_GL_EXT_read_format_bgra
|
287
287
|
|
288
|
-
def
|
288
|
+
def define_ext_enum_GL_EXT_robustness
|
289
289
|
const_set('GL_NO_ERROR', 0) unless defined?(GL_NO_ERROR)
|
290
290
|
const_set('GL_GUILTY_CONTEXT_RESET_EXT', 0x8253) unless defined?(GL_GUILTY_CONTEXT_RESET_EXT)
|
291
291
|
const_set('GL_INNOCENT_CONTEXT_RESET_EXT', 0x8254) unless defined?(GL_INNOCENT_CONTEXT_RESET_EXT)
|
@@ -294,80 +294,80 @@ module OpenGL
|
|
294
294
|
const_set('GL_RESET_NOTIFICATION_STRATEGY_EXT', 0x8256) unless defined?(GL_RESET_NOTIFICATION_STRATEGY_EXT)
|
295
295
|
const_set('GL_LOSE_CONTEXT_ON_RESET_EXT', 0x8252) unless defined?(GL_LOSE_CONTEXT_ON_RESET_EXT)
|
296
296
|
const_set('GL_NO_RESET_NOTIFICATION_EXT', 0x8261) unless defined?(GL_NO_RESET_NOTIFICATION_EXT)
|
297
|
-
end #
|
297
|
+
end # define_ext_enum_GL_EXT_robustness
|
298
298
|
|
299
|
-
def
|
299
|
+
def define_ext_enum_GL_EXT_sRGB
|
300
300
|
const_set('GL_SRGB_EXT', 0x8C40) unless defined?(GL_SRGB_EXT)
|
301
301
|
const_set('GL_SRGB_ALPHA_EXT', 0x8C42) unless defined?(GL_SRGB_ALPHA_EXT)
|
302
302
|
const_set('GL_SRGB8_ALPHA8_EXT', 0x8C43) unless defined?(GL_SRGB8_ALPHA8_EXT)
|
303
303
|
const_set('GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT', 0x8210) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT)
|
304
|
-
end #
|
304
|
+
end # define_ext_enum_GL_EXT_sRGB
|
305
305
|
|
306
|
-
def
|
306
|
+
def define_ext_enum_GL_EXT_sRGB_write_control
|
307
307
|
const_set('GL_FRAMEBUFFER_SRGB_EXT', 0x8DB9) unless defined?(GL_FRAMEBUFFER_SRGB_EXT)
|
308
|
-
end #
|
308
|
+
end # define_ext_enum_GL_EXT_sRGB_write_control
|
309
309
|
|
310
|
-
def
|
311
|
-
const_set('GL_ACTIVE_PROGRAM_EXT',
|
310
|
+
def define_ext_enum_GL_EXT_separate_shader_objects
|
311
|
+
const_set('GL_ACTIVE_PROGRAM_EXT', 0x8B8D) unless defined?(GL_ACTIVE_PROGRAM_EXT)
|
312
312
|
const_set('GL_VERTEX_SHADER_BIT_EXT', 0x00000001) unless defined?(GL_VERTEX_SHADER_BIT_EXT)
|
313
313
|
const_set('GL_FRAGMENT_SHADER_BIT_EXT', 0x00000002) unless defined?(GL_FRAGMENT_SHADER_BIT_EXT)
|
314
314
|
const_set('GL_ALL_SHADER_BITS_EXT', 0xFFFFFFFF) unless defined?(GL_ALL_SHADER_BITS_EXT)
|
315
315
|
const_set('GL_PROGRAM_SEPARABLE_EXT', 0x8258) unless defined?(GL_PROGRAM_SEPARABLE_EXT)
|
316
316
|
const_set('GL_PROGRAM_PIPELINE_BINDING_EXT', 0x825A) unless defined?(GL_PROGRAM_PIPELINE_BINDING_EXT)
|
317
|
-
end #
|
317
|
+
end # define_ext_enum_GL_EXT_separate_shader_objects
|
318
318
|
|
319
|
-
def
|
319
|
+
def define_ext_enum_GL_EXT_shader_framebuffer_fetch
|
320
320
|
const_set('GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT', 0x8A52) unless defined?(GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT)
|
321
|
-
end #
|
321
|
+
end # define_ext_enum_GL_EXT_shader_framebuffer_fetch
|
322
322
|
|
323
|
-
def
|
324
|
-
end #
|
323
|
+
def define_ext_enum_GL_EXT_shader_integer_mix
|
324
|
+
end # define_ext_enum_GL_EXT_shader_integer_mix
|
325
325
|
|
326
|
-
def
|
327
|
-
end #
|
326
|
+
def define_ext_enum_GL_EXT_shader_texture_lod
|
327
|
+
end # define_ext_enum_GL_EXT_shader_texture_lod
|
328
328
|
|
329
|
-
def
|
329
|
+
def define_ext_enum_GL_EXT_shadow_samplers
|
330
330
|
const_set('GL_TEXTURE_COMPARE_MODE_EXT', 0x884C) unless defined?(GL_TEXTURE_COMPARE_MODE_EXT)
|
331
331
|
const_set('GL_TEXTURE_COMPARE_FUNC_EXT', 0x884D) unless defined?(GL_TEXTURE_COMPARE_FUNC_EXT)
|
332
332
|
const_set('GL_COMPARE_REF_TO_TEXTURE_EXT', 0x884E) unless defined?(GL_COMPARE_REF_TO_TEXTURE_EXT)
|
333
333
|
const_set('GL_SAMPLER_2D_SHADOW_EXT', 0x8B62) unless defined?(GL_SAMPLER_2D_SHADOW_EXT)
|
334
|
-
end #
|
334
|
+
end # define_ext_enum_GL_EXT_shadow_samplers
|
335
335
|
|
336
|
-
def
|
336
|
+
def define_ext_enum_GL_EXT_texture_compression_dxt1
|
337
337
|
const_set('GL_COMPRESSED_RGB_S3TC_DXT1_EXT', 0x83F0) unless defined?(GL_COMPRESSED_RGB_S3TC_DXT1_EXT)
|
338
338
|
const_set('GL_COMPRESSED_RGBA_S3TC_DXT1_EXT', 0x83F1) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
|
339
|
-
end #
|
339
|
+
end # define_ext_enum_GL_EXT_texture_compression_dxt1
|
340
340
|
|
341
|
-
def
|
341
|
+
def define_ext_enum_GL_EXT_texture_compression_s3tc
|
342
342
|
const_set('GL_COMPRESSED_RGB_S3TC_DXT1_EXT', 0x83F0) unless defined?(GL_COMPRESSED_RGB_S3TC_DXT1_EXT)
|
343
343
|
const_set('GL_COMPRESSED_RGBA_S3TC_DXT1_EXT', 0x83F1) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
|
344
344
|
const_set('GL_COMPRESSED_RGBA_S3TC_DXT3_EXT', 0x83F2) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT3_EXT)
|
345
345
|
const_set('GL_COMPRESSED_RGBA_S3TC_DXT5_EXT', 0x83F3) unless defined?(GL_COMPRESSED_RGBA_S3TC_DXT5_EXT)
|
346
|
-
end #
|
346
|
+
end # define_ext_enum_GL_EXT_texture_compression_s3tc
|
347
347
|
|
348
|
-
def
|
348
|
+
def define_ext_enum_GL_EXT_texture_filter_anisotropic
|
349
349
|
const_set('GL_TEXTURE_MAX_ANISOTROPY_EXT', 0x84FE) unless defined?(GL_TEXTURE_MAX_ANISOTROPY_EXT)
|
350
350
|
const_set('GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT', 0x84FF) unless defined?(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT)
|
351
|
-
end #
|
351
|
+
end # define_ext_enum_GL_EXT_texture_filter_anisotropic
|
352
352
|
|
353
|
-
def
|
353
|
+
def define_ext_enum_GL_EXT_texture_format_BGRA8888
|
354
354
|
const_set('GL_BGRA_EXT', 0x80E1) unless defined?(GL_BGRA_EXT)
|
355
|
-
end #
|
355
|
+
end # define_ext_enum_GL_EXT_texture_format_BGRA8888
|
356
356
|
|
357
|
-
def
|
357
|
+
def define_ext_enum_GL_EXT_texture_rg
|
358
358
|
const_set('GL_RED_EXT', 0x1903) unless defined?(GL_RED_EXT)
|
359
359
|
const_set('GL_RG_EXT', 0x8227) unless defined?(GL_RG_EXT)
|
360
360
|
const_set('GL_R8_EXT', 0x8229) unless defined?(GL_R8_EXT)
|
361
361
|
const_set('GL_RG8_EXT', 0x822B) unless defined?(GL_RG8_EXT)
|
362
|
-
end #
|
362
|
+
end # define_ext_enum_GL_EXT_texture_rg
|
363
363
|
|
364
|
-
def
|
364
|
+
def define_ext_enum_GL_EXT_texture_sRGB_decode
|
365
365
|
const_set('GL_TEXTURE_SRGB_DECODE_EXT', 0x8A48) unless defined?(GL_TEXTURE_SRGB_DECODE_EXT)
|
366
366
|
const_set('GL_DECODE_EXT', 0x8A49) unless defined?(GL_DECODE_EXT)
|
367
367
|
const_set('GL_SKIP_DECODE_EXT', 0x8A4A) unless defined?(GL_SKIP_DECODE_EXT)
|
368
|
-
end #
|
368
|
+
end # define_ext_enum_GL_EXT_texture_sRGB_decode
|
369
369
|
|
370
|
-
def
|
370
|
+
def define_ext_enum_GL_EXT_texture_storage
|
371
371
|
const_set('GL_TEXTURE_IMMUTABLE_FORMAT_EXT', 0x912F) unless defined?(GL_TEXTURE_IMMUTABLE_FORMAT_EXT)
|
372
372
|
const_set('GL_ALPHA8_EXT', 0x803C) unless defined?(GL_ALPHA8_EXT)
|
373
373
|
const_set('GL_LUMINANCE8_EXT', 0x8040) unless defined?(GL_LUMINANCE8_EXT)
|
@@ -391,55 +391,55 @@ module OpenGL
|
|
391
391
|
const_set('GL_RG32F_EXT', 0x8230) unless defined?(GL_RG32F_EXT)
|
392
392
|
const_set('GL_R16F_EXT', 0x822D) unless defined?(GL_R16F_EXT)
|
393
393
|
const_set('GL_RG16F_EXT', 0x822F) unless defined?(GL_RG16F_EXT)
|
394
|
-
end #
|
394
|
+
end # define_ext_enum_GL_EXT_texture_storage
|
395
395
|
|
396
|
-
def
|
396
|
+
def define_ext_enum_GL_EXT_texture_type_2_10_10_10_REV
|
397
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 #
|
398
|
+
end # define_ext_enum_GL_EXT_texture_type_2_10_10_10_REV
|
399
399
|
|
400
|
-
def
|
400
|
+
def define_ext_enum_GL_EXT_unpack_subimage
|
401
401
|
const_set('GL_UNPACK_ROW_LENGTH_EXT', 0x0CF2) unless defined?(GL_UNPACK_ROW_LENGTH_EXT)
|
402
402
|
const_set('GL_UNPACK_SKIP_ROWS_EXT', 0x0CF3) unless defined?(GL_UNPACK_SKIP_ROWS_EXT)
|
403
403
|
const_set('GL_UNPACK_SKIP_PIXELS_EXT', 0x0CF4) unless defined?(GL_UNPACK_SKIP_PIXELS_EXT)
|
404
|
-
end #
|
404
|
+
end # define_ext_enum_GL_EXT_unpack_subimage
|
405
405
|
|
406
|
-
def
|
406
|
+
def define_ext_enum_GL_FJ_shader_binary_GCCSO
|
407
407
|
const_set('GL_GCCSO_SHADER_BINARY_FJ', 0x9260) unless defined?(GL_GCCSO_SHADER_BINARY_FJ)
|
408
|
-
end #
|
408
|
+
end # define_ext_enum_GL_FJ_shader_binary_GCCSO
|
409
409
|
|
410
|
-
def
|
410
|
+
def define_ext_enum_GL_IMG_multisampled_render_to_texture
|
411
411
|
const_set('GL_RENDERBUFFER_SAMPLES_IMG', 0x9133) unless defined?(GL_RENDERBUFFER_SAMPLES_IMG)
|
412
412
|
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG', 0x9134) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG)
|
413
413
|
const_set('GL_MAX_SAMPLES_IMG', 0x9135) unless defined?(GL_MAX_SAMPLES_IMG)
|
414
414
|
const_set('GL_TEXTURE_SAMPLES_IMG', 0x9136) unless defined?(GL_TEXTURE_SAMPLES_IMG)
|
415
|
-
end #
|
415
|
+
end # define_ext_enum_GL_IMG_multisampled_render_to_texture
|
416
416
|
|
417
|
-
def
|
417
|
+
def define_ext_enum_GL_IMG_program_binary
|
418
418
|
const_set('GL_SGX_PROGRAM_BINARY_IMG', 0x9130) unless defined?(GL_SGX_PROGRAM_BINARY_IMG)
|
419
|
-
end #
|
419
|
+
end # define_ext_enum_GL_IMG_program_binary
|
420
420
|
|
421
|
-
def
|
421
|
+
def define_ext_enum_GL_IMG_read_format
|
422
422
|
const_set('GL_BGRA_IMG', 0x80E1) unless defined?(GL_BGRA_IMG)
|
423
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 #
|
424
|
+
end # define_ext_enum_GL_IMG_read_format
|
425
425
|
|
426
|
-
def
|
426
|
+
def define_ext_enum_GL_IMG_shader_binary
|
427
427
|
const_set('GL_SGX_BINARY_IMG', 0x8C0A) unless defined?(GL_SGX_BINARY_IMG)
|
428
|
-
end #
|
428
|
+
end # define_ext_enum_GL_IMG_shader_binary
|
429
429
|
|
430
|
-
def
|
430
|
+
def define_ext_enum_GL_IMG_texture_compression_pvrtc
|
431
431
|
const_set('GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG', 0x8C00) unless defined?(GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG)
|
432
432
|
const_set('GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG', 0x8C01) unless defined?(GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG)
|
433
433
|
const_set('GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG', 0x8C02) unless defined?(GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG)
|
434
434
|
const_set('GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG', 0x8C03) unless defined?(GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG)
|
435
|
-
end #
|
435
|
+
end # define_ext_enum_GL_IMG_texture_compression_pvrtc
|
436
436
|
|
437
|
-
def
|
437
|
+
def define_ext_enum_GL_IMG_texture_compression_pvrtc2
|
438
438
|
const_set('GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG', 0x9137) unless defined?(GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG)
|
439
439
|
const_set('GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG', 0x9138) unless defined?(GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG)
|
440
|
-
end #
|
440
|
+
end # define_ext_enum_GL_IMG_texture_compression_pvrtc2
|
441
441
|
|
442
|
-
def
|
442
|
+
def define_ext_enum_GL_INTEL_performance_query
|
443
443
|
const_set('GL_PERFQUERY_SINGLE_CONTEXT_INTEL', 0x00000000) unless defined?(GL_PERFQUERY_SINGLE_CONTEXT_INTEL)
|
444
444
|
const_set('GL_PERFQUERY_GLOBAL_CONTEXT_INTEL', 0x00000001) unless defined?(GL_PERFQUERY_GLOBAL_CONTEXT_INTEL)
|
445
445
|
const_set('GL_PERFQUERY_WAIT_INTEL', 0x83FB) unless defined?(GL_PERFQUERY_WAIT_INTEL)
|
@@ -460,9 +460,9 @@ module OpenGL
|
|
460
460
|
const_set('GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL', 0x94FE) unless defined?(GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL)
|
461
461
|
const_set('GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL', 0x94FF) unless defined?(GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL)
|
462
462
|
const_set('GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL', 0x9500) unless defined?(GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL)
|
463
|
-
end #
|
463
|
+
end # define_ext_enum_GL_INTEL_performance_query
|
464
464
|
|
465
|
-
def
|
465
|
+
def define_ext_enum_GL_KHR_debug
|
466
466
|
const_set('GL_DEBUG_OUTPUT_SYNCHRONOUS', 0x8242) unless defined?(GL_DEBUG_OUTPUT_SYNCHRONOUS)
|
467
467
|
const_set('GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH', 0x8243) unless defined?(GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH)
|
468
468
|
const_set('GL_DEBUG_CALLBACK_FUNCTION', 0x8244) unless defined?(GL_DEBUG_CALLBACK_FUNCTION)
|
@@ -543,9 +543,9 @@ module OpenGL
|
|
543
543
|
const_set('GL_STACK_UNDERFLOW_KHR', 0x0504) unless defined?(GL_STACK_UNDERFLOW_KHR)
|
544
544
|
const_set('GL_PROGRAM_PIPELINE', 0x82E4) unless defined?(GL_PROGRAM_PIPELINE)
|
545
545
|
const_set('GL_DISPLAY_LIST', 0x82E7) unless defined?(GL_DISPLAY_LIST)
|
546
|
-
end #
|
546
|
+
end # define_ext_enum_GL_KHR_debug
|
547
547
|
|
548
|
-
def
|
548
|
+
def define_ext_enum_GL_KHR_texture_compression_astc_hdr
|
549
549
|
const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
|
550
550
|
const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
|
551
551
|
const_set('GL_COMPRESSED_RGBA_ASTC_5x5_KHR', 0x93B2) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x5_KHR)
|
@@ -574,9 +574,9 @@ module OpenGL
|
|
574
574
|
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR', 0x93DB) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR)
|
575
575
|
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR', 0x93DC) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR)
|
576
576
|
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR', 0x93DD) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR)
|
577
|
-
end #
|
577
|
+
end # define_ext_enum_GL_KHR_texture_compression_astc_hdr
|
578
578
|
|
579
|
-
def
|
579
|
+
def define_ext_enum_GL_KHR_texture_compression_astc_ldr
|
580
580
|
const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
|
581
581
|
const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
|
582
582
|
const_set('GL_COMPRESSED_RGBA_ASTC_5x5_KHR', 0x93B2) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x5_KHR)
|
@@ -605,9 +605,9 @@ module OpenGL
|
|
605
605
|
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR', 0x93DB) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR)
|
606
606
|
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR', 0x93DC) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR)
|
607
607
|
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR', 0x93DD) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR)
|
608
|
-
end #
|
608
|
+
end # define_ext_enum_GL_KHR_texture_compression_astc_ldr
|
609
609
|
|
610
|
-
def
|
610
|
+
def define_ext_enum_GL_NV_blend_equation_advanced
|
611
611
|
const_set('GL_BLEND_OVERLAP_NV', 0x9281) unless defined?(GL_BLEND_OVERLAP_NV)
|
612
612
|
const_set('GL_BLEND_PREMULTIPLIED_SRC_NV', 0x9280) unless defined?(GL_BLEND_PREMULTIPLIED_SRC_NV)
|
613
613
|
const_set('GL_BLUE_NV', 0x1905) unless defined?(GL_BLUE_NV)
|
@@ -659,18 +659,18 @@ module OpenGL
|
|
659
659
|
const_set('GL_VIVIDLIGHT_NV', 0x92A6) unless defined?(GL_VIVIDLIGHT_NV)
|
660
660
|
const_set('GL_XOR_NV', 0x1506) unless defined?(GL_XOR_NV)
|
661
661
|
const_set('GL_ZERO', 0) unless defined?(GL_ZERO)
|
662
|
-
end #
|
662
|
+
end # define_ext_enum_GL_NV_blend_equation_advanced
|
663
663
|
|
664
|
-
def
|
664
|
+
def define_ext_enum_GL_NV_blend_equation_advanced_coherent
|
665
665
|
const_set('GL_BLEND_ADVANCED_COHERENT_NV', 0x9285) unless defined?(GL_BLEND_ADVANCED_COHERENT_NV)
|
666
|
-
end #
|
666
|
+
end # define_ext_enum_GL_NV_blend_equation_advanced_coherent
|
667
667
|
|
668
|
-
def
|
668
|
+
def define_ext_enum_GL_NV_copy_buffer
|
669
669
|
const_set('GL_COPY_READ_BUFFER_NV', 0x8F36) unless defined?(GL_COPY_READ_BUFFER_NV)
|
670
670
|
const_set('GL_COPY_WRITE_BUFFER_NV', 0x8F37) unless defined?(GL_COPY_WRITE_BUFFER_NV)
|
671
|
-
end #
|
671
|
+
end # define_ext_enum_GL_NV_copy_buffer
|
672
672
|
|
673
|
-
def
|
673
|
+
def define_ext_enum_GL_NV_coverage_sample
|
674
674
|
const_set('GL_COVERAGE_COMPONENT_NV', 0x8ED0) unless defined?(GL_COVERAGE_COMPONENT_NV)
|
675
675
|
const_set('GL_COVERAGE_COMPONENT4_NV', 0x8ED1) unless defined?(GL_COVERAGE_COMPONENT4_NV)
|
676
676
|
const_set('GL_COVERAGE_ATTACHMENT_NV', 0x8ED2) unless defined?(GL_COVERAGE_ATTACHMENT_NV)
|
@@ -680,13 +680,13 @@ module OpenGL
|
|
680
680
|
const_set('GL_COVERAGE_EDGE_FRAGMENTS_NV', 0x8ED6) unless defined?(GL_COVERAGE_EDGE_FRAGMENTS_NV)
|
681
681
|
const_set('GL_COVERAGE_AUTOMATIC_NV', 0x8ED7) unless defined?(GL_COVERAGE_AUTOMATIC_NV)
|
682
682
|
const_set('GL_COVERAGE_BUFFER_BIT_NV', 0x00008000) unless defined?(GL_COVERAGE_BUFFER_BIT_NV)
|
683
|
-
end #
|
683
|
+
end # define_ext_enum_GL_NV_coverage_sample
|
684
684
|
|
685
|
-
def
|
685
|
+
def define_ext_enum_GL_NV_depth_nonlinear
|
686
686
|
const_set('GL_DEPTH_COMPONENT16_NONLINEAR_NV', 0x8E2C) unless defined?(GL_DEPTH_COMPONENT16_NONLINEAR_NV)
|
687
|
-
end #
|
687
|
+
end # define_ext_enum_GL_NV_depth_nonlinear
|
688
688
|
|
689
|
-
def
|
689
|
+
def define_ext_enum_GL_NV_draw_buffers
|
690
690
|
const_set('GL_MAX_DRAW_BUFFERS_NV', 0x8824) unless defined?(GL_MAX_DRAW_BUFFERS_NV)
|
691
691
|
const_set('GL_DRAW_BUFFER0_NV', 0x8825) unless defined?(GL_DRAW_BUFFER0_NV)
|
692
692
|
const_set('GL_DRAW_BUFFER1_NV', 0x8826) unless defined?(GL_DRAW_BUFFER1_NV)
|
@@ -720,15 +720,15 @@ module OpenGL
|
|
720
720
|
const_set('GL_COLOR_ATTACHMENT13_NV', 0x8CED) unless defined?(GL_COLOR_ATTACHMENT13_NV)
|
721
721
|
const_set('GL_COLOR_ATTACHMENT14_NV', 0x8CEE) unless defined?(GL_COLOR_ATTACHMENT14_NV)
|
722
722
|
const_set('GL_COLOR_ATTACHMENT15_NV', 0x8CEF) unless defined?(GL_COLOR_ATTACHMENT15_NV)
|
723
|
-
end #
|
723
|
+
end # define_ext_enum_GL_NV_draw_buffers
|
724
724
|
|
725
|
-
def
|
726
|
-
end #
|
725
|
+
def define_ext_enum_GL_NV_draw_instanced
|
726
|
+
end # define_ext_enum_GL_NV_draw_instanced
|
727
727
|
|
728
|
-
def
|
729
|
-
end #
|
728
|
+
def define_ext_enum_GL_NV_explicit_attrib_location
|
729
|
+
end # define_ext_enum_GL_NV_explicit_attrib_location
|
730
730
|
|
731
|
-
def
|
731
|
+
def define_ext_enum_GL_NV_fbo_color_attachments
|
732
732
|
const_set('GL_MAX_COLOR_ATTACHMENTS_NV', 0x8CDF) unless defined?(GL_MAX_COLOR_ATTACHMENTS_NV)
|
733
733
|
const_set('GL_COLOR_ATTACHMENT0_NV', 0x8CE0) unless defined?(GL_COLOR_ATTACHMENT0_NV)
|
734
734
|
const_set('GL_COLOR_ATTACHMENT1_NV', 0x8CE1) unless defined?(GL_COLOR_ATTACHMENT1_NV)
|
@@ -746,60 +746,60 @@ module OpenGL
|
|
746
746
|
const_set('GL_COLOR_ATTACHMENT13_NV', 0x8CED) unless defined?(GL_COLOR_ATTACHMENT13_NV)
|
747
747
|
const_set('GL_COLOR_ATTACHMENT14_NV', 0x8CEE) unless defined?(GL_COLOR_ATTACHMENT14_NV)
|
748
748
|
const_set('GL_COLOR_ATTACHMENT15_NV', 0x8CEF) unless defined?(GL_COLOR_ATTACHMENT15_NV)
|
749
|
-
end #
|
749
|
+
end # define_ext_enum_GL_NV_fbo_color_attachments
|
750
750
|
|
751
|
-
def
|
751
|
+
def define_ext_enum_GL_NV_fence
|
752
752
|
const_set('GL_ALL_COMPLETED_NV', 0x84F2) unless defined?(GL_ALL_COMPLETED_NV)
|
753
753
|
const_set('GL_FENCE_STATUS_NV', 0x84F3) unless defined?(GL_FENCE_STATUS_NV)
|
754
754
|
const_set('GL_FENCE_CONDITION_NV', 0x84F4) unless defined?(GL_FENCE_CONDITION_NV)
|
755
|
-
end #
|
755
|
+
end # define_ext_enum_GL_NV_fence
|
756
756
|
|
757
|
-
def
|
757
|
+
def define_ext_enum_GL_NV_framebuffer_blit
|
758
758
|
const_set('GL_READ_FRAMEBUFFER_NV', 0x8CA8) unless defined?(GL_READ_FRAMEBUFFER_NV)
|
759
759
|
const_set('GL_DRAW_FRAMEBUFFER_NV', 0x8CA9) unless defined?(GL_DRAW_FRAMEBUFFER_NV)
|
760
760
|
const_set('GL_DRAW_FRAMEBUFFER_BINDING_NV', 0x8CA6) unless defined?(GL_DRAW_FRAMEBUFFER_BINDING_NV)
|
761
761
|
const_set('GL_READ_FRAMEBUFFER_BINDING_NV', 0x8CAA) unless defined?(GL_READ_FRAMEBUFFER_BINDING_NV)
|
762
|
-
end #
|
762
|
+
end # define_ext_enum_GL_NV_framebuffer_blit
|
763
763
|
|
764
|
-
def
|
764
|
+
def define_ext_enum_GL_NV_framebuffer_multisample
|
765
765
|
const_set('GL_RENDERBUFFER_SAMPLES_NV', 0x8CAB) unless defined?(GL_RENDERBUFFER_SAMPLES_NV)
|
766
766
|
const_set('GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV', 0x8D56) unless defined?(GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV)
|
767
767
|
const_set('GL_MAX_SAMPLES_NV', 0x8D57) unless defined?(GL_MAX_SAMPLES_NV)
|
768
|
-
end #
|
768
|
+
end # define_ext_enum_GL_NV_framebuffer_multisample
|
769
769
|
|
770
|
-
def
|
771
|
-
end #
|
770
|
+
def define_ext_enum_GL_NV_generate_mipmap_sRGB
|
771
|
+
end # define_ext_enum_GL_NV_generate_mipmap_sRGB
|
772
772
|
|
773
|
-
def
|
773
|
+
def define_ext_enum_GL_NV_instanced_arrays
|
774
774
|
const_set('GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV', 0x88FE) unless defined?(GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV)
|
775
|
-
end #
|
775
|
+
end # define_ext_enum_GL_NV_instanced_arrays
|
776
776
|
|
777
|
-
def
|
777
|
+
def define_ext_enum_GL_NV_non_square_matrices
|
778
778
|
const_set('GL_FLOAT_MAT2x3_NV', 0x8B65) unless defined?(GL_FLOAT_MAT2x3_NV)
|
779
779
|
const_set('GL_FLOAT_MAT2x4_NV', 0x8B66) unless defined?(GL_FLOAT_MAT2x4_NV)
|
780
780
|
const_set('GL_FLOAT_MAT3x2_NV', 0x8B67) unless defined?(GL_FLOAT_MAT3x2_NV)
|
781
781
|
const_set('GL_FLOAT_MAT3x4_NV', 0x8B68) unless defined?(GL_FLOAT_MAT3x4_NV)
|
782
782
|
const_set('GL_FLOAT_MAT4x2_NV', 0x8B69) unless defined?(GL_FLOAT_MAT4x2_NV)
|
783
783
|
const_set('GL_FLOAT_MAT4x3_NV', 0x8B6A) unless defined?(GL_FLOAT_MAT4x3_NV)
|
784
|
-
end #
|
784
|
+
end # define_ext_enum_GL_NV_non_square_matrices
|
785
785
|
|
786
|
-
def
|
786
|
+
def define_ext_enum_GL_NV_read_buffer
|
787
787
|
const_set('GL_READ_BUFFER_NV', 0x0C02) unless defined?(GL_READ_BUFFER_NV)
|
788
|
-
end #
|
788
|
+
end # define_ext_enum_GL_NV_read_buffer
|
789
789
|
|
790
|
-
def
|
791
|
-
end #
|
790
|
+
def define_ext_enum_GL_NV_read_buffer_front
|
791
|
+
end # define_ext_enum_GL_NV_read_buffer_front
|
792
792
|
|
793
|
-
def
|
794
|
-
end #
|
793
|
+
def define_ext_enum_GL_NV_read_depth
|
794
|
+
end # define_ext_enum_GL_NV_read_depth
|
795
795
|
|
796
|
-
def
|
797
|
-
end #
|
796
|
+
def define_ext_enum_GL_NV_read_depth_stencil
|
797
|
+
end # define_ext_enum_GL_NV_read_depth_stencil
|
798
798
|
|
799
|
-
def
|
800
|
-
end #
|
799
|
+
def define_ext_enum_GL_NV_read_stencil
|
800
|
+
end # define_ext_enum_GL_NV_read_stencil
|
801
801
|
|
802
|
-
def
|
802
|
+
def define_ext_enum_GL_NV_sRGB_formats
|
803
803
|
const_set('GL_SLUMINANCE_NV', 0x8C46) unless defined?(GL_SLUMINANCE_NV)
|
804
804
|
const_set('GL_SLUMINANCE_ALPHA_NV', 0x8C44) unless defined?(GL_SLUMINANCE_ALPHA_NV)
|
805
805
|
const_set('GL_SRGB8_NV', 0x8C41) unless defined?(GL_SRGB8_NV)
|
@@ -810,42 +810,42 @@ module OpenGL
|
|
810
810
|
const_set('GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV', 0x8C4E) unless defined?(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV)
|
811
811
|
const_set('GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV', 0x8C4F) unless defined?(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV)
|
812
812
|
const_set('GL_ETC1_SRGB8_NV', 0x88EE) unless defined?(GL_ETC1_SRGB8_NV)
|
813
|
-
end #
|
813
|
+
end # define_ext_enum_GL_NV_sRGB_formats
|
814
814
|
|
815
|
-
def
|
815
|
+
def define_ext_enum_GL_NV_shadow_samplers_array
|
816
816
|
const_set('GL_SAMPLER_2D_ARRAY_SHADOW_NV', 0x8DC4) unless defined?(GL_SAMPLER_2D_ARRAY_SHADOW_NV)
|
817
|
-
end #
|
817
|
+
end # define_ext_enum_GL_NV_shadow_samplers_array
|
818
818
|
|
819
|
-
def
|
819
|
+
def define_ext_enum_GL_NV_shadow_samplers_cube
|
820
820
|
const_set('GL_SAMPLER_CUBE_SHADOW_NV', 0x8DC5) unless defined?(GL_SAMPLER_CUBE_SHADOW_NV)
|
821
|
-
end #
|
821
|
+
end # define_ext_enum_GL_NV_shadow_samplers_cube
|
822
822
|
|
823
|
-
def
|
823
|
+
def define_ext_enum_GL_NV_texture_border_clamp
|
824
824
|
const_set('GL_TEXTURE_BORDER_COLOR_NV', 0x1004) unless defined?(GL_TEXTURE_BORDER_COLOR_NV)
|
825
825
|
const_set('GL_CLAMP_TO_BORDER_NV', 0x812D) unless defined?(GL_CLAMP_TO_BORDER_NV)
|
826
|
-
end #
|
826
|
+
end # define_ext_enum_GL_NV_texture_border_clamp
|
827
827
|
|
828
|
-
def
|
829
|
-
end #
|
828
|
+
def define_ext_enum_GL_NV_texture_compression_s3tc_update
|
829
|
+
end # define_ext_enum_GL_NV_texture_compression_s3tc_update
|
830
830
|
|
831
|
-
def
|
832
|
-
end #
|
831
|
+
def define_ext_enum_GL_NV_texture_npot_2D_mipmap
|
832
|
+
end # define_ext_enum_GL_NV_texture_npot_2D_mipmap
|
833
833
|
|
834
|
-
def
|
835
|
-
end #
|
834
|
+
def define_ext_enum_GL_OES_EGL_image
|
835
|
+
end # define_ext_enum_GL_OES_EGL_image
|
836
836
|
|
837
|
-
def
|
837
|
+
def define_ext_enum_GL_OES_EGL_image_external
|
838
838
|
const_set('GL_TEXTURE_EXTERNAL_OES', 0x8D65) unless defined?(GL_TEXTURE_EXTERNAL_OES)
|
839
839
|
const_set('GL_TEXTURE_BINDING_EXTERNAL_OES', 0x8D67) unless defined?(GL_TEXTURE_BINDING_EXTERNAL_OES)
|
840
840
|
const_set('GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES', 0x8D68) unless defined?(GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES)
|
841
841
|
const_set('GL_SAMPLER_EXTERNAL_OES', 0x8D66) unless defined?(GL_SAMPLER_EXTERNAL_OES)
|
842
|
-
end #
|
842
|
+
end # define_ext_enum_GL_OES_EGL_image_external
|
843
843
|
|
844
|
-
def
|
844
|
+
def define_ext_enum_GL_OES_compressed_ETC1_RGB8_texture
|
845
845
|
const_set('GL_ETC1_RGB8_OES', 0x8D64) unless defined?(GL_ETC1_RGB8_OES)
|
846
|
-
end #
|
846
|
+
end # define_ext_enum_GL_OES_compressed_ETC1_RGB8_texture
|
847
847
|
|
848
|
-
def
|
848
|
+
def define_ext_enum_GL_OES_compressed_paletted_texture
|
849
849
|
const_set('GL_PALETTE4_RGB8_OES', 0x8B90) unless defined?(GL_PALETTE4_RGB8_OES)
|
850
850
|
const_set('GL_PALETTE4_RGBA8_OES', 0x8B91) unless defined?(GL_PALETTE4_RGBA8_OES)
|
851
851
|
const_set('GL_PALETTE4_R5_G6_B5_OES', 0x8B92) unless defined?(GL_PALETTE4_R5_G6_B5_OES)
|
@@ -856,52 +856,52 @@ module OpenGL
|
|
856
856
|
const_set('GL_PALETTE8_R5_G6_B5_OES', 0x8B97) unless defined?(GL_PALETTE8_R5_G6_B5_OES)
|
857
857
|
const_set('GL_PALETTE8_RGBA4_OES', 0x8B98) unless defined?(GL_PALETTE8_RGBA4_OES)
|
858
858
|
const_set('GL_PALETTE8_RGB5_A1_OES', 0x8B99) unless defined?(GL_PALETTE8_RGB5_A1_OES)
|
859
|
-
end #
|
859
|
+
end # define_ext_enum_GL_OES_compressed_paletted_texture
|
860
860
|
|
861
|
-
def
|
861
|
+
def define_ext_enum_GL_OES_depth24
|
862
862
|
const_set('GL_DEPTH_COMPONENT24_OES', 0x81A6) unless defined?(GL_DEPTH_COMPONENT24_OES)
|
863
|
-
end #
|
863
|
+
end # define_ext_enum_GL_OES_depth24
|
864
864
|
|
865
|
-
def
|
865
|
+
def define_ext_enum_GL_OES_depth32
|
866
866
|
const_set('GL_DEPTH_COMPONENT32_OES', 0x81A7) unless defined?(GL_DEPTH_COMPONENT32_OES)
|
867
|
-
end #
|
867
|
+
end # define_ext_enum_GL_OES_depth32
|
868
868
|
|
869
|
-
def
|
869
|
+
def define_ext_enum_GL_OES_depth_texture
|
870
870
|
const_set('GL_DEPTH_COMPONENT', 0x1902) unless defined?(GL_DEPTH_COMPONENT)
|
871
871
|
const_set('GL_UNSIGNED_SHORT', 0x1403) unless defined?(GL_UNSIGNED_SHORT)
|
872
872
|
const_set('GL_UNSIGNED_INT', 0x1405) unless defined?(GL_UNSIGNED_INT)
|
873
|
-
end #
|
873
|
+
end # define_ext_enum_GL_OES_depth_texture
|
874
874
|
|
875
|
-
def
|
875
|
+
def define_ext_enum_GL_OES_element_index_uint
|
876
876
|
const_set('GL_UNSIGNED_INT', 0x1405) unless defined?(GL_UNSIGNED_INT)
|
877
|
-
end #
|
877
|
+
end # define_ext_enum_GL_OES_element_index_uint
|
878
878
|
|
879
|
-
def
|
880
|
-
end #
|
879
|
+
def define_ext_enum_GL_OES_fbo_render_mipmap
|
880
|
+
end # define_ext_enum_GL_OES_fbo_render_mipmap
|
881
881
|
|
882
|
-
def
|
883
|
-
end #
|
882
|
+
def define_ext_enum_GL_OES_fragment_precision_high
|
883
|
+
end # define_ext_enum_GL_OES_fragment_precision_high
|
884
884
|
|
885
|
-
def
|
885
|
+
def define_ext_enum_GL_OES_get_program_binary
|
886
886
|
const_set('GL_PROGRAM_BINARY_LENGTH_OES', 0x8741) unless defined?(GL_PROGRAM_BINARY_LENGTH_OES)
|
887
887
|
const_set('GL_NUM_PROGRAM_BINARY_FORMATS_OES', 0x87FE) unless defined?(GL_NUM_PROGRAM_BINARY_FORMATS_OES)
|
888
888
|
const_set('GL_PROGRAM_BINARY_FORMATS_OES', 0x87FF) unless defined?(GL_PROGRAM_BINARY_FORMATS_OES)
|
889
|
-
end #
|
889
|
+
end # define_ext_enum_GL_OES_get_program_binary
|
890
890
|
|
891
|
-
def
|
891
|
+
def define_ext_enum_GL_OES_mapbuffer
|
892
892
|
const_set('GL_WRITE_ONLY_OES', 0x88B9) unless defined?(GL_WRITE_ONLY_OES)
|
893
893
|
const_set('GL_BUFFER_ACCESS_OES', 0x88BB) unless defined?(GL_BUFFER_ACCESS_OES)
|
894
894
|
const_set('GL_BUFFER_MAPPED_OES', 0x88BC) unless defined?(GL_BUFFER_MAPPED_OES)
|
895
895
|
const_set('GL_BUFFER_MAP_POINTER_OES', 0x88BD) unless defined?(GL_BUFFER_MAP_POINTER_OES)
|
896
|
-
end #
|
896
|
+
end # define_ext_enum_GL_OES_mapbuffer
|
897
897
|
|
898
|
-
def
|
898
|
+
def define_ext_enum_GL_OES_packed_depth_stencil
|
899
899
|
const_set('GL_DEPTH_STENCIL_OES', 0x84F9) unless defined?(GL_DEPTH_STENCIL_OES)
|
900
900
|
const_set('GL_UNSIGNED_INT_24_8_OES', 0x84FA) unless defined?(GL_UNSIGNED_INT_24_8_OES)
|
901
901
|
const_set('GL_DEPTH24_STENCIL8_OES', 0x88F0) unless defined?(GL_DEPTH24_STENCIL8_OES)
|
902
|
-
end #
|
902
|
+
end # define_ext_enum_GL_OES_packed_depth_stencil
|
903
903
|
|
904
|
-
def
|
904
|
+
def define_ext_enum_GL_OES_required_internalformat
|
905
905
|
const_set('GL_ALPHA8_OES', 0x803C) unless defined?(GL_ALPHA8_OES)
|
906
906
|
const_set('GL_DEPTH_COMPONENT16_OES', 0x81A5) unless defined?(GL_DEPTH_COMPONENT16_OES)
|
907
907
|
const_set('GL_DEPTH_COMPONENT24_OES', 0x81A6) unless defined?(GL_DEPTH_COMPONENT24_OES)
|
@@ -917,39 +917,39 @@ module OpenGL
|
|
917
917
|
const_set('GL_RGBA8_OES', 0x8058) unless defined?(GL_RGBA8_OES)
|
918
918
|
const_set('GL_RGB10_EXT', 0x8052) unless defined?(GL_RGB10_EXT)
|
919
919
|
const_set('GL_RGB10_A2_EXT', 0x8059) unless defined?(GL_RGB10_A2_EXT)
|
920
|
-
end #
|
920
|
+
end # define_ext_enum_GL_OES_required_internalformat
|
921
921
|
|
922
|
-
def
|
922
|
+
def define_ext_enum_GL_OES_rgb8_rgba8
|
923
923
|
const_set('GL_RGB8_OES', 0x8051) unless defined?(GL_RGB8_OES)
|
924
924
|
const_set('GL_RGBA8_OES', 0x8058) unless defined?(GL_RGBA8_OES)
|
925
|
-
end #
|
925
|
+
end # define_ext_enum_GL_OES_rgb8_rgba8
|
926
926
|
|
927
|
-
def
|
927
|
+
def define_ext_enum_GL_OES_standard_derivatives
|
928
928
|
const_set('GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES', 0x8B8B) unless defined?(GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES)
|
929
|
-
end #
|
929
|
+
end # define_ext_enum_GL_OES_standard_derivatives
|
930
930
|
|
931
|
-
def
|
931
|
+
def define_ext_enum_GL_OES_stencil1
|
932
932
|
const_set('GL_STENCIL_INDEX1_OES', 0x8D46) unless defined?(GL_STENCIL_INDEX1_OES)
|
933
|
-
end #
|
933
|
+
end # define_ext_enum_GL_OES_stencil1
|
934
934
|
|
935
|
-
def
|
935
|
+
def define_ext_enum_GL_OES_stencil4
|
936
936
|
const_set('GL_STENCIL_INDEX4_OES', 0x8D47) unless defined?(GL_STENCIL_INDEX4_OES)
|
937
|
-
end #
|
937
|
+
end # define_ext_enum_GL_OES_stencil4
|
938
938
|
|
939
|
-
def
|
939
|
+
def define_ext_enum_GL_OES_surfaceless_context
|
940
940
|
const_set('GL_FRAMEBUFFER_UNDEFINED_OES', 0x8219) unless defined?(GL_FRAMEBUFFER_UNDEFINED_OES)
|
941
|
-
end #
|
941
|
+
end # define_ext_enum_GL_OES_surfaceless_context
|
942
942
|
|
943
|
-
def
|
943
|
+
def define_ext_enum_GL_OES_texture_3D
|
944
944
|
const_set('GL_TEXTURE_WRAP_R_OES', 0x8072) unless defined?(GL_TEXTURE_WRAP_R_OES)
|
945
945
|
const_set('GL_TEXTURE_3D_OES', 0x806F) unless defined?(GL_TEXTURE_3D_OES)
|
946
946
|
const_set('GL_TEXTURE_BINDING_3D_OES', 0x806A) unless defined?(GL_TEXTURE_BINDING_3D_OES)
|
947
947
|
const_set('GL_MAX_3D_TEXTURE_SIZE_OES', 0x8073) unless defined?(GL_MAX_3D_TEXTURE_SIZE_OES)
|
948
948
|
const_set('GL_SAMPLER_3D_OES', 0x8B5F) unless defined?(GL_SAMPLER_3D_OES)
|
949
949
|
const_set('GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES', 0x8CD4) unless defined?(GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES)
|
950
|
-
end #
|
950
|
+
end # define_ext_enum_GL_OES_texture_3D
|
951
951
|
|
952
|
-
def
|
952
|
+
def define_ext_enum_GL_OES_texture_compression_astc
|
953
953
|
const_set('GL_COMPRESSED_RGBA_ASTC_4x4_KHR', 0x93B0) unless defined?(GL_COMPRESSED_RGBA_ASTC_4x4_KHR)
|
954
954
|
const_set('GL_COMPRESSED_RGBA_ASTC_5x4_KHR', 0x93B1) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x4_KHR)
|
955
955
|
const_set('GL_COMPRESSED_RGBA_ASTC_5x5_KHR', 0x93B2) unless defined?(GL_COMPRESSED_RGBA_ASTC_5x5_KHR)
|
@@ -998,55 +998,55 @@ module OpenGL
|
|
998
998
|
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES', 0x93E7) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES)
|
999
999
|
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES', 0x93E8) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES)
|
1000
1000
|
const_set('GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES', 0x93E9) unless defined?(GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES)
|
1001
|
-
end #
|
1001
|
+
end # define_ext_enum_GL_OES_texture_compression_astc
|
1002
1002
|
|
1003
|
-
def
|
1003
|
+
def define_ext_enum_GL_OES_texture_float
|
1004
1004
|
const_set('GL_FLOAT', 0x1406) unless defined?(GL_FLOAT)
|
1005
|
-
end #
|
1005
|
+
end # define_ext_enum_GL_OES_texture_float
|
1006
1006
|
|
1007
|
-
def
|
1008
|
-
end #
|
1007
|
+
def define_ext_enum_GL_OES_texture_float_linear
|
1008
|
+
end # define_ext_enum_GL_OES_texture_float_linear
|
1009
1009
|
|
1010
|
-
def
|
1010
|
+
def define_ext_enum_GL_OES_texture_half_float
|
1011
1011
|
const_set('GL_HALF_FLOAT_OES', 0x8D61) unless defined?(GL_HALF_FLOAT_OES)
|
1012
|
-
end #
|
1012
|
+
end # define_ext_enum_GL_OES_texture_half_float
|
1013
1013
|
|
1014
|
-
def
|
1015
|
-
end #
|
1014
|
+
def define_ext_enum_GL_OES_texture_half_float_linear
|
1015
|
+
end # define_ext_enum_GL_OES_texture_half_float_linear
|
1016
1016
|
|
1017
|
-
def
|
1018
|
-
end #
|
1017
|
+
def define_ext_enum_GL_OES_texture_npot
|
1018
|
+
end # define_ext_enum_GL_OES_texture_npot
|
1019
1019
|
|
1020
|
-
def
|
1020
|
+
def define_ext_enum_GL_OES_vertex_array_object
|
1021
1021
|
const_set('GL_VERTEX_ARRAY_BINDING_OES', 0x85B5) unless defined?(GL_VERTEX_ARRAY_BINDING_OES)
|
1022
|
-
end #
|
1022
|
+
end # define_ext_enum_GL_OES_vertex_array_object
|
1023
1023
|
|
1024
|
-
def
|
1024
|
+
def define_ext_enum_GL_OES_vertex_half_float
|
1025
1025
|
const_set('GL_HALF_FLOAT_OES', 0x8D61) unless defined?(GL_HALF_FLOAT_OES)
|
1026
|
-
end #
|
1026
|
+
end # define_ext_enum_GL_OES_vertex_half_float
|
1027
1027
|
|
1028
|
-
def
|
1028
|
+
def define_ext_enum_GL_OES_vertex_type_10_10_10_2
|
1029
1029
|
const_set('GL_UNSIGNED_INT_10_10_10_2_OES', 0x8DF6) unless defined?(GL_UNSIGNED_INT_10_10_10_2_OES)
|
1030
1030
|
const_set('GL_INT_10_10_10_2_OES', 0x8DF7) unless defined?(GL_INT_10_10_10_2_OES)
|
1031
|
-
end #
|
1031
|
+
end # define_ext_enum_GL_OES_vertex_type_10_10_10_2
|
1032
1032
|
|
1033
|
-
def
|
1033
|
+
def define_ext_enum_GL_QCOM_alpha_test
|
1034
1034
|
const_set('GL_ALPHA_TEST_QCOM', 0x0BC0) unless defined?(GL_ALPHA_TEST_QCOM)
|
1035
1035
|
const_set('GL_ALPHA_TEST_FUNC_QCOM', 0x0BC1) unless defined?(GL_ALPHA_TEST_FUNC_QCOM)
|
1036
1036
|
const_set('GL_ALPHA_TEST_REF_QCOM', 0x0BC2) unless defined?(GL_ALPHA_TEST_REF_QCOM)
|
1037
|
-
end #
|
1037
|
+
end # define_ext_enum_GL_QCOM_alpha_test
|
1038
1038
|
|
1039
|
-
def
|
1039
|
+
def define_ext_enum_GL_QCOM_binning_control
|
1040
1040
|
const_set('GL_BINNING_CONTROL_HINT_QCOM', 0x8FB0) unless defined?(GL_BINNING_CONTROL_HINT_QCOM)
|
1041
1041
|
const_set('GL_CPU_OPTIMIZED_QCOM', 0x8FB1) unless defined?(GL_CPU_OPTIMIZED_QCOM)
|
1042
1042
|
const_set('GL_GPU_OPTIMIZED_QCOM', 0x8FB2) unless defined?(GL_GPU_OPTIMIZED_QCOM)
|
1043
1043
|
const_set('GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM', 0x8FB3) unless defined?(GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM)
|
1044
|
-
end #
|
1044
|
+
end # define_ext_enum_GL_QCOM_binning_control
|
1045
1045
|
|
1046
|
-
def
|
1047
|
-
end #
|
1046
|
+
def define_ext_enum_GL_QCOM_driver_control
|
1047
|
+
end # define_ext_enum_GL_QCOM_driver_control
|
1048
1048
|
|
1049
|
-
def
|
1049
|
+
def define_ext_enum_GL_QCOM_extended_get
|
1050
1050
|
const_set('GL_TEXTURE_WIDTH_QCOM', 0x8BD2) unless defined?(GL_TEXTURE_WIDTH_QCOM)
|
1051
1051
|
const_set('GL_TEXTURE_HEIGHT_QCOM', 0x8BD3) unless defined?(GL_TEXTURE_HEIGHT_QCOM)
|
1052
1052
|
const_set('GL_TEXTURE_DEPTH_QCOM', 0x8BD4) unless defined?(GL_TEXTURE_DEPTH_QCOM)
|
@@ -1058,16 +1058,16 @@ module OpenGL
|
|
1058
1058
|
const_set('GL_TEXTURE_TARGET_QCOM', 0x8BDA) unless defined?(GL_TEXTURE_TARGET_QCOM)
|
1059
1059
|
const_set('GL_TEXTURE_OBJECT_VALID_QCOM', 0x8BDB) unless defined?(GL_TEXTURE_OBJECT_VALID_QCOM)
|
1060
1060
|
const_set('GL_STATE_RESTORE', 0x8BDC) unless defined?(GL_STATE_RESTORE)
|
1061
|
-
end #
|
1061
|
+
end # define_ext_enum_GL_QCOM_extended_get
|
1062
1062
|
|
1063
|
-
def
|
1064
|
-
end #
|
1063
|
+
def define_ext_enum_GL_QCOM_extended_get2
|
1064
|
+
end # define_ext_enum_GL_QCOM_extended_get2
|
1065
1065
|
|
1066
|
-
def
|
1066
|
+
def define_ext_enum_GL_QCOM_perfmon_global_mode
|
1067
1067
|
const_set('GL_PERFMON_GLOBAL_MODE_QCOM', 0x8FA0) unless defined?(GL_PERFMON_GLOBAL_MODE_QCOM)
|
1068
|
-
end #
|
1068
|
+
end # define_ext_enum_GL_QCOM_perfmon_global_mode
|
1069
1069
|
|
1070
|
-
def
|
1070
|
+
def define_ext_enum_GL_QCOM_tiled_rendering
|
1071
1071
|
const_set('GL_COLOR_BUFFER_BIT0_QCOM', 0x00000001) unless defined?(GL_COLOR_BUFFER_BIT0_QCOM)
|
1072
1072
|
const_set('GL_COLOR_BUFFER_BIT1_QCOM', 0x00000002) unless defined?(GL_COLOR_BUFFER_BIT1_QCOM)
|
1073
1073
|
const_set('GL_COLOR_BUFFER_BIT2_QCOM', 0x00000004) unless defined?(GL_COLOR_BUFFER_BIT2_QCOM)
|
@@ -1100,14 +1100,14 @@ module OpenGL
|
|
1100
1100
|
const_set('GL_MULTISAMPLE_BUFFER_BIT5_QCOM', 0x20000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT5_QCOM)
|
1101
1101
|
const_set('GL_MULTISAMPLE_BUFFER_BIT6_QCOM', 0x40000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT6_QCOM)
|
1102
1102
|
const_set('GL_MULTISAMPLE_BUFFER_BIT7_QCOM', 0x80000000) unless defined?(GL_MULTISAMPLE_BUFFER_BIT7_QCOM)
|
1103
|
-
end #
|
1103
|
+
end # define_ext_enum_GL_QCOM_tiled_rendering
|
1104
1104
|
|
1105
|
-
def
|
1105
|
+
def define_ext_enum_GL_QCOM_writeonly_rendering
|
1106
1106
|
const_set('GL_WRITEONLY_RENDERING_QCOM', 0x8823) unless defined?(GL_WRITEONLY_RENDERING_QCOM)
|
1107
|
-
end #
|
1107
|
+
end # define_ext_enum_GL_QCOM_writeonly_rendering
|
1108
1108
|
|
1109
|
-
def
|
1109
|
+
def define_ext_enum_GL_VIV_shader_binary
|
1110
1110
|
const_set('GL_SHADER_BINARY_VIV', 0x8FC4) unless defined?(GL_SHADER_BINARY_VIV)
|
1111
|
-
end #
|
1111
|
+
end # define_ext_enum_GL_VIV_shader_binary
|
1112
1112
|
|
1113
1113
|
end
|