[go: nahoru, domu]

1/*
2 * Copyright 2015 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17// This source file is automatically generated
18
19package android.opengl;
20
21/** OpenGL ES 3.2
22 */
23public class GLES32 extends GLES31 {
24
25    public static final int GL_CONTEXT_FLAG_DEBUG_BIT                          = 0x00000002;
26
27    public static final int GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT                  = 0x00000004;
28
29    public static final int GL_GEOMETRY_SHADER_BIT                             = 0x00000004;
30    public static final int GL_TESS_CONTROL_SHADER_BIT                         = 0x00000008;
31    public static final int GL_TESS_EVALUATION_SHADER_BIT                      = 0x00000010;
32
33    public static final int GL_QUADS                                           = 0x0007;
34    public static final int GL_LINES_ADJACENCY                                 = 0x000A;
35    public static final int GL_LINE_STRIP_ADJACENCY                            = 0x000B;
36    public static final int GL_TRIANGLES_ADJACENCY                             = 0x000C;
37    public static final int GL_TRIANGLE_STRIP_ADJACENCY                        = 0x000D;
38    public static final int GL_PATCHES                                         = 0x000E;
39    public static final int GL_STACK_OVERFLOW                                  = 0x0503;
40    public static final int GL_STACK_UNDERFLOW                                 = 0x0504;
41    public static final int GL_CONTEXT_LOST                                    = 0x0507;
42    public static final int GL_TEXTURE_BORDER_COLOR                            = 0x1004;
43    public static final int GL_VERTEX_ARRAY                                    = 0x8074;
44    public static final int GL_CLAMP_TO_BORDER                                 = 0x812D;
45    public static final int GL_CONTEXT_FLAGS                                   = 0x821E;
46    public static final int GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED         = 0x8221;
47    public static final int GL_DEBUG_OUTPUT_SYNCHRONOUS                        = 0x8242;
48    public static final int GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH                = 0x8243;
49    public static final int GL_DEBUG_CALLBACK_FUNCTION                         = 0x8244;
50    public static final int GL_DEBUG_CALLBACK_USER_PARAM                       = 0x8245;
51    public static final int GL_DEBUG_SOURCE_API                                = 0x8246;
52    public static final int GL_DEBUG_SOURCE_WINDOW_SYSTEM                      = 0x8247;
53    public static final int GL_DEBUG_SOURCE_SHADER_COMPILER                    = 0x8248;
54    public static final int GL_DEBUG_SOURCE_THIRD_PARTY                        = 0x8249;
55    public static final int GL_DEBUG_SOURCE_APPLICATION                        = 0x824A;
56    public static final int GL_DEBUG_SOURCE_OTHER                              = 0x824B;
57    public static final int GL_DEBUG_TYPE_ERROR                                = 0x824C;
58    public static final int GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR                  = 0x824D;
59    public static final int GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR                   = 0x824E;
60    public static final int GL_DEBUG_TYPE_PORTABILITY                          = 0x824F;
61    public static final int GL_DEBUG_TYPE_PERFORMANCE                          = 0x8250;
62    public static final int GL_DEBUG_TYPE_OTHER                                = 0x8251;
63    public static final int GL_LOSE_CONTEXT_ON_RESET                           = 0x8252;
64    public static final int GL_GUILTY_CONTEXT_RESET                            = 0x8253;
65    public static final int GL_INNOCENT_CONTEXT_RESET                          = 0x8254;
66    public static final int GL_UNKNOWN_CONTEXT_RESET                           = 0x8255;
67    public static final int GL_RESET_NOTIFICATION_STRATEGY                     = 0x8256;
68    public static final int GL_LAYER_PROVOKING_VERTEX                          = 0x825E;
69    public static final int GL_UNDEFINED_VERTEX                                = 0x8260;
70    public static final int GL_NO_RESET_NOTIFICATION                           = 0x8261;
71    public static final int GL_DEBUG_TYPE_MARKER                               = 0x8268;
72    public static final int GL_DEBUG_TYPE_PUSH_GROUP                           = 0x8269;
73    public static final int GL_DEBUG_TYPE_POP_GROUP                            = 0x826A;
74    public static final int GL_DEBUG_SEVERITY_NOTIFICATION                     = 0x826B;
75    public static final int GL_MAX_DEBUG_GROUP_STACK_DEPTH                     = 0x826C;
76    public static final int GL_DEBUG_GROUP_STACK_DEPTH                         = 0x826D;
77    public static final int GL_BUFFER                                          = 0x82E0;
78    public static final int GL_SHADER                                          = 0x82E1;
79    public static final int GL_PROGRAM                                         = 0x82E2;
80    public static final int GL_QUERY                                           = 0x82E3;
81    public static final int GL_PROGRAM_PIPELINE                                = 0x82E4;
82    public static final int GL_SAMPLER                                         = 0x82E6;
83    public static final int GL_MAX_LABEL_LENGTH                                = 0x82E8;
84    public static final int GL_MAX_TESS_CONTROL_INPUT_COMPONENTS               = 0x886C;
85    public static final int GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS            = 0x886D;
86    public static final int GL_GEOMETRY_SHADER_INVOCATIONS                     = 0x887F;
87    public static final int GL_GEOMETRY_VERTICES_OUT                           = 0x8916;
88    public static final int GL_GEOMETRY_INPUT_TYPE                             = 0x8917;
89    public static final int GL_GEOMETRY_OUTPUT_TYPE                            = 0x8918;
90    public static final int GL_MAX_GEOMETRY_UNIFORM_BLOCKS                     = 0x8A2C;
91    public static final int GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS        = 0x8A32;
92    public static final int GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS                = 0x8C29;
93    public static final int GL_TEXTURE_BUFFER                                  = 0x8C2A;
94    public static final int GL_TEXTURE_BUFFER_BINDING                          = 0x8C2A;
95    public static final int GL_MAX_TEXTURE_BUFFER_SIZE                         = 0x8C2B;
96    public static final int GL_TEXTURE_BINDING_BUFFER                          = 0x8C2C;
97    public static final int GL_TEXTURE_BUFFER_DATA_STORE_BINDING               = 0x8C2D;
98    public static final int GL_SAMPLE_SHADING                                  = 0x8C36;
99    public static final int GL_MIN_SAMPLE_SHADING_VALUE                        = 0x8C37;
100    public static final int GL_PRIMITIVES_GENERATED                            = 0x8C87;
101    public static final int GL_FRAMEBUFFER_ATTACHMENT_LAYERED                  = 0x8DA7;
102    public static final int GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS            = 0x8DA8;
103    public static final int GL_SAMPLER_BUFFER                                  = 0x8DC2;
104    public static final int GL_INT_SAMPLER_BUFFER                              = 0x8DD0;
105    public static final int GL_UNSIGNED_INT_SAMPLER_BUFFER                     = 0x8DD8;
106    public static final int GL_GEOMETRY_SHADER                                 = 0x8DD9;
107    public static final int GL_MAX_GEOMETRY_UNIFORM_COMPONENTS                 = 0x8DDF;
108    public static final int GL_MAX_GEOMETRY_OUTPUT_VERTICES                    = 0x8DE0;
109    public static final int GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS            = 0x8DE1;
110    public static final int GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS    = 0x8E1E;
111    public static final int GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E1F;
112    public static final int GL_FIRST_VERTEX_CONVENTION                         = 0x8E4D;
113    public static final int GL_LAST_VERTEX_CONVENTION                          = 0x8E4E;
114    public static final int GL_MAX_GEOMETRY_SHADER_INVOCATIONS                 = 0x8E5A;
115    public static final int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET               = 0x8E5B;
116    public static final int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET               = 0x8E5C;
117    public static final int GL_FRAGMENT_INTERPOLATION_OFFSET_BITS              = 0x8E5D;
118    public static final int GL_PATCH_VERTICES                                  = 0x8E72;
119    public static final int GL_TESS_CONTROL_OUTPUT_VERTICES                    = 0x8E75;
120    public static final int GL_TESS_GEN_MODE                                   = 0x8E76;
121    public static final int GL_TESS_GEN_SPACING                                = 0x8E77;
122    public static final int GL_TESS_GEN_VERTEX_ORDER                           = 0x8E78;
123    public static final int GL_TESS_GEN_POINT_MODE                             = 0x8E79;
124    public static final int GL_ISOLINES                                        = 0x8E7A;
125    public static final int GL_FRACTIONAL_ODD                                  = 0x8E7B;
126    public static final int GL_FRACTIONAL_EVEN                                 = 0x8E7C;
127    public static final int GL_MAX_PATCH_VERTICES                              = 0x8E7D;
128    public static final int GL_MAX_TESS_GEN_LEVEL                              = 0x8E7E;
129    public static final int GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS             = 0x8E7F;
130    public static final int GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS          = 0x8E80;
131    public static final int GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS            = 0x8E81;
132    public static final int GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS         = 0x8E82;
133    public static final int GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS              = 0x8E83;
134    public static final int GL_MAX_TESS_PATCH_COMPONENTS                       = 0x8E84;
135    public static final int GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS        = 0x8E85;
136    public static final int GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS           = 0x8E86;
137    public static final int GL_TESS_EVALUATION_SHADER                          = 0x8E87;
138    public static final int GL_TESS_CONTROL_SHADER                             = 0x8E88;
139    public static final int GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS                 = 0x8E89;
140    public static final int GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS              = 0x8E8A;
141    public static final int GL_TEXTURE_CUBE_MAP_ARRAY                          = 0x9009;
142    public static final int GL_TEXTURE_BINDING_CUBE_MAP_ARRAY                  = 0x900A;
143    public static final int GL_SAMPLER_CUBE_MAP_ARRAY                          = 0x900C;
144    public static final int GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW                   = 0x900D;
145    public static final int GL_INT_SAMPLER_CUBE_MAP_ARRAY                      = 0x900E;
146    public static final int GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY             = 0x900F;
147    public static final int GL_IMAGE_BUFFER                                    = 0x9051;
148    public static final int GL_IMAGE_CUBE_MAP_ARRAY                            = 0x9054;
149    public static final int GL_INT_IMAGE_BUFFER                                = 0x905C;
150    public static final int GL_INT_IMAGE_CUBE_MAP_ARRAY                        = 0x905F;
151    public static final int GL_UNSIGNED_INT_IMAGE_BUFFER                       = 0x9067;
152    public static final int GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY               = 0x906A;
153    public static final int GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS                 = 0x90CB;
154    public static final int GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS              = 0x90CC;
155    public static final int GL_MAX_GEOMETRY_IMAGE_UNIFORMS                     = 0x90CD;
156    public static final int GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS              = 0x90D7;
157    public static final int GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS          = 0x90D8;
158    public static final int GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS       = 0x90D9;
159    public static final int GL_TEXTURE_2D_MULTISAMPLE_ARRAY                    = 0x9102;
160    public static final int GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY            = 0x9105;
161    public static final int GL_SAMPLER_2D_MULTISAMPLE_ARRAY                    = 0x910B;
162    public static final int GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY                = 0x910C;
163    public static final int GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY       = 0x910D;
164    public static final int GL_MAX_GEOMETRY_INPUT_COMPONENTS                   = 0x9123;
165    public static final int GL_MAX_GEOMETRY_OUTPUT_COMPONENTS                  = 0x9124;
166    public static final int GL_MAX_DEBUG_MESSAGE_LENGTH                        = 0x9143;
167    public static final int GL_MAX_DEBUG_LOGGED_MESSAGES                       = 0x9144;
168    public static final int GL_DEBUG_LOGGED_MESSAGES                           = 0x9145;
169    public static final int GL_DEBUG_SEVERITY_HIGH                             = 0x9146;
170    public static final int GL_DEBUG_SEVERITY_MEDIUM                           = 0x9147;
171    public static final int GL_DEBUG_SEVERITY_LOW                              = 0x9148;
172    public static final int GL_TEXTURE_BUFFER_OFFSET                           = 0x919D;
173    public static final int GL_TEXTURE_BUFFER_SIZE                             = 0x919E;
174    public static final int GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT                 = 0x919F;
175    public static final int GL_MULTIPLY                                        = 0x9294;
176    public static final int GL_SCREEN                                          = 0x9295;
177    public static final int GL_OVERLAY                                         = 0x9296;
178    public static final int GL_DARKEN                                          = 0x9297;
179    public static final int GL_LIGHTEN                                         = 0x9298;
180    public static final int GL_COLORDODGE                                      = 0x9299;
181    public static final int GL_COLORBURN                                       = 0x929A;
182    public static final int GL_HARDLIGHT                                       = 0x929B;
183    public static final int GL_SOFTLIGHT                                       = 0x929C;
184    public static final int GL_DIFFERENCE                                      = 0x929E;
185    public static final int GL_EXCLUSION                                       = 0x92A0;
186    public static final int GL_HSL_HUE                                         = 0x92AD;
187    public static final int GL_HSL_SATURATION                                  = 0x92AE;
188    public static final int GL_HSL_COLOR                                       = 0x92AF;
189    public static final int GL_HSL_LUMINOSITY                                  = 0x92B0;
190    public static final int GL_PRIMITIVE_BOUNDING_BOX                          = 0x92BE;
191    public static final int GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS         = 0x92CD;
192    public static final int GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS      = 0x92CE;
193    public static final int GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS             = 0x92CF;
194    public static final int GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS                = 0x92D3;
195    public static final int GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS             = 0x92D4;
196    public static final int GL_MAX_GEOMETRY_ATOMIC_COUNTERS                    = 0x92D5;
197    public static final int GL_DEBUG_OUTPUT                                    = 0x92E0;
198    public static final int GL_IS_PER_PATCH                                    = 0x92E7;
199    public static final int GL_REFERENCED_BY_TESS_CONTROL_SHADER               = 0x9307;
200    public static final int GL_REFERENCED_BY_TESS_EVALUATION_SHADER            = 0x9308;
201    public static final int GL_REFERENCED_BY_GEOMETRY_SHADER                   = 0x9309;
202    public static final int GL_FRAMEBUFFER_DEFAULT_LAYERS                      = 0x9312;
203    public static final int GL_MAX_FRAMEBUFFER_LAYERS                          = 0x9317;
204    public static final int GL_MULTISAMPLE_LINE_WIDTH_RANGE                    = 0x9381;
205    public static final int GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY              = 0x9382;
206    public static final int GL_COMPRESSED_RGBA_ASTC_4x4                        = 0x93B0;
207    public static final int GL_COMPRESSED_RGBA_ASTC_5x4                        = 0x93B1;
208    public static final int GL_COMPRESSED_RGBA_ASTC_5x5                        = 0x93B2;
209    public static final int GL_COMPRESSED_RGBA_ASTC_6x5                        = 0x93B3;
210    public static final int GL_COMPRESSED_RGBA_ASTC_6x6                        = 0x93B4;
211    public static final int GL_COMPRESSED_RGBA_ASTC_8x5                        = 0x93B5;
212    public static final int GL_COMPRESSED_RGBA_ASTC_8x6                        = 0x93B6;
213    public static final int GL_COMPRESSED_RGBA_ASTC_8x8                        = 0x93B7;
214    public static final int GL_COMPRESSED_RGBA_ASTC_10x5                       = 0x93B8;
215    public static final int GL_COMPRESSED_RGBA_ASTC_10x6                       = 0x93B9;
216    public static final int GL_COMPRESSED_RGBA_ASTC_10x8                       = 0x93BA;
217    public static final int GL_COMPRESSED_RGBA_ASTC_10x10                      = 0x93BB;
218    public static final int GL_COMPRESSED_RGBA_ASTC_12x10                      = 0x93BC;
219    public static final int GL_COMPRESSED_RGBA_ASTC_12x12                      = 0x93BD;
220    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4                = 0x93D0;
221    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4                = 0x93D1;
222    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5                = 0x93D2;
223    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5                = 0x93D3;
224    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6                = 0x93D4;
225    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5                = 0x93D5;
226    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6                = 0x93D6;
227    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8                = 0x93D7;
228    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5               = 0x93D8;
229    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6               = 0x93D9;
230    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8               = 0x93DA;
231    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10              = 0x93DB;
232    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10              = 0x93DC;
233    public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12              = 0x93DD;
234
235
236    native private static void _nativeClassInit();
237    static {
238        _nativeClassInit();
239    }
240
241    private GLES32() {}
242    // C function void glBlendBarrier ( void )
243
244    public static native void glBlendBarrier(
245    );
246
247    // C function void glCopyImageSubData ( GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth )
248
249    public static native void glCopyImageSubData(
250        int srcName,
251        int srcTarget,
252        int srcLevel,
253        int srcX,
254        int srcY,
255        int srcZ,
256        int dstName,
257        int dstTarget,
258        int dstLevel,
259        int dstX,
260        int dstY,
261        int dstZ,
262        int srcWidth,
263        int srcHeight,
264        int srcDepth
265    );
266
267    // C function void glDebugMessageControl ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled )
268
269    public static native void glDebugMessageControl(
270        int source,
271        int type,
272        int severity,
273        int count,
274        int[] ids,
275        int offset,
276        boolean enabled
277    );
278
279    // C function void glDebugMessageControl ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled )
280
281    public static native void glDebugMessageControl(
282        int source,
283        int type,
284        int severity,
285        int count,
286        java.nio.IntBuffer ids,
287        boolean enabled
288    );
289
290    // C function void glDebugMessageInsert ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf )
291
292    public static native void glDebugMessageInsert(
293        int source,
294        int type,
295        int id,
296        int severity,
297        int length,
298        String buf
299    );
300
301    // C function void glDebugMessageCallback ( GLDEBUGPROC callback, const void *userParam )
302
303    public interface DebugProc {
304        void onMessage(int source, int type, int id, int severity, String message);
305    }
306
307    public static native void glDebugMessageCallback(DebugProc callback);
308
309    // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
310
311    public static native int glGetDebugMessageLog(
312        int count,
313        int bufSize,
314        int[] sources,
315        int sourcesOffset,
316        int[] types,
317        int typesOffset,
318        int[] ids,
319        int idsOffset,
320        int[] severities,
321        int severitiesOffset,
322        int[] lengths,
323        int lengthsOffset,
324        byte[] messageLog,
325        int messageLogOffset);
326
327    // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
328
329    public static native int glGetDebugMessageLog(
330        int count,
331        java.nio.IntBuffer sources,
332        java.nio.IntBuffer types,
333        java.nio.IntBuffer ids,
334        java.nio.IntBuffer severities,
335        java.nio.IntBuffer lengths,
336        java.nio.ByteBuffer messageLog);
337
338    // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
339
340    public static native String[] glGetDebugMessageLog(
341        int count,
342        int[] sources,
343        int sourcesOffset,
344        int[] types,
345        int typesOffset,
346        int[] ids,
347        int idsOffset,
348        int[] severities,
349        int severitiesOffset);
350
351    // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
352
353    public static native String[] glGetDebugMessageLog(
354        int count,
355        java.nio.IntBuffer sources,
356        java.nio.IntBuffer types,
357        java.nio.IntBuffer ids,
358        java.nio.IntBuffer severities);
359
360    // C function void glPushDebugGroup ( GLenum source, GLuint id, GLsizei length, const GLchar *message )
361
362    public static native void glPushDebugGroup(
363        int source,
364        int id,
365        int length,
366        String message
367    );
368
369    // C function void glPopDebugGroup ( void )
370
371    public static native void glPopDebugGroup(
372    );
373
374    // C function void glObjectLabel ( GLenum identifier, GLuint name, GLsizei length, const GLchar *label )
375
376    public static native void glObjectLabel(
377        int identifier,
378        int name,
379        int length,
380        String label
381    );
382
383    // C function void glGetObjectLabel ( GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label )
384
385    public static native String glGetObjectLabel(int identifier, int name);
386
387    // C function void glObjectPtrLabel ( const void *ptr, GLsizei length, const GLchar *label )
388
389    public static native void glObjectPtrLabel(long ptr, String label);
390
391    // C function void glGetObjectPtrLabel ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label )
392
393    public static native String glGetObjectPtrLabel(long ptr);
394
395    // C function void glGetPointerv ( GLenum pname, void **params )
396
397    public static native long glGetPointerv(
398        int pname
399    );
400
401    // C function void glEnablei ( GLenum target, GLuint index )
402
403    public static native void glEnablei(
404        int target,
405        int index
406    );
407
408    // C function void glDisablei ( GLenum target, GLuint index )
409
410    public static native void glDisablei(
411        int target,
412        int index
413    );
414
415    // C function void glBlendEquationi ( GLuint buf, GLenum mode )
416
417    public static native void glBlendEquationi(
418        int buf,
419        int mode
420    );
421
422    // C function void glBlendEquationSeparatei ( GLuint buf, GLenum modeRGB, GLenum modeAlpha )
423
424    public static native void glBlendEquationSeparatei(
425        int buf,
426        int modeRGB,
427        int modeAlpha
428    );
429
430    // C function void glBlendFunci ( GLuint buf, GLenum src, GLenum dst )
431
432    public static native void glBlendFunci(
433        int buf,
434        int src,
435        int dst
436    );
437
438    // C function void glBlendFuncSeparatei ( GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha )
439
440    public static native void glBlendFuncSeparatei(
441        int buf,
442        int srcRGB,
443        int dstRGB,
444        int srcAlpha,
445        int dstAlpha
446    );
447
448    // C function void glColorMaski ( GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a )
449
450    public static native void glColorMaski(
451        int index,
452        boolean r,
453        boolean g,
454        boolean b,
455        boolean a
456    );
457
458    // C function GLboolean glIsEnabledi ( GLenum target, GLuint index )
459
460    public static native boolean glIsEnabledi(
461        int target,
462        int index
463    );
464
465    // C function void glDrawElementsBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex )
466
467    public static native void glDrawElementsBaseVertex(
468        int mode,
469        int count,
470        int type,
471        java.nio.Buffer indices,
472        int basevertex
473    );
474
475    // C function void glDrawRangeElementsBaseVertex ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex )
476
477    public static native void glDrawRangeElementsBaseVertex(
478        int mode,
479        int start,
480        int end,
481        int count,
482        int type,
483        java.nio.Buffer indices,
484        int basevertex
485    );
486
487    // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex )
488
489    public static native void glDrawElementsInstancedBaseVertex(
490        int mode,
491        int count,
492        int type,
493        java.nio.Buffer indices,
494        int instanceCount,
495        int basevertex
496    );
497
498    // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex )
499
500    public static native void glDrawElementsInstancedBaseVertex(
501        int mode,
502        int count,
503        int type,
504        int indicesOffset,
505        int instanceCount,
506        int basevertex
507    );
508
509    // C function void glFramebufferTexture ( GLenum target, GLenum attachment, GLuint texture, GLint level )
510
511    public static native void glFramebufferTexture(
512        int target,
513        int attachment,
514        int texture,
515        int level
516    );
517
518    // C function void glPrimitiveBoundingBox ( GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW )
519
520    public static native void glPrimitiveBoundingBox(
521        float minX,
522        float minY,
523        float minZ,
524        float minW,
525        float maxX,
526        float maxY,
527        float maxZ,
528        float maxW
529    );
530
531    // C function GLenum glGetGraphicsResetStatus ( void )
532
533    public static native int glGetGraphicsResetStatus(
534    );
535
536    // C function void glReadnPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data )
537
538    public static native void glReadnPixels(
539        int x,
540        int y,
541        int width,
542        int height,
543        int format,
544        int type,
545        int bufSize,
546        java.nio.Buffer data
547    );
548
549    // C function void glGetnUniformfv ( GLuint program, GLint location, GLsizei bufSize, GLfloat *params )
550
551    public static native void glGetnUniformfv(
552        int program,
553        int location,
554        int bufSize,
555        float[] params,
556        int offset
557    );
558
559    // C function void glGetnUniformfv ( GLuint program, GLint location, GLsizei bufSize, GLfloat *params )
560
561    public static native void glGetnUniformfv(
562        int program,
563        int location,
564        int bufSize,
565        java.nio.FloatBuffer params
566    );
567
568    // C function void glGetnUniformiv ( GLuint program, GLint location, GLsizei bufSize, GLint *params )
569
570    public static native void glGetnUniformiv(
571        int program,
572        int location,
573        int bufSize,
574        int[] params,
575        int offset
576    );
577
578    // C function void glGetnUniformiv ( GLuint program, GLint location, GLsizei bufSize, GLint *params )
579
580    public static native void glGetnUniformiv(
581        int program,
582        int location,
583        int bufSize,
584        java.nio.IntBuffer params
585    );
586
587    // C function void glGetnUniformuiv ( GLuint program, GLint location, GLsizei bufSize, GLuint *params )
588
589    public static native void glGetnUniformuiv(
590        int program,
591        int location,
592        int bufSize,
593        int[] params,
594        int offset
595    );
596
597    // C function void glGetnUniformuiv ( GLuint program, GLint location, GLsizei bufSize, GLuint *params )
598
599    public static native void glGetnUniformuiv(
600        int program,
601        int location,
602        int bufSize,
603        java.nio.IntBuffer params
604    );
605
606    // C function void glMinSampleShading ( GLfloat value )
607
608    public static native void glMinSampleShading(
609        float value
610    );
611
612    // C function void glPatchParameteri ( GLenum pname, GLint value )
613
614    public static native void glPatchParameteri(
615        int pname,
616        int value
617    );
618
619    // C function void glTexParameterIiv ( GLenum target, GLenum pname, const GLint *params )
620
621    public static native void glTexParameterIiv(
622        int target,
623        int pname,
624        int[] params,
625        int offset
626    );
627
628    // C function void glTexParameterIiv ( GLenum target, GLenum pname, const GLint *params )
629
630    public static native void glTexParameterIiv(
631        int target,
632        int pname,
633        java.nio.IntBuffer params
634    );
635
636    // C function void glTexParameterIuiv ( GLenum target, GLenum pname, const GLuint *params )
637
638    public static native void glTexParameterIuiv(
639        int target,
640        int pname,
641        int[] params,
642        int offset
643    );
644
645    // C function void glTexParameterIuiv ( GLenum target, GLenum pname, const GLuint *params )
646
647    public static native void glTexParameterIuiv(
648        int target,
649        int pname,
650        java.nio.IntBuffer params
651    );
652
653    // C function void glGetTexParameterIiv ( GLenum target, GLenum pname, GLint *params )
654
655    public static native void glGetTexParameterIiv(
656        int target,
657        int pname,
658        int[] params,
659        int offset
660    );
661
662    // C function void glGetTexParameterIiv ( GLenum target, GLenum pname, GLint *params )
663
664    public static native void glGetTexParameterIiv(
665        int target,
666        int pname,
667        java.nio.IntBuffer params
668    );
669
670    // C function void glGetTexParameterIuiv ( GLenum target, GLenum pname, GLuint *params )
671
672    public static native void glGetTexParameterIuiv(
673        int target,
674        int pname,
675        int[] params,
676        int offset
677    );
678
679    // C function void glGetTexParameterIuiv ( GLenum target, GLenum pname, GLuint *params )
680
681    public static native void glGetTexParameterIuiv(
682        int target,
683        int pname,
684        java.nio.IntBuffer params
685    );
686
687    // C function void glSamplerParameterIiv ( GLuint sampler, GLenum pname, const GLint *param )
688
689    public static native void glSamplerParameterIiv(
690        int sampler,
691        int pname,
692        int[] param,
693        int offset
694    );
695
696    // C function void glSamplerParameterIiv ( GLuint sampler, GLenum pname, const GLint *param )
697
698    public static native void glSamplerParameterIiv(
699        int sampler,
700        int pname,
701        java.nio.IntBuffer param
702    );
703
704    // C function void glSamplerParameterIuiv ( GLuint sampler, GLenum pname, const GLuint *param )
705
706    public static native void glSamplerParameterIuiv(
707        int sampler,
708        int pname,
709        int[] param,
710        int offset
711    );
712
713    // C function void glSamplerParameterIuiv ( GLuint sampler, GLenum pname, const GLuint *param )
714
715    public static native void glSamplerParameterIuiv(
716        int sampler,
717        int pname,
718        java.nio.IntBuffer param
719    );
720
721    // C function void glGetSamplerParameterIiv ( GLuint sampler, GLenum pname, GLint *params )
722
723    public static native void glGetSamplerParameterIiv(
724        int sampler,
725        int pname,
726        int[] params,
727        int offset
728    );
729
730    // C function void glGetSamplerParameterIiv ( GLuint sampler, GLenum pname, GLint *params )
731
732    public static native void glGetSamplerParameterIiv(
733        int sampler,
734        int pname,
735        java.nio.IntBuffer params
736    );
737
738    // C function void glGetSamplerParameterIuiv ( GLuint sampler, GLenum pname, GLuint *params )
739
740    public static native void glGetSamplerParameterIuiv(
741        int sampler,
742        int pname,
743        int[] params,
744        int offset
745    );
746
747    // C function void glGetSamplerParameterIuiv ( GLuint sampler, GLenum pname, GLuint *params )
748
749    public static native void glGetSamplerParameterIuiv(
750        int sampler,
751        int pname,
752        java.nio.IntBuffer params
753    );
754
755    // C function void glTexBuffer ( GLenum target, GLenum internalformat, GLuint buffer )
756
757    public static native void glTexBuffer(
758        int target,
759        int internalformat,
760        int buffer
761    );
762
763    // C function void glTexBufferRange ( GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size )
764
765    public static native void glTexBufferRange(
766        int target,
767        int internalformat,
768        int buffer,
769        int offset,
770        int size
771    );
772
773    // C function void glTexStorage3DMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations )
774
775    public static native void glTexStorage3DMultisample(
776        int target,
777        int samples,
778        int internalformat,
779        int width,
780        int height,
781        int depth,
782        boolean fixedsamplelocations
783    );
784
785}
786