[go: nahoru, domu]

1/*
2 * Copyright 2014 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.1
22 */
23public class GLES31 extends GLES30 {
24
25    public static final int GL_VERTEX_SHADER_BIT                            = 0x00000001;
26    public static final int GL_FRAGMENT_SHADER_BIT                          = 0x00000002;
27    public static final int GL_COMPUTE_SHADER_BIT                           = 0x00000020;
28    public static final int GL_ALL_SHADER_BITS                              = -1; // 0xFFFFFFFF
29
30    public static final int GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT              = 0x00000001;
31    public static final int GL_ELEMENT_ARRAY_BARRIER_BIT                    = 0x00000002;
32    public static final int GL_UNIFORM_BARRIER_BIT                          = 0x00000004;
33    public static final int GL_TEXTURE_FETCH_BARRIER_BIT                    = 0x00000008;
34    public static final int GL_SHADER_IMAGE_ACCESS_BARRIER_BIT              = 0x00000020;
35    public static final int GL_COMMAND_BARRIER_BIT                          = 0x00000040;
36    public static final int GL_PIXEL_BUFFER_BARRIER_BIT                     = 0x00000080;
37    public static final int GL_TEXTURE_UPDATE_BARRIER_BIT                   = 0x00000100;
38    public static final int GL_BUFFER_UPDATE_BARRIER_BIT                    = 0x00000200;
39    public static final int GL_FRAMEBUFFER_BARRIER_BIT                      = 0x00000400;
40    public static final int GL_TRANSFORM_FEEDBACK_BARRIER_BIT               = 0x00000800;
41    public static final int GL_ATOMIC_COUNTER_BARRIER_BIT                   = 0x00001000;
42    public static final int GL_SHADER_STORAGE_BARRIER_BIT                   = 0x00002000;
43    public static final int GL_ALL_BARRIER_BITS                             = -1; // 0xFFFFFFFF
44
45
46    public static final int GL_TEXTURE_WIDTH                                = 0x1000;
47    public static final int GL_TEXTURE_HEIGHT                               = 0x1001;
48    public static final int GL_TEXTURE_INTERNAL_FORMAT                      = 0x1003;
49    public static final int GL_STENCIL_INDEX                                = 0x1901;
50    public static final int GL_TEXTURE_RED_SIZE                             = 0x805C;
51    public static final int GL_TEXTURE_GREEN_SIZE                           = 0x805D;
52    public static final int GL_TEXTURE_BLUE_SIZE                            = 0x805E;
53    public static final int GL_TEXTURE_ALPHA_SIZE                           = 0x805F;
54    public static final int GL_TEXTURE_DEPTH                                = 0x8071;
55    public static final int GL_PROGRAM_SEPARABLE                            = 0x8258;
56    public static final int GL_ACTIVE_PROGRAM                               = 0x8259;
57    public static final int GL_PROGRAM_PIPELINE_BINDING                     = 0x825A;
58    public static final int GL_MAX_COMPUTE_SHARED_MEMORY_SIZE               = 0x8262;
59    public static final int GL_MAX_COMPUTE_UNIFORM_COMPONENTS               = 0x8263;
60    public static final int GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS           = 0x8264;
61    public static final int GL_MAX_COMPUTE_ATOMIC_COUNTERS                  = 0x8265;
62    public static final int GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS      = 0x8266;
63    public static final int GL_COMPUTE_WORK_GROUP_SIZE                      = 0x8267;
64    public static final int GL_MAX_UNIFORM_LOCATIONS                        = 0x826E;
65    public static final int GL_VERTEX_ATTRIB_BINDING                        = 0x82D4;
66    public static final int GL_VERTEX_ATTRIB_RELATIVE_OFFSET                = 0x82D5;
67    public static final int GL_VERTEX_BINDING_DIVISOR                       = 0x82D6;
68    public static final int GL_VERTEX_BINDING_OFFSET                        = 0x82D7;
69    public static final int GL_VERTEX_BINDING_STRIDE                        = 0x82D8;
70    public static final int GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET            = 0x82D9;
71    public static final int GL_MAX_VERTEX_ATTRIB_BINDINGS                   = 0x82DA;
72    public static final int GL_MAX_VERTEX_ATTRIB_STRIDE                     = 0x82E5;
73    public static final int GL_TEXTURE_COMPRESSED                           = 0x86A1;
74    public static final int GL_TEXTURE_DEPTH_SIZE                           = 0x884A;
75    public static final int GL_READ_ONLY                                    = 0x88B8;
76    public static final int GL_WRITE_ONLY                                   = 0x88B9;
77    public static final int GL_READ_WRITE                                   = 0x88BA;
78    public static final int GL_TEXTURE_STENCIL_SIZE                         = 0x88F1;
79    public static final int GL_TEXTURE_RED_TYPE                             = 0x8C10;
80    public static final int GL_TEXTURE_GREEN_TYPE                           = 0x8C11;
81    public static final int GL_TEXTURE_BLUE_TYPE                            = 0x8C12;
82    public static final int GL_TEXTURE_ALPHA_TYPE                           = 0x8C13;
83    public static final int GL_TEXTURE_DEPTH_TYPE                           = 0x8C16;
84    public static final int GL_TEXTURE_SHARED_SIZE                          = 0x8C3F;
85    public static final int GL_SAMPLE_POSITION                              = 0x8E50;
86    public static final int GL_SAMPLE_MASK                                  = 0x8E51;
87    public static final int GL_SAMPLE_MASK_VALUE                            = 0x8E52;
88    public static final int GL_MAX_SAMPLE_MASK_WORDS                        = 0x8E59;
89    public static final int GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET            = 0x8E5E;
90    public static final int GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET            = 0x8E5F;
91    public static final int GL_MAX_IMAGE_UNITS                              = 0x8F38;
92    public static final int GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES         = 0x8F39;
93    public static final int GL_IMAGE_BINDING_NAME                           = 0x8F3A;
94    public static final int GL_IMAGE_BINDING_LEVEL                          = 0x8F3B;
95    public static final int GL_IMAGE_BINDING_LAYERED                        = 0x8F3C;
96    public static final int GL_IMAGE_BINDING_LAYER                          = 0x8F3D;
97    public static final int GL_IMAGE_BINDING_ACCESS                         = 0x8F3E;
98    public static final int GL_DRAW_INDIRECT_BUFFER                         = 0x8F3F;
99    public static final int GL_DRAW_INDIRECT_BUFFER_BINDING                 = 0x8F43;
100    public static final int GL_VERTEX_BINDING_BUFFER                        = 0x8F4F;
101    public static final int GL_IMAGE_2D                                     = 0x904D;
102    public static final int GL_IMAGE_3D                                     = 0x904E;
103    public static final int GL_IMAGE_CUBE                                   = 0x9050;
104    public static final int GL_IMAGE_2D_ARRAY                               = 0x9053;
105    public static final int GL_INT_IMAGE_2D                                 = 0x9058;
106    public static final int GL_INT_IMAGE_3D                                 = 0x9059;
107    public static final int GL_INT_IMAGE_CUBE                               = 0x905B;
108    public static final int GL_INT_IMAGE_2D_ARRAY                           = 0x905E;
109    public static final int GL_UNSIGNED_INT_IMAGE_2D                        = 0x9063;
110    public static final int GL_UNSIGNED_INT_IMAGE_3D                        = 0x9064;
111    public static final int GL_UNSIGNED_INT_IMAGE_CUBE                      = 0x9066;
112    public static final int GL_UNSIGNED_INT_IMAGE_2D_ARRAY                  = 0x9069;
113    public static final int GL_IMAGE_BINDING_FORMAT                         = 0x906E;
114    public static final int GL_IMAGE_FORMAT_COMPATIBILITY_TYPE              = 0x90C7;
115    public static final int GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE           = 0x90C8;
116    public static final int GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS          = 0x90C9;
117    public static final int GL_MAX_VERTEX_IMAGE_UNIFORMS                    = 0x90CA;
118    public static final int GL_MAX_FRAGMENT_IMAGE_UNIFORMS                  = 0x90CE;
119    public static final int GL_MAX_COMBINED_IMAGE_UNIFORMS                  = 0x90CF;
120    public static final int GL_SHADER_STORAGE_BUFFER                        = 0x90D2;
121    public static final int GL_SHADER_STORAGE_BUFFER_BINDING                = 0x90D3;
122    public static final int GL_SHADER_STORAGE_BUFFER_START                  = 0x90D4;
123    public static final int GL_SHADER_STORAGE_BUFFER_SIZE                   = 0x90D5;
124    public static final int GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS             = 0x90D6;
125    public static final int GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS           = 0x90DA;
126    public static final int GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS            = 0x90DB;
127    public static final int GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS           = 0x90DC;
128    public static final int GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS           = 0x90DD;
129    public static final int GL_MAX_SHADER_STORAGE_BLOCK_SIZE                = 0x90DE;
130    public static final int GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT       = 0x90DF;
131    public static final int GL_DEPTH_STENCIL_TEXTURE_MODE                   = 0x90EA;
132    public static final int GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS           = 0x90EB;
133    public static final int GL_DISPATCH_INDIRECT_BUFFER                     = 0x90EE;
134    public static final int GL_DISPATCH_INDIRECT_BUFFER_BINDING             = 0x90EF;
135    public static final int GL_TEXTURE_2D_MULTISAMPLE                       = 0x9100;
136    public static final int GL_TEXTURE_BINDING_2D_MULTISAMPLE               = 0x9104;
137    public static final int GL_TEXTURE_SAMPLES                              = 0x9106;
138    public static final int GL_TEXTURE_FIXED_SAMPLE_LOCATIONS               = 0x9107;
139    public static final int GL_SAMPLER_2D_MULTISAMPLE                       = 0x9108;
140    public static final int GL_INT_SAMPLER_2D_MULTISAMPLE                   = 0x9109;
141    public static final int GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE          = 0x910A;
142    public static final int GL_MAX_COLOR_TEXTURE_SAMPLES                    = 0x910E;
143    public static final int GL_MAX_DEPTH_TEXTURE_SAMPLES                    = 0x910F;
144    public static final int GL_MAX_INTEGER_SAMPLES                          = 0x9110;
145    public static final int GL_COMPUTE_SHADER                               = 0x91B9;
146    public static final int GL_MAX_COMPUTE_UNIFORM_BLOCKS                   = 0x91BB;
147    public static final int GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS              = 0x91BC;
148    public static final int GL_MAX_COMPUTE_IMAGE_UNIFORMS                   = 0x91BD;
149    public static final int GL_MAX_COMPUTE_WORK_GROUP_COUNT                 = 0x91BE;
150    public static final int GL_MAX_COMPUTE_WORK_GROUP_SIZE                  = 0x91BF;
151    public static final int GL_ATOMIC_COUNTER_BUFFER                        = 0x92C0;
152    public static final int GL_ATOMIC_COUNTER_BUFFER_BINDING                = 0x92C1;
153    public static final int GL_ATOMIC_COUNTER_BUFFER_START                  = 0x92C2;
154    public static final int GL_ATOMIC_COUNTER_BUFFER_SIZE                   = 0x92C3;
155    public static final int GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS            = 0x92CC;
156    public static final int GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS          = 0x92D0;
157    public static final int GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS          = 0x92D1;
158    public static final int GL_MAX_VERTEX_ATOMIC_COUNTERS                   = 0x92D2;
159    public static final int GL_MAX_FRAGMENT_ATOMIC_COUNTERS                 = 0x92D6;
160    public static final int GL_MAX_COMBINED_ATOMIC_COUNTERS                 = 0x92D7;
161    public static final int GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE               = 0x92D8;
162    public static final int GL_ACTIVE_ATOMIC_COUNTER_BUFFERS                = 0x92D9;
163    public static final int GL_UNSIGNED_INT_ATOMIC_COUNTER                  = 0x92DB;
164    public static final int GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS           = 0x92DC;
165    public static final int GL_UNIFORM                                      = 0x92E1;
166    public static final int GL_UNIFORM_BLOCK                                = 0x92E2;
167    public static final int GL_PROGRAM_INPUT                                = 0x92E3;
168    public static final int GL_PROGRAM_OUTPUT                               = 0x92E4;
169    public static final int GL_BUFFER_VARIABLE                              = 0x92E5;
170    public static final int GL_SHADER_STORAGE_BLOCK                         = 0x92E6;
171    public static final int GL_TRANSFORM_FEEDBACK_VARYING                   = 0x92F4;
172    public static final int GL_ACTIVE_RESOURCES                             = 0x92F5;
173    public static final int GL_MAX_NAME_LENGTH                              = 0x92F6;
174    public static final int GL_MAX_NUM_ACTIVE_VARIABLES                     = 0x92F7;
175    public static final int GL_NAME_LENGTH                                  = 0x92F9;
176    public static final int GL_TYPE                                         = 0x92FA;
177    public static final int GL_ARRAY_SIZE                                   = 0x92FB;
178    public static final int GL_OFFSET                                       = 0x92FC;
179    public static final int GL_BLOCK_INDEX                                  = 0x92FD;
180    public static final int GL_ARRAY_STRIDE                                 = 0x92FE;
181    public static final int GL_MATRIX_STRIDE                                = 0x92FF;
182    public static final int GL_IS_ROW_MAJOR                                 = 0x9300;
183    public static final int GL_ATOMIC_COUNTER_BUFFER_INDEX                  = 0x9301;
184    public static final int GL_BUFFER_BINDING                               = 0x9302;
185    public static final int GL_BUFFER_DATA_SIZE                             = 0x9303;
186    public static final int GL_NUM_ACTIVE_VARIABLES                         = 0x9304;
187    public static final int GL_ACTIVE_VARIABLES                             = 0x9305;
188    public static final int GL_REFERENCED_BY_VERTEX_SHADER                  = 0x9306;
189    public static final int GL_REFERENCED_BY_FRAGMENT_SHADER                = 0x930A;
190    public static final int GL_REFERENCED_BY_COMPUTE_SHADER                 = 0x930B;
191    public static final int GL_TOP_LEVEL_ARRAY_SIZE                         = 0x930C;
192    public static final int GL_TOP_LEVEL_ARRAY_STRIDE                       = 0x930D;
193    public static final int GL_LOCATION                                     = 0x930E;
194    public static final int GL_FRAMEBUFFER_DEFAULT_WIDTH                    = 0x9310;
195    public static final int GL_FRAMEBUFFER_DEFAULT_HEIGHT                   = 0x9311;
196    public static final int GL_FRAMEBUFFER_DEFAULT_SAMPLES                  = 0x9313;
197    public static final int GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS   = 0x9314;
198    public static final int GL_MAX_FRAMEBUFFER_WIDTH                        = 0x9315;
199    public static final int GL_MAX_FRAMEBUFFER_HEIGHT                       = 0x9316;
200    public static final int GL_MAX_FRAMEBUFFER_SAMPLES                      = 0x9318;
201
202    native private static void _nativeClassInit();
203    static {
204        _nativeClassInit();
205    }
206
207    /** @hide */
208    GLES31() {}
209    // C function void glDispatchCompute ( GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z )
210
211    public static native void glDispatchCompute(
212        int num_groups_x,
213        int num_groups_y,
214        int num_groups_z
215    );
216
217    // C function void glDispatchComputeIndirect ( GLintptr indirect );
218
219    public static native void glDispatchComputeIndirect(long indirect);
220
221    // C function void glDrawArraysIndirect ( GLenum mode, const void *indirect );
222
223    public static native void glDrawArraysIndirect(int mode, long indirect);
224
225    // C function glDrawElementsIndirect ( GLenum mode, GLenum type, const void *indirect );
226
227    public static native void glDrawElementsIndirect(int mode, int type, long indirect);
228
229    // C function void glFramebufferParameteri ( GLenum target, GLenum pname, GLint param )
230
231    public static native void glFramebufferParameteri(
232        int target,
233        int pname,
234        int param
235    );
236
237    // C function void glGetFramebufferParameteriv ( GLenum target, GLenum pname, GLint *params )
238
239    public static native void glGetFramebufferParameteriv(
240        int target,
241        int pname,
242        int[] params,
243        int offset
244    );
245
246    // C function void glGetFramebufferParameteriv ( GLenum target, GLenum pname, GLint *params )
247
248    public static native void glGetFramebufferParameteriv(
249        int target,
250        int pname,
251        java.nio.IntBuffer params
252    );
253
254    // C function void glGetProgramInterfaceiv ( GLuint program, GLenum programInterface, GLenum pname, GLint *params )
255
256    public static native void glGetProgramInterfaceiv(
257        int program,
258        int programInterface,
259        int pname,
260        int[] params,
261        int offset
262    );
263
264    // C function void glGetProgramInterfaceiv ( GLuint program, GLenum programInterface, GLenum pname, GLint *params )
265
266    public static native void glGetProgramInterfaceiv(
267        int program,
268        int programInterface,
269        int pname,
270        java.nio.IntBuffer params
271    );
272
273    // C function GLuint glGetProgramResourceIndex ( GLuint program, GLenum programInterface, const GLchar *name )
274
275    public static native int glGetProgramResourceIndex(
276        int program,
277        int programInterface,
278        String name
279    );
280
281    // C function void glGetProgramResourceName ( GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name )
282
283    public static native String glGetProgramResourceName(
284        int program,
285        int programInterface,
286        int index
287    );
288
289    // C function void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params )
290
291    public static native void glGetProgramResourceiv(
292        int program,
293        int programInterface,
294        int index,
295        int propCount,
296        int[] props,
297        int propsOffset,
298        int bufSize,
299        int[] length,
300        int lengthOffset,
301        int[] params,
302        int paramsOffset
303    );
304
305    // C function void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params )
306
307    public static native void glGetProgramResourceiv(
308        int program,
309        int programInterface,
310        int index,
311        int propCount,
312        java.nio.IntBuffer props,
313        int bufSize,
314        java.nio.IntBuffer length,
315        java.nio.IntBuffer params
316    );
317
318    // C function GLint glGetProgramResourceLocation ( GLuint program, GLenum programInterface, const GLchar *name )
319
320    public static native int glGetProgramResourceLocation(
321        int program,
322        int programInterface,
323        String name
324    );
325
326    // C function void glUseProgramStages ( GLuint pipeline, GLbitfield stages, GLuint program )
327
328    public static native void glUseProgramStages(
329        int pipeline,
330        int stages,
331        int program
332    );
333
334    // C function void glActiveShaderProgram ( GLuint pipeline, GLuint program )
335
336    public static native void glActiveShaderProgram(
337        int pipeline,
338        int program
339    );
340
341    // C function GLuint glCreateShaderProgramv ( GLenum type, GLsizei count, const GLchar *const *strings )
342
343    public static native int glCreateShaderProgramv(
344        int type,
345        String[] strings
346    );
347
348    // C function void glBindProgramPipeline ( GLuint pipeline )
349
350    public static native void glBindProgramPipeline(
351        int pipeline
352    );
353
354    // C function void glDeleteProgramPipelines ( GLsizei n, const GLuint *pipelines )
355
356    public static native void glDeleteProgramPipelines(
357        int n,
358        int[] pipelines,
359        int offset
360    );
361
362    // C function void glDeleteProgramPipelines ( GLsizei n, const GLuint *pipelines )
363
364    public static native void glDeleteProgramPipelines(
365        int n,
366        java.nio.IntBuffer pipelines
367    );
368
369    // C function void glGenProgramPipelines ( GLsizei n, GLuint *pipelines )
370
371    public static native void glGenProgramPipelines(
372        int n,
373        int[] pipelines,
374        int offset
375    );
376
377    // C function void glGenProgramPipelines ( GLsizei n, GLuint *pipelines )
378
379    public static native void glGenProgramPipelines(
380        int n,
381        java.nio.IntBuffer pipelines
382    );
383
384    // C function GLboolean glIsProgramPipeline ( GLuint pipeline )
385
386    public static native boolean glIsProgramPipeline(
387        int pipeline
388    );
389
390    // C function void glGetProgramPipelineiv ( GLuint pipeline, GLenum pname, GLint *params )
391
392    public static native void glGetProgramPipelineiv(
393        int pipeline,
394        int pname,
395        int[] params,
396        int offset
397    );
398
399    // C function void glGetProgramPipelineiv ( GLuint pipeline, GLenum pname, GLint *params )
400
401    public static native void glGetProgramPipelineiv(
402        int pipeline,
403        int pname,
404        java.nio.IntBuffer params
405    );
406
407    // C function void glProgramUniform1i ( GLuint program, GLint location, GLint v0 )
408
409    public static native void glProgramUniform1i(
410        int program,
411        int location,
412        int v0
413    );
414
415    // C function void glProgramUniform2i ( GLuint program, GLint location, GLint v0, GLint v1 )
416
417    public static native void glProgramUniform2i(
418        int program,
419        int location,
420        int v0,
421        int v1
422    );
423
424    // C function void glProgramUniform3i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 )
425
426    public static native void glProgramUniform3i(
427        int program,
428        int location,
429        int v0,
430        int v1,
431        int v2
432    );
433
434    // C function void glProgramUniform4i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 )
435
436    public static native void glProgramUniform4i(
437        int program,
438        int location,
439        int v0,
440        int v1,
441        int v2,
442        int v3
443    );
444
445    // C function void glProgramUniform1ui ( GLuint program, GLint location, GLuint v0 )
446
447    public static native void glProgramUniform1ui(
448        int program,
449        int location,
450        int v0
451    );
452
453    // C function void glProgramUniform2ui ( GLuint program, GLint location, GLuint v0, GLuint v1 )
454
455    public static native void glProgramUniform2ui(
456        int program,
457        int location,
458        int v0,
459        int v1
460    );
461
462    // C function void glProgramUniform3ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2 )
463
464    public static native void glProgramUniform3ui(
465        int program,
466        int location,
467        int v0,
468        int v1,
469        int v2
470    );
471
472    // C function void glProgramUniform4ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 )
473
474    public static native void glProgramUniform4ui(
475        int program,
476        int location,
477        int v0,
478        int v1,
479        int v2,
480        int v3
481    );
482
483    // C function void glProgramUniform1f ( GLuint program, GLint location, GLfloat v0 )
484
485    public static native void glProgramUniform1f(
486        int program,
487        int location,
488        float v0
489    );
490
491    // C function void glProgramUniform2f ( GLuint program, GLint location, GLfloat v0, GLfloat v1 )
492
493    public static native void glProgramUniform2f(
494        int program,
495        int location,
496        float v0,
497        float v1
498    );
499
500    // C function void glProgramUniform3f ( GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2 )
501
502    public static native void glProgramUniform3f(
503        int program,
504        int location,
505        float v0,
506        float v1,
507        float v2
508    );
509
510    // C function void glProgramUniform4f ( GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3 )
511
512    public static native void glProgramUniform4f(
513        int program,
514        int location,
515        float v0,
516        float v1,
517        float v2,
518        float v3
519    );
520
521    // C function void glProgramUniform1iv ( GLuint program, GLint location, GLsizei count, const GLint *value )
522
523    public static native void glProgramUniform1iv(
524        int program,
525        int location,
526        int count,
527        int[] value,
528        int offset
529    );
530
531    // C function void glProgramUniform1iv ( GLuint program, GLint location, GLsizei count, const GLint *value )
532
533    public static native void glProgramUniform1iv(
534        int program,
535        int location,
536        int count,
537        java.nio.IntBuffer value
538    );
539
540    // C function void glProgramUniform2iv ( GLuint program, GLint location, GLsizei count, const GLint *value )
541
542    public static native void glProgramUniform2iv(
543        int program,
544        int location,
545        int count,
546        int[] value,
547        int offset
548    );
549
550    // C function void glProgramUniform2iv ( GLuint program, GLint location, GLsizei count, const GLint *value )
551
552    public static native void glProgramUniform2iv(
553        int program,
554        int location,
555        int count,
556        java.nio.IntBuffer value
557    );
558
559    // C function void glProgramUniform3iv ( GLuint program, GLint location, GLsizei count, const GLint *value )
560
561    public static native void glProgramUniform3iv(
562        int program,
563        int location,
564        int count,
565        int[] value,
566        int offset
567    );
568
569    // C function void glProgramUniform3iv ( GLuint program, GLint location, GLsizei count, const GLint *value )
570
571    public static native void glProgramUniform3iv(
572        int program,
573        int location,
574        int count,
575        java.nio.IntBuffer value
576    );
577
578    // C function void glProgramUniform4iv ( GLuint program, GLint location, GLsizei count, const GLint *value )
579
580    public static native void glProgramUniform4iv(
581        int program,
582        int location,
583        int count,
584        int[] value,
585        int offset
586    );
587
588    // C function void glProgramUniform4iv ( GLuint program, GLint location, GLsizei count, const GLint *value )
589
590    public static native void glProgramUniform4iv(
591        int program,
592        int location,
593        int count,
594        java.nio.IntBuffer value
595    );
596
597    // C function void glProgramUniform1uiv ( GLuint program, GLint location, GLsizei count, const GLuint *value )
598
599    public static native void glProgramUniform1uiv(
600        int program,
601        int location,
602        int count,
603        int[] value,
604        int offset
605    );
606
607    // C function void glProgramUniform1uiv ( GLuint program, GLint location, GLsizei count, const GLuint *value )
608
609    public static native void glProgramUniform1uiv(
610        int program,
611        int location,
612        int count,
613        java.nio.IntBuffer value
614    );
615
616    // C function void glProgramUniform2uiv ( GLuint program, GLint location, GLsizei count, const GLuint *value )
617
618    public static native void glProgramUniform2uiv(
619        int program,
620        int location,
621        int count,
622        int[] value,
623        int offset
624    );
625
626    // C function void glProgramUniform2uiv ( GLuint program, GLint location, GLsizei count, const GLuint *value )
627
628    public static native void glProgramUniform2uiv(
629        int program,
630        int location,
631        int count,
632        java.nio.IntBuffer value
633    );
634
635    // C function void glProgramUniform3uiv ( GLuint program, GLint location, GLsizei count, const GLuint *value )
636
637    public static native void glProgramUniform3uiv(
638        int program,
639        int location,
640        int count,
641        int[] value,
642        int offset
643    );
644
645    // C function void glProgramUniform3uiv ( GLuint program, GLint location, GLsizei count, const GLuint *value )
646
647    public static native void glProgramUniform3uiv(
648        int program,
649        int location,
650        int count,
651        java.nio.IntBuffer value
652    );
653
654    // C function void glProgramUniform4uiv ( GLuint program, GLint location, GLsizei count, const GLuint *value )
655
656    public static native void glProgramUniform4uiv(
657        int program,
658        int location,
659        int count,
660        int[] value,
661        int offset
662    );
663
664    // C function void glProgramUniform4uiv ( GLuint program, GLint location, GLsizei count, const GLuint *value )
665
666    public static native void glProgramUniform4uiv(
667        int program,
668        int location,
669        int count,
670        java.nio.IntBuffer value
671    );
672
673    // C function void glProgramUniform1fv ( GLuint program, GLint location, GLsizei count, const GLfloat *value )
674
675    public static native void glProgramUniform1fv(
676        int program,
677        int location,
678        int count,
679        float[] value,
680        int offset
681    );
682
683    // C function void glProgramUniform1fv ( GLuint program, GLint location, GLsizei count, const GLfloat *value )
684
685    public static native void glProgramUniform1fv(
686        int program,
687        int location,
688        int count,
689        java.nio.FloatBuffer value
690    );
691
692    // C function void glProgramUniform2fv ( GLuint program, GLint location, GLsizei count, const GLfloat *value )
693
694    public static native void glProgramUniform2fv(
695        int program,
696        int location,
697        int count,
698        float[] value,
699        int offset
700    );
701
702    // C function void glProgramUniform2fv ( GLuint program, GLint location, GLsizei count, const GLfloat *value )
703
704    public static native void glProgramUniform2fv(
705        int program,
706        int location,
707        int count,
708        java.nio.FloatBuffer value
709    );
710
711    // C function void glProgramUniform3fv ( GLuint program, GLint location, GLsizei count, const GLfloat *value )
712
713    public static native void glProgramUniform3fv(
714        int program,
715        int location,
716        int count,
717        float[] value,
718        int offset
719    );
720
721    // C function void glProgramUniform3fv ( GLuint program, GLint location, GLsizei count, const GLfloat *value )
722
723    public static native void glProgramUniform3fv(
724        int program,
725        int location,
726        int count,
727        java.nio.FloatBuffer value
728    );
729
730    // C function void glProgramUniform4fv ( GLuint program, GLint location, GLsizei count, const GLfloat *value )
731
732    public static native void glProgramUniform4fv(
733        int program,
734        int location,
735        int count,
736        float[] value,
737        int offset
738    );
739
740    // C function void glProgramUniform4fv ( GLuint program, GLint location, GLsizei count, const GLfloat *value )
741
742    public static native void glProgramUniform4fv(
743        int program,
744        int location,
745        int count,
746        java.nio.FloatBuffer value
747    );
748
749    // C function void glProgramUniformMatrix2fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
750
751    public static native void glProgramUniformMatrix2fv(
752        int program,
753        int location,
754        int count,
755        boolean transpose,
756        float[] value,
757        int offset
758    );
759
760    // C function void glProgramUniformMatrix2fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
761
762    public static native void glProgramUniformMatrix2fv(
763        int program,
764        int location,
765        int count,
766        boolean transpose,
767        java.nio.FloatBuffer value
768    );
769
770    // C function void glProgramUniformMatrix3fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
771
772    public static native void glProgramUniformMatrix3fv(
773        int program,
774        int location,
775        int count,
776        boolean transpose,
777        float[] value,
778        int offset
779    );
780
781    // C function void glProgramUniformMatrix3fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
782
783    public static native void glProgramUniformMatrix3fv(
784        int program,
785        int location,
786        int count,
787        boolean transpose,
788        java.nio.FloatBuffer value
789    );
790
791    // C function void glProgramUniformMatrix4fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
792
793    public static native void glProgramUniformMatrix4fv(
794        int program,
795        int location,
796        int count,
797        boolean transpose,
798        float[] value,
799        int offset
800    );
801
802    // C function void glProgramUniformMatrix4fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
803
804    public static native void glProgramUniformMatrix4fv(
805        int program,
806        int location,
807        int count,
808        boolean transpose,
809        java.nio.FloatBuffer value
810    );
811
812    // C function void glProgramUniformMatrix2x3fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
813
814    public static native void glProgramUniformMatrix2x3fv(
815        int program,
816        int location,
817        int count,
818        boolean transpose,
819        float[] value,
820        int offset
821    );
822
823    // C function void glProgramUniformMatrix2x3fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
824
825    public static native void glProgramUniformMatrix2x3fv(
826        int program,
827        int location,
828        int count,
829        boolean transpose,
830        java.nio.FloatBuffer value
831    );
832
833    // C function void glProgramUniformMatrix3x2fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
834
835    public static native void glProgramUniformMatrix3x2fv(
836        int program,
837        int location,
838        int count,
839        boolean transpose,
840        float[] value,
841        int offset
842    );
843
844    // C function void glProgramUniformMatrix3x2fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
845
846    public static native void glProgramUniformMatrix3x2fv(
847        int program,
848        int location,
849        int count,
850        boolean transpose,
851        java.nio.FloatBuffer value
852    );
853
854    // C function void glProgramUniformMatrix2x4fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
855
856    public static native void glProgramUniformMatrix2x4fv(
857        int program,
858        int location,
859        int count,
860        boolean transpose,
861        float[] value,
862        int offset
863    );
864
865    // C function void glProgramUniformMatrix2x4fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
866
867    public static native void glProgramUniformMatrix2x4fv(
868        int program,
869        int location,
870        int count,
871        boolean transpose,
872        java.nio.FloatBuffer value
873    );
874
875    // C function void glProgramUniformMatrix4x2fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
876
877    public static native void glProgramUniformMatrix4x2fv(
878        int program,
879        int location,
880        int count,
881        boolean transpose,
882        float[] value,
883        int offset
884    );
885
886    // C function void glProgramUniformMatrix4x2fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
887
888    public static native void glProgramUniformMatrix4x2fv(
889        int program,
890        int location,
891        int count,
892        boolean transpose,
893        java.nio.FloatBuffer value
894    );
895
896    // C function void glProgramUniformMatrix3x4fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
897
898    public static native void glProgramUniformMatrix3x4fv(
899        int program,
900        int location,
901        int count,
902        boolean transpose,
903        float[] value,
904        int offset
905    );
906
907    // C function void glProgramUniformMatrix3x4fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
908
909    public static native void glProgramUniformMatrix3x4fv(
910        int program,
911        int location,
912        int count,
913        boolean transpose,
914        java.nio.FloatBuffer value
915    );
916
917    // C function void glProgramUniformMatrix4x3fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
918
919    public static native void glProgramUniformMatrix4x3fv(
920        int program,
921        int location,
922        int count,
923        boolean transpose,
924        float[] value,
925        int offset
926    );
927
928    // C function void glProgramUniformMatrix4x3fv ( GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
929
930    public static native void glProgramUniformMatrix4x3fv(
931        int program,
932        int location,
933        int count,
934        boolean transpose,
935        java.nio.FloatBuffer value
936    );
937
938    // C function void glValidateProgramPipeline ( GLuint pipeline )
939
940    public static native void glValidateProgramPipeline(
941        int pipeline
942    );
943
944    // C function void glGetProgramPipelineInfoLog( GLuint program, GLsizei maxLength, GLsizei * length, GLchar * infoLog);
945
946    public static native String glGetProgramPipelineInfoLog(
947        int program
948    );
949
950    // C function void glBindImageTexture ( GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format )
951
952    public static native void glBindImageTexture(
953        int unit,
954        int texture,
955        int level,
956        boolean layered,
957        int layer,
958        int access,
959        int format
960    );
961
962    // C function void glGetBooleani_v ( GLenum target, GLuint index, GLboolean *data )
963
964    public static native void glGetBooleani_v(
965        int target,
966        int index,
967        boolean[] data,
968        int offset
969    );
970
971    // C function void glGetBooleani_v ( GLenum target, GLuint index, GLboolean *data )
972
973    public static native void glGetBooleani_v(
974        int target,
975        int index,
976        java.nio.IntBuffer data
977    );
978
979    // C function void glMemoryBarrier ( GLbitfield barriers )
980
981    public static native void glMemoryBarrier(
982        int barriers
983    );
984
985    // C function void glMemoryBarrierByRegion ( GLbitfield barriers )
986
987    public static native void glMemoryBarrierByRegion(
988        int barriers
989    );
990
991    // C function void glTexStorage2DMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations )
992
993    public static native void glTexStorage2DMultisample(
994        int target,
995        int samples,
996        int internalformat,
997        int width,
998        int height,
999        boolean fixedsamplelocations
1000    );
1001
1002    // C function void glGetMultisamplefv ( GLenum pname, GLuint index, GLfloat *val )
1003
1004    public static native void glGetMultisamplefv(
1005        int pname,
1006        int index,
1007        float[] val,
1008        int offset
1009    );
1010
1011    // C function void glGetMultisamplefv ( GLenum pname, GLuint index, GLfloat *val )
1012
1013    public static native void glGetMultisamplefv(
1014        int pname,
1015        int index,
1016        java.nio.FloatBuffer val
1017    );
1018
1019    // C function void glSampleMaski ( GLuint maskNumber, GLbitfield mask )
1020
1021    public static native void glSampleMaski(
1022        int maskNumber,
1023        int mask
1024    );
1025
1026    // C function void glGetTexLevelParameteriv ( GLenum target, GLint level, GLenum pname, GLint *params )
1027
1028    public static native void glGetTexLevelParameteriv(
1029        int target,
1030        int level,
1031        int pname,
1032        int[] params,
1033        int offset
1034    );
1035
1036    // C function void glGetTexLevelParameteriv ( GLenum target, GLint level, GLenum pname, GLint *params )
1037
1038    public static native void glGetTexLevelParameteriv(
1039        int target,
1040        int level,
1041        int pname,
1042        java.nio.IntBuffer params
1043    );
1044
1045    // C function void glGetTexLevelParameterfv ( GLenum target, GLint level, GLenum pname, GLfloat *params )
1046
1047    public static native void glGetTexLevelParameterfv(
1048        int target,
1049        int level,
1050        int pname,
1051        float[] params,
1052        int offset
1053    );
1054
1055    // C function void glGetTexLevelParameterfv ( GLenum target, GLint level, GLenum pname, GLfloat *params )
1056
1057    public static native void glGetTexLevelParameterfv(
1058        int target,
1059        int level,
1060        int pname,
1061        java.nio.FloatBuffer params
1062    );
1063
1064    // C function void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride )
1065
1066    public static native void glBindVertexBuffer(
1067        int bindingindex,
1068        int buffer,
1069        long offset,
1070        int stride
1071    );
1072
1073    // C function void glVertexAttribFormat ( GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset )
1074
1075    public static native void glVertexAttribFormat(
1076        int attribindex,
1077        int size,
1078        int type,
1079        boolean normalized,
1080        int relativeoffset
1081    );
1082
1083    // C function void glVertexAttribIFormat ( GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset )
1084
1085    public static native void glVertexAttribIFormat(
1086        int attribindex,
1087        int size,
1088        int type,
1089        int relativeoffset
1090    );
1091
1092    // C function void glVertexAttribBinding ( GLuint attribindex, GLuint bindingindex )
1093
1094    public static native void glVertexAttribBinding(
1095        int attribindex,
1096        int bindingindex
1097    );
1098
1099    // C function void glVertexBindingDivisor ( GLuint bindingindex, GLuint divisor )
1100
1101    public static native void glVertexBindingDivisor(
1102        int bindingindex,
1103        int divisor
1104    );
1105
1106}
1107