• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 **
3 ** Copyright 2009, The Android Open Source Project
4 **
5 ** Licensed under the Apache License, Version 2.0 (the "License");
6 ** you may not use this file except in compliance with the License.
7 ** You may obtain a copy of the License at
8 **
9 **     http://www.apache.org/licenses/LICENSE-2.0
10 **
11 ** Unless required by applicable law or agreed to in writing, software
12 ** distributed under the License is distributed on an "AS IS" BASIS,
13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ** See the License for the specific language governing permissions and
15 ** limitations under the License.
16 */
17 
18 // This source file is automatically generated
19 
20 package android.opengl;
21 
22 import android.compat.annotation.UnsupportedAppUsage;
23 
24 /** OpenGL ES 2.0
25  */
26 public class GLES20 {
27     public static final int GL_ACTIVE_TEXTURE                          = 0x84E0;
28     public static final int GL_DEPTH_BUFFER_BIT                        = 0x00000100;
29     public static final int GL_STENCIL_BUFFER_BIT                      = 0x00000400;
30     public static final int GL_COLOR_BUFFER_BIT                        = 0x00004000;
31     public static final int GL_FALSE                                   = 0;
32     public static final int GL_TRUE                                    = 1;
33     public static final int GL_POINTS                                  = 0x0000;
34     public static final int GL_LINES                                   = 0x0001;
35     public static final int GL_LINE_LOOP                               = 0x0002;
36     public static final int GL_LINE_STRIP                              = 0x0003;
37     public static final int GL_TRIANGLES                               = 0x0004;
38     public static final int GL_TRIANGLE_STRIP                          = 0x0005;
39     public static final int GL_TRIANGLE_FAN                            = 0x0006;
40     public static final int GL_ZERO                                    = 0;
41     public static final int GL_ONE                                     = 1;
42     public static final int GL_SRC_COLOR                               = 0x0300;
43     public static final int GL_ONE_MINUS_SRC_COLOR                     = 0x0301;
44     public static final int GL_SRC_ALPHA                               = 0x0302;
45     public static final int GL_ONE_MINUS_SRC_ALPHA                     = 0x0303;
46     public static final int GL_DST_ALPHA                               = 0x0304;
47     public static final int GL_ONE_MINUS_DST_ALPHA                     = 0x0305;
48     public static final int GL_DST_COLOR                               = 0x0306;
49     public static final int GL_ONE_MINUS_DST_COLOR                     = 0x0307;
50     public static final int GL_SRC_ALPHA_SATURATE                      = 0x0308;
51     public static final int GL_FUNC_ADD                                = 0x8006;
52     public static final int GL_BLEND_EQUATION                          = 0x8009;
53     public static final int GL_BLEND_EQUATION_RGB                      = 0x8009;   /* same as BLEND_EQUATION */
54     public static final int GL_BLEND_EQUATION_ALPHA                    = 0x883D;
55     public static final int GL_FUNC_SUBTRACT                           = 0x800A;
56     public static final int GL_FUNC_REVERSE_SUBTRACT                   = 0x800B;
57     public static final int GL_BLEND_DST_RGB                           = 0x80C8;
58     public static final int GL_BLEND_SRC_RGB                           = 0x80C9;
59     public static final int GL_BLEND_DST_ALPHA                         = 0x80CA;
60     public static final int GL_BLEND_SRC_ALPHA                         = 0x80CB;
61     public static final int GL_CONSTANT_COLOR                          = 0x8001;
62     public static final int GL_ONE_MINUS_CONSTANT_COLOR                = 0x8002;
63     public static final int GL_CONSTANT_ALPHA                          = 0x8003;
64     public static final int GL_ONE_MINUS_CONSTANT_ALPHA                = 0x8004;
65     public static final int GL_BLEND_COLOR                             = 0x8005;
66     public static final int GL_ARRAY_BUFFER                            = 0x8892;
67     public static final int GL_ELEMENT_ARRAY_BUFFER                    = 0x8893;
68     public static final int GL_ARRAY_BUFFER_BINDING                    = 0x8894;
69     public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING            = 0x8895;
70     public static final int GL_STREAM_DRAW                             = 0x88E0;
71     public static final int GL_STATIC_DRAW                             = 0x88E4;
72     public static final int GL_DYNAMIC_DRAW                            = 0x88E8;
73     public static final int GL_BUFFER_SIZE                             = 0x8764;
74     public static final int GL_BUFFER_USAGE                            = 0x8765;
75     public static final int GL_CURRENT_VERTEX_ATTRIB                   = 0x8626;
76     public static final int GL_FRONT                                   = 0x0404;
77     public static final int GL_BACK                                    = 0x0405;
78     public static final int GL_FRONT_AND_BACK                          = 0x0408;
79     public static final int GL_TEXTURE_2D                              = 0x0DE1;
80     public static final int GL_CULL_FACE                               = 0x0B44;
81     public static final int GL_BLEND                                   = 0x0BE2;
82     public static final int GL_DITHER                                  = 0x0BD0;
83     public static final int GL_STENCIL_TEST                            = 0x0B90;
84     public static final int GL_DEPTH_TEST                              = 0x0B71;
85     public static final int GL_SCISSOR_TEST                            = 0x0C11;
86     public static final int GL_POLYGON_OFFSET_FILL                     = 0x8037;
87     public static final int GL_SAMPLE_ALPHA_TO_COVERAGE                = 0x809E;
88     public static final int GL_SAMPLE_COVERAGE                         = 0x80A0;
89     public static final int GL_NO_ERROR                                = 0;
90     public static final int GL_INVALID_ENUM                            = 0x0500;
91     public static final int GL_INVALID_VALUE                           = 0x0501;
92     public static final int GL_INVALID_OPERATION                       = 0x0502;
93     public static final int GL_OUT_OF_MEMORY                           = 0x0505;
94     public static final int GL_CW                                      = 0x0900;
95     public static final int GL_CCW                                     = 0x0901;
96     public static final int GL_LINE_WIDTH                              = 0x0B21;
97     public static final int GL_ALIASED_POINT_SIZE_RANGE                = 0x846D;
98     public static final int GL_ALIASED_LINE_WIDTH_RANGE                = 0x846E;
99     public static final int GL_CULL_FACE_MODE                          = 0x0B45;
100     public static final int GL_FRONT_FACE                              = 0x0B46;
101     public static final int GL_DEPTH_RANGE                             = 0x0B70;
102     public static final int GL_DEPTH_WRITEMASK                         = 0x0B72;
103     public static final int GL_DEPTH_CLEAR_VALUE                       = 0x0B73;
104     public static final int GL_DEPTH_FUNC                              = 0x0B74;
105     public static final int GL_STENCIL_CLEAR_VALUE                     = 0x0B91;
106     public static final int GL_STENCIL_FUNC                            = 0x0B92;
107     public static final int GL_STENCIL_FAIL                            = 0x0B94;
108     public static final int GL_STENCIL_PASS_DEPTH_FAIL                 = 0x0B95;
109     public static final int GL_STENCIL_PASS_DEPTH_PASS                 = 0x0B96;
110     public static final int GL_STENCIL_REF                             = 0x0B97;
111     public static final int GL_STENCIL_VALUE_MASK                      = 0x0B93;
112     public static final int GL_STENCIL_WRITEMASK                       = 0x0B98;
113     public static final int GL_STENCIL_BACK_FUNC                       = 0x8800;
114     public static final int GL_STENCIL_BACK_FAIL                       = 0x8801;
115     public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL            = 0x8802;
116     public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS            = 0x8803;
117     public static final int GL_STENCIL_BACK_REF                        = 0x8CA3;
118     public static final int GL_STENCIL_BACK_VALUE_MASK                 = 0x8CA4;
119     public static final int GL_STENCIL_BACK_WRITEMASK                  = 0x8CA5;
120     public static final int GL_VIEWPORT                                = 0x0BA2;
121     public static final int GL_SCISSOR_BOX                             = 0x0C10;
122     public static final int GL_COLOR_CLEAR_VALUE                       = 0x0C22;
123     public static final int GL_COLOR_WRITEMASK                         = 0x0C23;
124     public static final int GL_UNPACK_ALIGNMENT                        = 0x0CF5;
125     public static final int GL_PACK_ALIGNMENT                          = 0x0D05;
126     public static final int GL_MAX_TEXTURE_SIZE                        = 0x0D33;
127     public static final int GL_MAX_VIEWPORT_DIMS                       = 0x0D3A;
128     public static final int GL_SUBPIXEL_BITS                           = 0x0D50;
129     public static final int GL_RED_BITS                                = 0x0D52;
130     public static final int GL_GREEN_BITS                              = 0x0D53;
131     public static final int GL_BLUE_BITS                               = 0x0D54;
132     public static final int GL_ALPHA_BITS                              = 0x0D55;
133     public static final int GL_DEPTH_BITS                              = 0x0D56;
134     public static final int GL_STENCIL_BITS                            = 0x0D57;
135     public static final int GL_POLYGON_OFFSET_UNITS                    = 0x2A00;
136     public static final int GL_POLYGON_OFFSET_FACTOR                   = 0x8038;
137     public static final int GL_TEXTURE_BINDING_2D                      = 0x8069;
138     public static final int GL_SAMPLE_BUFFERS                          = 0x80A8;
139     public static final int GL_SAMPLES                                 = 0x80A9;
140     public static final int GL_SAMPLE_COVERAGE_VALUE                   = 0x80AA;
141     public static final int GL_SAMPLE_COVERAGE_INVERT                  = 0x80AB;
142     public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS          = 0x86A2;
143     public static final int GL_COMPRESSED_TEXTURE_FORMATS              = 0x86A3;
144     public static final int GL_DONT_CARE                               = 0x1100;
145     public static final int GL_FASTEST                                 = 0x1101;
146     public static final int GL_NICEST                                  = 0x1102;
147     public static final int GL_GENERATE_MIPMAP_HINT                    = 0x8192;
148     public static final int GL_BYTE                                    = 0x1400;
149     public static final int GL_UNSIGNED_BYTE                           = 0x1401;
150     public static final int GL_SHORT                                   = 0x1402;
151     public static final int GL_UNSIGNED_SHORT                          = 0x1403;
152     public static final int GL_INT                                     = 0x1404;
153     public static final int GL_UNSIGNED_INT                            = 0x1405;
154     public static final int GL_FLOAT                                   = 0x1406;
155     public static final int GL_FIXED                                   = 0x140C;
156     public static final int GL_DEPTH_COMPONENT                         = 0x1902;
157     public static final int GL_ALPHA                                   = 0x1906;
158     public static final int GL_RGB                                     = 0x1907;
159     public static final int GL_RGBA                                    = 0x1908;
160     public static final int GL_LUMINANCE                               = 0x1909;
161     public static final int GL_LUMINANCE_ALPHA                         = 0x190A;
162     public static final int GL_UNSIGNED_SHORT_4_4_4_4                  = 0x8033;
163     public static final int GL_UNSIGNED_SHORT_5_5_5_1                  = 0x8034;
164     public static final int GL_UNSIGNED_SHORT_5_6_5                    = 0x8363;
165     public static final int GL_FRAGMENT_SHADER                           = 0x8B30;
166     public static final int GL_VERTEX_SHADER                             = 0x8B31;
167     public static final int GL_MAX_VERTEX_ATTRIBS                        = 0x8869;
168     public static final int GL_MAX_VERTEX_UNIFORM_VECTORS                = 0x8DFB;
169     public static final int GL_MAX_VARYING_VECTORS                       = 0x8DFC;
170     public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS          = 0x8B4D;
171     public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS            = 0x8B4C;
172     public static final int GL_MAX_TEXTURE_IMAGE_UNITS                   = 0x8872;
173     public static final int GL_MAX_FRAGMENT_UNIFORM_VECTORS              = 0x8DFD;
174     public static final int GL_SHADER_TYPE                               = 0x8B4F;
175     public static final int GL_DELETE_STATUS                             = 0x8B80;
176     public static final int GL_LINK_STATUS                               = 0x8B82;
177     public static final int GL_VALIDATE_STATUS                           = 0x8B83;
178     public static final int GL_ATTACHED_SHADERS                          = 0x8B85;
179     public static final int GL_ACTIVE_UNIFORMS                           = 0x8B86;
180     public static final int GL_ACTIVE_UNIFORM_MAX_LENGTH                 = 0x8B87;
181     public static final int GL_ACTIVE_ATTRIBUTES                         = 0x8B89;
182     public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH               = 0x8B8A;
183     public static final int GL_SHADING_LANGUAGE_VERSION                  = 0x8B8C;
184     public static final int GL_CURRENT_PROGRAM                           = 0x8B8D;
185     public static final int GL_NEVER                                   = 0x0200;
186     public static final int GL_LESS                                    = 0x0201;
187     public static final int GL_EQUAL                                   = 0x0202;
188     public static final int GL_LEQUAL                                  = 0x0203;
189     public static final int GL_GREATER                                 = 0x0204;
190     public static final int GL_NOTEQUAL                                = 0x0205;
191     public static final int GL_GEQUAL                                  = 0x0206;
192     public static final int GL_ALWAYS                                  = 0x0207;
193     public static final int GL_KEEP                                    = 0x1E00;
194     public static final int GL_REPLACE                                 = 0x1E01;
195     public static final int GL_INCR                                    = 0x1E02;
196     public static final int GL_DECR                                    = 0x1E03;
197     public static final int GL_INVERT                                  = 0x150A;
198     public static final int GL_INCR_WRAP                               = 0x8507;
199     public static final int GL_DECR_WRAP                               = 0x8508;
200     public static final int GL_VENDOR                                  = 0x1F00;
201     public static final int GL_RENDERER                                = 0x1F01;
202     public static final int GL_VERSION                                 = 0x1F02;
203     public static final int GL_EXTENSIONS                              = 0x1F03;
204     public static final int GL_NEAREST                                 = 0x2600;
205     public static final int GL_LINEAR                                  = 0x2601;
206     public static final int GL_NEAREST_MIPMAP_NEAREST                  = 0x2700;
207     public static final int GL_LINEAR_MIPMAP_NEAREST                   = 0x2701;
208     public static final int GL_NEAREST_MIPMAP_LINEAR                   = 0x2702;
209     public static final int GL_LINEAR_MIPMAP_LINEAR                    = 0x2703;
210     public static final int GL_TEXTURE_MAG_FILTER                      = 0x2800;
211     public static final int GL_TEXTURE_MIN_FILTER                      = 0x2801;
212     public static final int GL_TEXTURE_WRAP_S                          = 0x2802;
213     public static final int GL_TEXTURE_WRAP_T                          = 0x2803;
214     public static final int GL_TEXTURE                                 = 0x1702;
215     public static final int GL_TEXTURE_CUBE_MAP                        = 0x8513;
216     public static final int GL_TEXTURE_BINDING_CUBE_MAP                = 0x8514;
217     public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X             = 0x8515;
218     public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X             = 0x8516;
219     public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y             = 0x8517;
220     public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y             = 0x8518;
221     public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z             = 0x8519;
222     public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z             = 0x851A;
223     public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE               = 0x851C;
224     public static final int GL_TEXTURE0                                = 0x84C0;
225     public static final int GL_TEXTURE1                                = 0x84C1;
226     public static final int GL_TEXTURE2                                = 0x84C2;
227     public static final int GL_TEXTURE3                                = 0x84C3;
228     public static final int GL_TEXTURE4                                = 0x84C4;
229     public static final int GL_TEXTURE5                                = 0x84C5;
230     public static final int GL_TEXTURE6                                = 0x84C6;
231     public static final int GL_TEXTURE7                                = 0x84C7;
232     public static final int GL_TEXTURE8                                = 0x84C8;
233     public static final int GL_TEXTURE9                                = 0x84C9;
234     public static final int GL_TEXTURE10                               = 0x84CA;
235     public static final int GL_TEXTURE11                               = 0x84CB;
236     public static final int GL_TEXTURE12                               = 0x84CC;
237     public static final int GL_TEXTURE13                               = 0x84CD;
238     public static final int GL_TEXTURE14                               = 0x84CE;
239     public static final int GL_TEXTURE15                               = 0x84CF;
240     public static final int GL_TEXTURE16                               = 0x84D0;
241     public static final int GL_TEXTURE17                               = 0x84D1;
242     public static final int GL_TEXTURE18                               = 0x84D2;
243     public static final int GL_TEXTURE19                               = 0x84D3;
244     public static final int GL_TEXTURE20                               = 0x84D4;
245     public static final int GL_TEXTURE21                               = 0x84D5;
246     public static final int GL_TEXTURE22                               = 0x84D6;
247     public static final int GL_TEXTURE23                               = 0x84D7;
248     public static final int GL_TEXTURE24                               = 0x84D8;
249     public static final int GL_TEXTURE25                               = 0x84D9;
250     public static final int GL_TEXTURE26                               = 0x84DA;
251     public static final int GL_TEXTURE27                               = 0x84DB;
252     public static final int GL_TEXTURE28                               = 0x84DC;
253     public static final int GL_TEXTURE29                               = 0x84DD;
254     public static final int GL_TEXTURE30                               = 0x84DE;
255     public static final int GL_TEXTURE31                               = 0x84DF;
256     public static final int GL_REPEAT                                  = 0x2901;
257     public static final int GL_CLAMP_TO_EDGE                           = 0x812F;
258     public static final int GL_MIRRORED_REPEAT                         = 0x8370;
259     public static final int GL_FLOAT_VEC2                              = 0x8B50;
260     public static final int GL_FLOAT_VEC3                              = 0x8B51;
261     public static final int GL_FLOAT_VEC4                              = 0x8B52;
262     public static final int GL_INT_VEC2                                = 0x8B53;
263     public static final int GL_INT_VEC3                                = 0x8B54;
264     public static final int GL_INT_VEC4                                = 0x8B55;
265     public static final int GL_BOOL                                    = 0x8B56;
266     public static final int GL_BOOL_VEC2                               = 0x8B57;
267     public static final int GL_BOOL_VEC3                               = 0x8B58;
268     public static final int GL_BOOL_VEC4                               = 0x8B59;
269     public static final int GL_FLOAT_MAT2                              = 0x8B5A;
270     public static final int GL_FLOAT_MAT3                              = 0x8B5B;
271     public static final int GL_FLOAT_MAT4                              = 0x8B5C;
272     public static final int GL_SAMPLER_2D                              = 0x8B5E;
273     public static final int GL_SAMPLER_CUBE                            = 0x8B60;
274     public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED                 = 0x8622;
275     public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE                    = 0x8623;
276     public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE                  = 0x8624;
277     public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE                    = 0x8625;
278     public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED              = 0x886A;
279     public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER                 = 0x8645;
280     public static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING          = 0x889F;
281     public static final int GL_IMPLEMENTATION_COLOR_READ_TYPE            = 0x8B9A;
282     public static final int GL_IMPLEMENTATION_COLOR_READ_FORMAT          = 0x8B9B;
283     public static final int GL_COMPILE_STATUS                          = 0x8B81;
284     public static final int GL_INFO_LOG_LENGTH                         = 0x8B84;
285     public static final int GL_SHADER_SOURCE_LENGTH                    = 0x8B88;
286     public static final int GL_SHADER_COMPILER                         = 0x8DFA;
287     public static final int GL_SHADER_BINARY_FORMATS                   = 0x8DF8;
288     public static final int GL_NUM_SHADER_BINARY_FORMATS               = 0x8DF9;
289     public static final int GL_LOW_FLOAT                               = 0x8DF0;
290     public static final int GL_MEDIUM_FLOAT                            = 0x8DF1;
291     public static final int GL_HIGH_FLOAT                              = 0x8DF2;
292     public static final int GL_LOW_INT                                 = 0x8DF3;
293     public static final int GL_MEDIUM_INT                              = 0x8DF4;
294     public static final int GL_HIGH_INT                                = 0x8DF5;
295     public static final int GL_FRAMEBUFFER                             = 0x8D40;
296     public static final int GL_RENDERBUFFER                            = 0x8D41;
297     public static final int GL_RGBA4                                   = 0x8056;
298     public static final int GL_RGB5_A1                                 = 0x8057;
299     public static final int GL_RGB565                                  = 0x8D62;
300     public static final int GL_DEPTH_COMPONENT16                       = 0x81A5;
301     // GL_STENCIL_INDEX does not appear in gl2.h or gl2ext.h, and there is no
302     // token with value 0x1901.
303     //
304     @Deprecated
305     public static final int GL_STENCIL_INDEX                           = 0x1901;
306     public static final int GL_STENCIL_INDEX8                          = 0x8D48;
307     public static final int GL_RENDERBUFFER_WIDTH                      = 0x8D42;
308     public static final int GL_RENDERBUFFER_HEIGHT                     = 0x8D43;
309     public static final int GL_RENDERBUFFER_INTERNAL_FORMAT            = 0x8D44;
310     public static final int GL_RENDERBUFFER_RED_SIZE                   = 0x8D50;
311     public static final int GL_RENDERBUFFER_GREEN_SIZE                 = 0x8D51;
312     public static final int GL_RENDERBUFFER_BLUE_SIZE                  = 0x8D52;
313     public static final int GL_RENDERBUFFER_ALPHA_SIZE                 = 0x8D53;
314     public static final int GL_RENDERBUFFER_DEPTH_SIZE                 = 0x8D54;
315     public static final int GL_RENDERBUFFER_STENCIL_SIZE               = 0x8D55;
316     public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE      = 0x8CD0;
317     public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME      = 0x8CD1;
318     public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL    = 0x8CD2;
319     public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
320     public static final int GL_COLOR_ATTACHMENT0                       = 0x8CE0;
321     public static final int GL_DEPTH_ATTACHMENT                        = 0x8D00;
322     public static final int GL_STENCIL_ATTACHMENT                      = 0x8D20;
323     public static final int GL_NONE                                    = 0;
324     public static final int GL_FRAMEBUFFER_COMPLETE                    = 0x8CD5;
325     public static final int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT       = 0x8CD6;
326     public static final int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT          = 0x8CD7;
327     public static final int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS       = 0x8CD9;
328     public static final int GL_FRAMEBUFFER_UNSUPPORTED                 = 0x8CDD;
329     public static final int GL_FRAMEBUFFER_BINDING                     = 0x8CA6;
330     public static final int GL_RENDERBUFFER_BINDING                    = 0x8CA7;
331     public static final int GL_MAX_RENDERBUFFER_SIZE                   = 0x84E8;
332     public static final int GL_INVALID_FRAMEBUFFER_OPERATION           = 0x0506;
333 
_nativeClassInit()334     native private static void _nativeClassInit();
335     static {
_nativeClassInit()336         _nativeClassInit();
337     }
338     // C function void glActiveTexture ( GLenum texture )
339 
glActiveTexture( int texture )340     public static native void glActiveTexture(
341         int texture
342     );
343 
344     // C function void glAttachShader ( GLuint program, GLuint shader )
345 
glAttachShader( int program, int shader )346     public static native void glAttachShader(
347         int program,
348         int shader
349     );
350 
351     // C function void glBindAttribLocation ( GLuint program, GLuint index, const char *name )
352 
glBindAttribLocation( int program, int index, String name )353     public static native void glBindAttribLocation(
354         int program,
355         int index,
356         String name
357     );
358 
359     // C function void glBindBuffer ( GLenum target, GLuint buffer )
360 
glBindBuffer( int target, int buffer )361     public static native void glBindBuffer(
362         int target,
363         int buffer
364     );
365 
366     // C function void glBindFramebuffer ( GLenum target, GLuint framebuffer )
367 
glBindFramebuffer( int target, int framebuffer )368     public static native void glBindFramebuffer(
369         int target,
370         int framebuffer
371     );
372 
373     // C function void glBindRenderbuffer ( GLenum target, GLuint renderbuffer )
374 
glBindRenderbuffer( int target, int renderbuffer )375     public static native void glBindRenderbuffer(
376         int target,
377         int renderbuffer
378     );
379 
380     // C function void glBindTexture ( GLenum target, GLuint texture )
381 
glBindTexture( int target, int texture )382     public static native void glBindTexture(
383         int target,
384         int texture
385     );
386 
387     // C function void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
388 
glBlendColor( float red, float green, float blue, float alpha )389     public static native void glBlendColor(
390         float red,
391         float green,
392         float blue,
393         float alpha
394     );
395 
396     // C function void glBlendEquation ( GLenum mode )
397 
glBlendEquation( int mode )398     public static native void glBlendEquation(
399         int mode
400     );
401 
402     // C function void glBlendEquationSeparate ( GLenum modeRGB, GLenum modeAlpha )
403 
glBlendEquationSeparate( int modeRGB, int modeAlpha )404     public static native void glBlendEquationSeparate(
405         int modeRGB,
406         int modeAlpha
407     );
408 
409     // C function void glBlendFunc ( GLenum sfactor, GLenum dfactor )
410 
glBlendFunc( int sfactor, int dfactor )411     public static native void glBlendFunc(
412         int sfactor,
413         int dfactor
414     );
415 
416     // C function void glBlendFuncSeparate ( GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha )
417 
glBlendFuncSeparate( int srcRGB, int dstRGB, int srcAlpha, int dstAlpha )418     public static native void glBlendFuncSeparate(
419         int srcRGB,
420         int dstRGB,
421         int srcAlpha,
422         int dstAlpha
423     );
424 
425     // C function void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage )
426 
glBufferData( int target, int size, java.nio.Buffer data, int usage )427     public static native void glBufferData(
428         int target,
429         int size,
430         java.nio.Buffer data,
431         int usage
432     );
433 
434     // C function void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data )
435 
glBufferSubData( int target, int offset, int size, java.nio.Buffer data )436     public static native void glBufferSubData(
437         int target,
438         int offset,
439         int size,
440         java.nio.Buffer data
441     );
442 
443     // C function GLenum glCheckFramebufferStatus ( GLenum target )
444 
glCheckFramebufferStatus( int target )445     public static native int glCheckFramebufferStatus(
446         int target
447     );
448 
449     // C function void glClear ( GLbitfield mask )
450 
glClear( int mask )451     public static native void glClear(
452         int mask
453     );
454 
455     // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
456 
glClearColor( float red, float green, float blue, float alpha )457     public static native void glClearColor(
458         float red,
459         float green,
460         float blue,
461         float alpha
462     );
463 
464     // C function void glClearDepthf ( GLclampf depth )
465 
glClearDepthf( float depth )466     public static native void glClearDepthf(
467         float depth
468     );
469 
470     // C function void glClearStencil ( GLint s )
471 
glClearStencil( int s )472     public static native void glClearStencil(
473         int s
474     );
475 
476     // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
477 
glColorMask( boolean red, boolean green, boolean blue, boolean alpha )478     public static native void glColorMask(
479         boolean red,
480         boolean green,
481         boolean blue,
482         boolean alpha
483     );
484 
485     // C function void glCompileShader ( GLuint shader )
486 
glCompileShader( int shader )487     public static native void glCompileShader(
488         int shader
489     );
490 
491     // C function void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
492 
glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data )493     public static native void glCompressedTexImage2D(
494         int target,
495         int level,
496         int internalformat,
497         int width,
498         int height,
499         int border,
500         int imageSize,
501         java.nio.Buffer data
502     );
503 
504     // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
505 
glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data )506     public static native void glCompressedTexSubImage2D(
507         int target,
508         int level,
509         int xoffset,
510         int yoffset,
511         int width,
512         int height,
513         int format,
514         int imageSize,
515         java.nio.Buffer data
516     );
517 
518     // C function void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
519 
glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border )520     public static native void glCopyTexImage2D(
521         int target,
522         int level,
523         int internalformat,
524         int x,
525         int y,
526         int width,
527         int height,
528         int border
529     );
530 
531     // C function void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height )
532 
glCopyTexSubImage2D( int target, int level, int xoffset, int yoffset, int x, int y, int width, int height )533     public static native void glCopyTexSubImage2D(
534         int target,
535         int level,
536         int xoffset,
537         int yoffset,
538         int x,
539         int y,
540         int width,
541         int height
542     );
543 
544     // C function GLuint glCreateProgram ( void )
545 
glCreateProgram( )546     public static native int glCreateProgram(
547     );
548 
549     // C function GLuint glCreateShader ( GLenum type )
550 
glCreateShader( int type )551     public static native int glCreateShader(
552         int type
553     );
554 
555     // C function void glCullFace ( GLenum mode )
556 
glCullFace( int mode )557     public static native void glCullFace(
558         int mode
559     );
560 
561     // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
562 
glDeleteBuffers( int n, int[] buffers, int offset )563     public static native void glDeleteBuffers(
564         int n,
565         int[] buffers,
566         int offset
567     );
568 
569     // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
570 
glDeleteBuffers( int n, java.nio.IntBuffer buffers )571     public static native void glDeleteBuffers(
572         int n,
573         java.nio.IntBuffer buffers
574     );
575 
576     // C function void glDeleteFramebuffers ( GLsizei n, const GLuint *framebuffers )
577 
glDeleteFramebuffers( int n, int[] framebuffers, int offset )578     public static native void glDeleteFramebuffers(
579         int n,
580         int[] framebuffers,
581         int offset
582     );
583 
584     // C function void glDeleteFramebuffers ( GLsizei n, const GLuint *framebuffers )
585 
glDeleteFramebuffers( int n, java.nio.IntBuffer framebuffers )586     public static native void glDeleteFramebuffers(
587         int n,
588         java.nio.IntBuffer framebuffers
589     );
590 
591     // C function void glDeleteProgram ( GLuint program )
592 
glDeleteProgram( int program )593     public static native void glDeleteProgram(
594         int program
595     );
596 
597     // C function void glDeleteRenderbuffers ( GLsizei n, const GLuint *renderbuffers )
598 
glDeleteRenderbuffers( int n, int[] renderbuffers, int offset )599     public static native void glDeleteRenderbuffers(
600         int n,
601         int[] renderbuffers,
602         int offset
603     );
604 
605     // C function void glDeleteRenderbuffers ( GLsizei n, const GLuint *renderbuffers )
606 
glDeleteRenderbuffers( int n, java.nio.IntBuffer renderbuffers )607     public static native void glDeleteRenderbuffers(
608         int n,
609         java.nio.IntBuffer renderbuffers
610     );
611 
612     // C function void glDeleteShader ( GLuint shader )
613 
glDeleteShader( int shader )614     public static native void glDeleteShader(
615         int shader
616     );
617 
618     // C function void glDeleteTextures ( GLsizei n, const GLuint *textures )
619 
glDeleteTextures( int n, int[] textures, int offset )620     public static native void glDeleteTextures(
621         int n,
622         int[] textures,
623         int offset
624     );
625 
626     // C function void glDeleteTextures ( GLsizei n, const GLuint *textures )
627 
glDeleteTextures( int n, java.nio.IntBuffer textures )628     public static native void glDeleteTextures(
629         int n,
630         java.nio.IntBuffer textures
631     );
632 
633     // C function void glDepthFunc ( GLenum func )
634 
glDepthFunc( int func )635     public static native void glDepthFunc(
636         int func
637     );
638 
639     // C function void glDepthMask ( GLboolean flag )
640 
glDepthMask( boolean flag )641     public static native void glDepthMask(
642         boolean flag
643     );
644 
645     // C function void glDepthRangef ( GLclampf zNear, GLclampf zFar )
646 
glDepthRangef( float zNear, float zFar )647     public static native void glDepthRangef(
648         float zNear,
649         float zFar
650     );
651 
652     // C function void glDetachShader ( GLuint program, GLuint shader )
653 
glDetachShader( int program, int shader )654     public static native void glDetachShader(
655         int program,
656         int shader
657     );
658 
659     // C function void glDisable ( GLenum cap )
660 
glDisable( int cap )661     public static native void glDisable(
662         int cap
663     );
664 
665     // C function void glDisableVertexAttribArray ( GLuint index )
666 
glDisableVertexAttribArray( int index )667     public static native void glDisableVertexAttribArray(
668         int index
669     );
670 
671     // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count )
672 
glDrawArrays( int mode, int first, int count )673     public static native void glDrawArrays(
674         int mode,
675         int first,
676         int count
677     );
678 
679     // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset )
680 
glDrawElements( int mode, int count, int type, int offset )681     public static native void glDrawElements(
682         int mode,
683         int count,
684         int type,
685         int offset
686     );
687 
688     // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
689 
glDrawElements( int mode, int count, int type, java.nio.Buffer indices )690     public static native void glDrawElements(
691         int mode,
692         int count,
693         int type,
694         java.nio.Buffer indices
695     );
696 
697     // C function void glEnable ( GLenum cap )
698 
glEnable( int cap )699     public static native void glEnable(
700         int cap
701     );
702 
703     // C function void glEnableVertexAttribArray ( GLuint index )
704 
glEnableVertexAttribArray( int index )705     public static native void glEnableVertexAttribArray(
706         int index
707     );
708 
709     // C function void glFinish ( void )
710 
glFinish( )711     public static native void glFinish(
712     );
713 
714     // C function void glFlush ( void )
715 
glFlush( )716     public static native void glFlush(
717     );
718 
719     // C function void glFramebufferRenderbuffer ( GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer )
720 
glFramebufferRenderbuffer( int target, int attachment, int renderbuffertarget, int renderbuffer )721     public static native void glFramebufferRenderbuffer(
722         int target,
723         int attachment,
724         int renderbuffertarget,
725         int renderbuffer
726     );
727 
728     // C function void glFramebufferTexture2D ( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level )
729 
glFramebufferTexture2D( int target, int attachment, int textarget, int texture, int level )730     public static native void glFramebufferTexture2D(
731         int target,
732         int attachment,
733         int textarget,
734         int texture,
735         int level
736     );
737 
738     // C function void glFrontFace ( GLenum mode )
739 
glFrontFace( int mode )740     public static native void glFrontFace(
741         int mode
742     );
743 
744     // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
745 
glGenBuffers( int n, int[] buffers, int offset )746     public static native void glGenBuffers(
747         int n,
748         int[] buffers,
749         int offset
750     );
751 
752     // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
753 
glGenBuffers( int n, java.nio.IntBuffer buffers )754     public static native void glGenBuffers(
755         int n,
756         java.nio.IntBuffer buffers
757     );
758 
759     // C function void glGenerateMipmap ( GLenum target )
760 
glGenerateMipmap( int target )761     public static native void glGenerateMipmap(
762         int target
763     );
764 
765     // C function void glGenFramebuffers ( GLsizei n, GLuint *framebuffers )
766 
glGenFramebuffers( int n, int[] framebuffers, int offset )767     public static native void glGenFramebuffers(
768         int n,
769         int[] framebuffers,
770         int offset
771     );
772 
773     // C function void glGenFramebuffers ( GLsizei n, GLuint *framebuffers )
774 
glGenFramebuffers( int n, java.nio.IntBuffer framebuffers )775     public static native void glGenFramebuffers(
776         int n,
777         java.nio.IntBuffer framebuffers
778     );
779 
780     // C function void glGenRenderbuffers ( GLsizei n, GLuint *renderbuffers )
781 
glGenRenderbuffers( int n, int[] renderbuffers, int offset )782     public static native void glGenRenderbuffers(
783         int n,
784         int[] renderbuffers,
785         int offset
786     );
787 
788     // C function void glGenRenderbuffers ( GLsizei n, GLuint *renderbuffers )
789 
glGenRenderbuffers( int n, java.nio.IntBuffer renderbuffers )790     public static native void glGenRenderbuffers(
791         int n,
792         java.nio.IntBuffer renderbuffers
793     );
794 
795     // C function void glGenTextures ( GLsizei n, GLuint *textures )
796 
glGenTextures( int n, int[] textures, int offset )797     public static native void glGenTextures(
798         int n,
799         int[] textures,
800         int offset
801     );
802 
803     // C function void glGenTextures ( GLsizei n, GLuint *textures )
804 
glGenTextures( int n, java.nio.IntBuffer textures )805     public static native void glGenTextures(
806         int n,
807         java.nio.IntBuffer textures
808     );
809 
810     // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
811 
glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset )812     public static native void glGetActiveAttrib(
813         int program,
814         int index,
815         int bufsize,
816         int[] length,
817         int lengthOffset,
818         int[] size,
819         int sizeOffset,
820         int[] type,
821         int typeOffset,
822         byte[] name,
823         int nameOffset
824     );
825 
826     // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
827 
828     /** @hide Method is broken, but used to be public (b/6006380) */
829     @UnsupportedAppUsage
glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name )830     public static native void glGetActiveAttrib(
831         int program,
832         int index,
833         int bufsize,
834         java.nio.IntBuffer length,
835         java.nio.IntBuffer size,
836         java.nio.IntBuffer type,
837         byte name
838     );
839 
840     // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
841 
glGetActiveAttrib( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset )842     public static native String glGetActiveAttrib(
843         int program,
844         int index,
845         int[] size,
846         int sizeOffset,
847         int[] type,
848         int typeOffset
849     );
850 
851     // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
852 
glGetActiveAttrib( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type )853     public static native String glGetActiveAttrib(
854         int program,
855         int index,
856         java.nio.IntBuffer size,
857         java.nio.IntBuffer type
858     );
859     // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
860 
glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset )861     public static native void glGetActiveUniform(
862         int program,
863         int index,
864         int bufsize,
865         int[] length,
866         int lengthOffset,
867         int[] size,
868         int sizeOffset,
869         int[] type,
870         int typeOffset,
871         byte[] name,
872         int nameOffset
873     );
874 
875     // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
876 
877     /** @hide Method is broken, but used to be public (b/6006380) */
878     @UnsupportedAppUsage
glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name )879     public static native void glGetActiveUniform(
880         int program,
881         int index,
882         int bufsize,
883         java.nio.IntBuffer length,
884         java.nio.IntBuffer size,
885         java.nio.IntBuffer type,
886         byte name
887     );
888     // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
889 
glGetActiveUniform( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset )890     public static native String glGetActiveUniform(
891         int program,
892         int index,
893         int[] size,
894         int sizeOffset,
895         int[] type,
896         int typeOffset
897     );
898 
899     // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
900 
glGetActiveUniform( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type )901     public static native String glGetActiveUniform(
902         int program,
903         int index,
904         java.nio.IntBuffer size,
905         java.nio.IntBuffer type
906     );
907     // C function void glGetAttachedShaders ( GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders )
908 
glGetAttachedShaders( int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset )909     public static native void glGetAttachedShaders(
910         int program,
911         int maxcount,
912         int[] count,
913         int countOffset,
914         int[] shaders,
915         int shadersOffset
916     );
917 
918     // C function void glGetAttachedShaders ( GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders )
919 
glGetAttachedShaders( int program, int maxcount, java.nio.IntBuffer count, java.nio.IntBuffer shaders )920     public static native void glGetAttachedShaders(
921         int program,
922         int maxcount,
923         java.nio.IntBuffer count,
924         java.nio.IntBuffer shaders
925     );
926 
927     // C function GLint glGetAttribLocation ( GLuint program, const char *name )
928 
glGetAttribLocation( int program, String name )929     public static native int glGetAttribLocation(
930         int program,
931         String name
932     );
933 
934     // C function void glGetBooleanv ( GLenum pname, GLboolean *params )
935 
glGetBooleanv( int pname, boolean[] params, int offset )936     public static native void glGetBooleanv(
937         int pname,
938         boolean[] params,
939         int offset
940     );
941 
942     // C function void glGetBooleanv ( GLenum pname, GLboolean *params )
943 
glGetBooleanv( int pname, java.nio.IntBuffer params )944     public static native void glGetBooleanv(
945         int pname,
946         java.nio.IntBuffer params
947     );
948 
949     // C function void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params )
950 
glGetBufferParameteriv( int target, int pname, int[] params, int offset )951     public static native void glGetBufferParameteriv(
952         int target,
953         int pname,
954         int[] params,
955         int offset
956     );
957 
958     // C function void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params )
959 
glGetBufferParameteriv( int target, int pname, java.nio.IntBuffer params )960     public static native void glGetBufferParameteriv(
961         int target,
962         int pname,
963         java.nio.IntBuffer params
964     );
965 
966     // C function GLenum glGetError ( void )
967 
glGetError( )968     public static native int glGetError(
969     );
970 
971     // C function void glGetFloatv ( GLenum pname, GLfloat *params )
972 
glGetFloatv( int pname, float[] params, int offset )973     public static native void glGetFloatv(
974         int pname,
975         float[] params,
976         int offset
977     );
978 
979     // C function void glGetFloatv ( GLenum pname, GLfloat *params )
980 
glGetFloatv( int pname, java.nio.FloatBuffer params )981     public static native void glGetFloatv(
982         int pname,
983         java.nio.FloatBuffer params
984     );
985 
986     // C function void glGetFramebufferAttachmentParameteriv ( GLenum target, GLenum attachment, GLenum pname, GLint *params )
987 
glGetFramebufferAttachmentParameteriv( int target, int attachment, int pname, int[] params, int offset )988     public static native void glGetFramebufferAttachmentParameteriv(
989         int target,
990         int attachment,
991         int pname,
992         int[] params,
993         int offset
994     );
995 
996     // C function void glGetFramebufferAttachmentParameteriv ( GLenum target, GLenum attachment, GLenum pname, GLint *params )
997 
glGetFramebufferAttachmentParameteriv( int target, int attachment, int pname, java.nio.IntBuffer params )998     public static native void glGetFramebufferAttachmentParameteriv(
999         int target,
1000         int attachment,
1001         int pname,
1002         java.nio.IntBuffer params
1003     );
1004 
1005     // C function void glGetIntegerv ( GLenum pname, GLint *params )
1006 
glGetIntegerv( int pname, int[] params, int offset )1007     public static native void glGetIntegerv(
1008         int pname,
1009         int[] params,
1010         int offset
1011     );
1012 
1013     // C function void glGetIntegerv ( GLenum pname, GLint *params )
1014 
glGetIntegerv( int pname, java.nio.IntBuffer params )1015     public static native void glGetIntegerv(
1016         int pname,
1017         java.nio.IntBuffer params
1018     );
1019 
1020     // C function void glGetProgramiv ( GLuint program, GLenum pname, GLint *params )
1021 
glGetProgramiv( int program, int pname, int[] params, int offset )1022     public static native void glGetProgramiv(
1023         int program,
1024         int pname,
1025         int[] params,
1026         int offset
1027     );
1028 
1029     // C function void glGetProgramiv ( GLuint program, GLenum pname, GLint *params )
1030 
glGetProgramiv( int program, int pname, java.nio.IntBuffer params )1031     public static native void glGetProgramiv(
1032         int program,
1033         int pname,
1034         java.nio.IntBuffer params
1035     );
1036 
1037     // C function void glGetProgramInfoLog( GLuint program, GLsizei maxLength, GLsizei * length,
1038     //     GLchar * infoLog);
1039 
glGetProgramInfoLog( int program )1040     public static native String glGetProgramInfoLog(
1041         int program
1042     );
1043     // C function void glGetRenderbufferParameteriv ( GLenum target, GLenum pname, GLint *params )
1044 
glGetRenderbufferParameteriv( int target, int pname, int[] params, int offset )1045     public static native void glGetRenderbufferParameteriv(
1046         int target,
1047         int pname,
1048         int[] params,
1049         int offset
1050     );
1051 
1052     // C function void glGetRenderbufferParameteriv ( GLenum target, GLenum pname, GLint *params )
1053 
glGetRenderbufferParameteriv( int target, int pname, java.nio.IntBuffer params )1054     public static native void glGetRenderbufferParameteriv(
1055         int target,
1056         int pname,
1057         java.nio.IntBuffer params
1058     );
1059 
1060     // C function void glGetShaderiv ( GLuint shader, GLenum pname, GLint *params )
1061 
glGetShaderiv( int shader, int pname, int[] params, int offset )1062     public static native void glGetShaderiv(
1063         int shader,
1064         int pname,
1065         int[] params,
1066         int offset
1067     );
1068 
1069     // C function void glGetShaderiv ( GLuint shader, GLenum pname, GLint *params )
1070 
glGetShaderiv( int shader, int pname, java.nio.IntBuffer params )1071     public static native void glGetShaderiv(
1072         int shader,
1073         int pname,
1074         java.nio.IntBuffer params
1075     );
1076 
1077     // C function void glGetShaderInfoLog( GLuint shader, GLsizei maxLength, GLsizei * length,
1078     //     GLchar * infoLog);
1079 
glGetShaderInfoLog( int shader )1080     public static native String glGetShaderInfoLog(
1081         int shader
1082     );
1083     // C function void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision )
1084 
glGetShaderPrecisionFormat( int shadertype, int precisiontype, int[] range, int rangeOffset, int[] precision, int precisionOffset )1085     public static native void glGetShaderPrecisionFormat(
1086         int shadertype,
1087         int precisiontype,
1088         int[] range,
1089         int rangeOffset,
1090         int[] precision,
1091         int precisionOffset
1092     );
1093 
1094     // C function void glGetShaderPrecisionFormat ( GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision )
1095 
glGetShaderPrecisionFormat( int shadertype, int precisiontype, java.nio.IntBuffer range, java.nio.IntBuffer precision )1096     public static native void glGetShaderPrecisionFormat(
1097         int shadertype,
1098         int precisiontype,
1099         java.nio.IntBuffer range,
1100         java.nio.IntBuffer precision
1101     );
1102 
1103     // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
1104 
glGetShaderSource( int shader, int bufsize, int[] length, int lengthOffset, byte[] source, int sourceOffset )1105     public static native void glGetShaderSource(
1106         int shader,
1107         int bufsize,
1108         int[] length,
1109         int lengthOffset,
1110         byte[] source,
1111         int sourceOffset
1112     );
1113 
1114     // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
1115 
1116     /** @hide Method is broken, but used to be public (b/6006380) */
glGetShaderSource( int shader, int bufsize, java.nio.IntBuffer length, byte source )1117     public static native void glGetShaderSource(
1118         int shader,
1119         int bufsize,
1120         java.nio.IntBuffer length,
1121         byte source
1122     );
1123 
1124     // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
1125 
glGetShaderSource( int shader )1126     public static native String glGetShaderSource(
1127         int shader
1128     );
1129     // C function const GLubyte * glGetString ( GLenum name )
1130 
glGetString( int name )1131     public static native String glGetString(
1132         int name
1133     );
1134     // C function void glGetTexParameterfv ( GLenum target, GLenum pname, GLfloat *params )
1135 
glGetTexParameterfv( int target, int pname, float[] params, int offset )1136     public static native void glGetTexParameterfv(
1137         int target,
1138         int pname,
1139         float[] params,
1140         int offset
1141     );
1142 
1143     // C function void glGetTexParameterfv ( GLenum target, GLenum pname, GLfloat *params )
1144 
glGetTexParameterfv( int target, int pname, java.nio.FloatBuffer params )1145     public static native void glGetTexParameterfv(
1146         int target,
1147         int pname,
1148         java.nio.FloatBuffer params
1149     );
1150 
1151     // C function void glGetTexParameteriv ( GLenum target, GLenum pname, GLint *params )
1152 
glGetTexParameteriv( int target, int pname, int[] params, int offset )1153     public static native void glGetTexParameteriv(
1154         int target,
1155         int pname,
1156         int[] params,
1157         int offset
1158     );
1159 
1160     // C function void glGetTexParameteriv ( GLenum target, GLenum pname, GLint *params )
1161 
glGetTexParameteriv( int target, int pname, java.nio.IntBuffer params )1162     public static native void glGetTexParameteriv(
1163         int target,
1164         int pname,
1165         java.nio.IntBuffer params
1166     );
1167 
1168     // C function void glGetUniformfv ( GLuint program, GLint location, GLfloat *params )
1169 
glGetUniformfv( int program, int location, float[] params, int offset )1170     public static native void glGetUniformfv(
1171         int program,
1172         int location,
1173         float[] params,
1174         int offset
1175     );
1176 
1177     // C function void glGetUniformfv ( GLuint program, GLint location, GLfloat *params )
1178 
glGetUniformfv( int program, int location, java.nio.FloatBuffer params )1179     public static native void glGetUniformfv(
1180         int program,
1181         int location,
1182         java.nio.FloatBuffer params
1183     );
1184 
1185     // C function void glGetUniformiv ( GLuint program, GLint location, GLint *params )
1186 
glGetUniformiv( int program, int location, int[] params, int offset )1187     public static native void glGetUniformiv(
1188         int program,
1189         int location,
1190         int[] params,
1191         int offset
1192     );
1193 
1194     // C function void glGetUniformiv ( GLuint program, GLint location, GLint *params )
1195 
glGetUniformiv( int program, int location, java.nio.IntBuffer params )1196     public static native void glGetUniformiv(
1197         int program,
1198         int location,
1199         java.nio.IntBuffer params
1200     );
1201 
1202     // C function GLint glGetUniformLocation ( GLuint program, const char *name )
1203 
glGetUniformLocation( int program, String name )1204     public static native int glGetUniformLocation(
1205         int program,
1206         String name
1207     );
1208 
1209     // C function void glGetVertexAttribfv ( GLuint index, GLenum pname, GLfloat *params )
1210 
glGetVertexAttribfv( int index, int pname, float[] params, int offset )1211     public static native void glGetVertexAttribfv(
1212         int index,
1213         int pname,
1214         float[] params,
1215         int offset
1216     );
1217 
1218     // C function void glGetVertexAttribfv ( GLuint index, GLenum pname, GLfloat *params )
1219 
glGetVertexAttribfv( int index, int pname, java.nio.FloatBuffer params )1220     public static native void glGetVertexAttribfv(
1221         int index,
1222         int pname,
1223         java.nio.FloatBuffer params
1224     );
1225 
1226     // C function void glGetVertexAttribiv ( GLuint index, GLenum pname, GLint *params )
1227 
glGetVertexAttribiv( int index, int pname, int[] params, int offset )1228     public static native void glGetVertexAttribiv(
1229         int index,
1230         int pname,
1231         int[] params,
1232         int offset
1233     );
1234 
1235     // C function void glGetVertexAttribiv ( GLuint index, GLenum pname, GLint *params )
1236 
glGetVertexAttribiv( int index, int pname, java.nio.IntBuffer params )1237     public static native void glGetVertexAttribiv(
1238         int index,
1239         int pname,
1240         java.nio.IntBuffer params
1241     );
1242 
1243     // C function void glHint ( GLenum target, GLenum mode )
1244 
glHint( int target, int mode )1245     public static native void glHint(
1246         int target,
1247         int mode
1248     );
1249 
1250     // C function GLboolean glIsBuffer ( GLuint buffer )
1251 
glIsBuffer( int buffer )1252     public static native boolean glIsBuffer(
1253         int buffer
1254     );
1255 
1256     // C function GLboolean glIsEnabled ( GLenum cap )
1257 
glIsEnabled( int cap )1258     public static native boolean glIsEnabled(
1259         int cap
1260     );
1261 
1262     // C function GLboolean glIsFramebuffer ( GLuint framebuffer )
1263 
glIsFramebuffer( int framebuffer )1264     public static native boolean glIsFramebuffer(
1265         int framebuffer
1266     );
1267 
1268     // C function GLboolean glIsProgram ( GLuint program )
1269 
glIsProgram( int program )1270     public static native boolean glIsProgram(
1271         int program
1272     );
1273 
1274     // C function GLboolean glIsRenderbuffer ( GLuint renderbuffer )
1275 
glIsRenderbuffer( int renderbuffer )1276     public static native boolean glIsRenderbuffer(
1277         int renderbuffer
1278     );
1279 
1280     // C function GLboolean glIsShader ( GLuint shader )
1281 
glIsShader( int shader )1282     public static native boolean glIsShader(
1283         int shader
1284     );
1285 
1286     // C function GLboolean glIsTexture ( GLuint texture )
1287 
glIsTexture( int texture )1288     public static native boolean glIsTexture(
1289         int texture
1290     );
1291 
1292     // C function void glLineWidth ( GLfloat width )
1293 
glLineWidth( float width )1294     public static native void glLineWidth(
1295         float width
1296     );
1297 
1298     // C function void glLinkProgram ( GLuint program )
1299 
glLinkProgram( int program )1300     public static native void glLinkProgram(
1301         int program
1302     );
1303 
1304     // C function void glPixelStorei ( GLenum pname, GLint param )
1305 
glPixelStorei( int pname, int param )1306     public static native void glPixelStorei(
1307         int pname,
1308         int param
1309     );
1310 
1311     // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
1312 
glPolygonOffset( float factor, float units )1313     public static native void glPolygonOffset(
1314         float factor,
1315         float units
1316     );
1317 
1318     // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
1319 
glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels )1320     public static native void glReadPixels(
1321         int x,
1322         int y,
1323         int width,
1324         int height,
1325         int format,
1326         int type,
1327         java.nio.Buffer pixels
1328     );
1329 
1330     // C function void glReleaseShaderCompiler ( void )
1331 
glReleaseShaderCompiler( )1332     public static native void glReleaseShaderCompiler(
1333     );
1334 
1335     // C function void glRenderbufferStorage ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height )
1336 
glRenderbufferStorage( int target, int internalformat, int width, int height )1337     public static native void glRenderbufferStorage(
1338         int target,
1339         int internalformat,
1340         int width,
1341         int height
1342     );
1343 
1344     // C function void glSampleCoverage ( GLclampf value, GLboolean invert )
1345 
glSampleCoverage( float value, boolean invert )1346     public static native void glSampleCoverage(
1347         float value,
1348         boolean invert
1349     );
1350 
1351     // C function void glScissor ( GLint x, GLint y, GLsizei width, GLsizei height )
1352 
glScissor( int x, int y, int width, int height )1353     public static native void glScissor(
1354         int x,
1355         int y,
1356         int width,
1357         int height
1358     );
1359 
1360     // C function void glShaderBinary ( GLsizei n, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length )
1361 
glShaderBinary( int n, int[] shaders, int offset, int binaryformat, java.nio.Buffer binary, int length )1362     public static native void glShaderBinary(
1363         int n,
1364         int[] shaders,
1365         int offset,
1366         int binaryformat,
1367         java.nio.Buffer binary,
1368         int length
1369     );
1370 
1371     // C function void glShaderBinary ( GLsizei n, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length )
1372 
glShaderBinary( int n, java.nio.IntBuffer shaders, int binaryformat, java.nio.Buffer binary, int length )1373     public static native void glShaderBinary(
1374         int n,
1375         java.nio.IntBuffer shaders,
1376         int binaryformat,
1377         java.nio.Buffer binary,
1378         int length
1379     );
1380 
1381     // C function void glShaderSource ( GLuint shader, GLsizei count, const GLchar ** string, const GLint* length )
1382 
glShaderSource( int shader, String string )1383     public static native void glShaderSource(
1384         int shader,
1385         String string
1386     );
1387     // C function void glStencilFunc ( GLenum func, GLint ref, GLuint mask )
1388 
glStencilFunc( int func, int ref, int mask )1389     public static native void glStencilFunc(
1390         int func,
1391         int ref,
1392         int mask
1393     );
1394 
1395     // C function void glStencilFuncSeparate ( GLenum face, GLenum func, GLint ref, GLuint mask )
1396 
glStencilFuncSeparate( int face, int func, int ref, int mask )1397     public static native void glStencilFuncSeparate(
1398         int face,
1399         int func,
1400         int ref,
1401         int mask
1402     );
1403 
1404     // C function void glStencilMask ( GLuint mask )
1405 
glStencilMask( int mask )1406     public static native void glStencilMask(
1407         int mask
1408     );
1409 
1410     // C function void glStencilMaskSeparate ( GLenum face, GLuint mask )
1411 
glStencilMaskSeparate( int face, int mask )1412     public static native void glStencilMaskSeparate(
1413         int face,
1414         int mask
1415     );
1416 
1417     // C function void glStencilOp ( GLenum fail, GLenum zfail, GLenum zpass )
1418 
glStencilOp( int fail, int zfail, int zpass )1419     public static native void glStencilOp(
1420         int fail,
1421         int zfail,
1422         int zpass
1423     );
1424 
1425     // C function void glStencilOpSeparate ( GLenum face, GLenum fail, GLenum zfail, GLenum zpass )
1426 
glStencilOpSeparate( int face, int fail, int zfail, int zpass )1427     public static native void glStencilOpSeparate(
1428         int face,
1429         int fail,
1430         int zfail,
1431         int zpass
1432     );
1433 
1434     // C function void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
1435 
glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels )1436     public static native void glTexImage2D(
1437         int target,
1438         int level,
1439         int internalformat,
1440         int width,
1441         int height,
1442         int border,
1443         int format,
1444         int type,
1445         java.nio.Buffer pixels
1446     );
1447 
1448     // C function void glTexParameterf ( GLenum target, GLenum pname, GLfloat param )
1449 
glTexParameterf( int target, int pname, float param )1450     public static native void glTexParameterf(
1451         int target,
1452         int pname,
1453         float param
1454     );
1455 
1456     // C function void glTexParameterfv ( GLenum target, GLenum pname, const GLfloat *params )
1457 
glTexParameterfv( int target, int pname, float[] params, int offset )1458     public static native void glTexParameterfv(
1459         int target,
1460         int pname,
1461         float[] params,
1462         int offset
1463     );
1464 
1465     // C function void glTexParameterfv ( GLenum target, GLenum pname, const GLfloat *params )
1466 
glTexParameterfv( int target, int pname, java.nio.FloatBuffer params )1467     public static native void glTexParameterfv(
1468         int target,
1469         int pname,
1470         java.nio.FloatBuffer params
1471     );
1472 
1473     // C function void glTexParameteri ( GLenum target, GLenum pname, GLint param )
1474 
glTexParameteri( int target, int pname, int param )1475     public static native void glTexParameteri(
1476         int target,
1477         int pname,
1478         int param
1479     );
1480 
1481     // C function void glTexParameteriv ( GLenum target, GLenum pname, const GLint *params )
1482 
glTexParameteriv( int target, int pname, int[] params, int offset )1483     public static native void glTexParameteriv(
1484         int target,
1485         int pname,
1486         int[] params,
1487         int offset
1488     );
1489 
1490     // C function void glTexParameteriv ( GLenum target, GLenum pname, const GLint *params )
1491 
glTexParameteriv( int target, int pname, java.nio.IntBuffer params )1492     public static native void glTexParameteriv(
1493         int target,
1494         int pname,
1495         java.nio.IntBuffer params
1496     );
1497 
1498     // C function void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
1499 
glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels )1500     public static native void glTexSubImage2D(
1501         int target,
1502         int level,
1503         int xoffset,
1504         int yoffset,
1505         int width,
1506         int height,
1507         int format,
1508         int type,
1509         java.nio.Buffer pixels
1510     );
1511 
1512     // C function void glUniform1f ( GLint location, GLfloat x )
1513 
glUniform1f( int location, float x )1514     public static native void glUniform1f(
1515         int location,
1516         float x
1517     );
1518 
1519     // C function void glUniform1fv ( GLint location, GLsizei count, const GLfloat *v )
1520 
glUniform1fv( int location, int count, float[] v, int offset )1521     public static native void glUniform1fv(
1522         int location,
1523         int count,
1524         float[] v,
1525         int offset
1526     );
1527 
1528     // C function void glUniform1fv ( GLint location, GLsizei count, const GLfloat *v )
1529 
glUniform1fv( int location, int count, java.nio.FloatBuffer v )1530     public static native void glUniform1fv(
1531         int location,
1532         int count,
1533         java.nio.FloatBuffer v
1534     );
1535 
1536     // C function void glUniform1i ( GLint location, GLint x )
1537 
glUniform1i( int location, int x )1538     public static native void glUniform1i(
1539         int location,
1540         int x
1541     );
1542 
1543     // C function void glUniform1iv ( GLint location, GLsizei count, const GLint *v )
1544 
glUniform1iv( int location, int count, int[] v, int offset )1545     public static native void glUniform1iv(
1546         int location,
1547         int count,
1548         int[] v,
1549         int offset
1550     );
1551 
1552     // C function void glUniform1iv ( GLint location, GLsizei count, const GLint *v )
1553 
glUniform1iv( int location, int count, java.nio.IntBuffer v )1554     public static native void glUniform1iv(
1555         int location,
1556         int count,
1557         java.nio.IntBuffer v
1558     );
1559 
1560     // C function void glUniform2f ( GLint location, GLfloat x, GLfloat y )
1561 
glUniform2f( int location, float x, float y )1562     public static native void glUniform2f(
1563         int location,
1564         float x,
1565         float y
1566     );
1567 
1568     // C function void glUniform2fv ( GLint location, GLsizei count, const GLfloat *v )
1569 
glUniform2fv( int location, int count, float[] v, int offset )1570     public static native void glUniform2fv(
1571         int location,
1572         int count,
1573         float[] v,
1574         int offset
1575     );
1576 
1577     // C function void glUniform2fv ( GLint location, GLsizei count, const GLfloat *v )
1578 
glUniform2fv( int location, int count, java.nio.FloatBuffer v )1579     public static native void glUniform2fv(
1580         int location,
1581         int count,
1582         java.nio.FloatBuffer v
1583     );
1584 
1585     // C function void glUniform2i ( GLint location, GLint x, GLint y )
1586 
glUniform2i( int location, int x, int y )1587     public static native void glUniform2i(
1588         int location,
1589         int x,
1590         int y
1591     );
1592 
1593     // C function void glUniform2iv ( GLint location, GLsizei count, const GLint *v )
1594 
glUniform2iv( int location, int count, int[] v, int offset )1595     public static native void glUniform2iv(
1596         int location,
1597         int count,
1598         int[] v,
1599         int offset
1600     );
1601 
1602     // C function void glUniform2iv ( GLint location, GLsizei count, const GLint *v )
1603 
glUniform2iv( int location, int count, java.nio.IntBuffer v )1604     public static native void glUniform2iv(
1605         int location,
1606         int count,
1607         java.nio.IntBuffer v
1608     );
1609 
1610     // C function void glUniform3f ( GLint location, GLfloat x, GLfloat y, GLfloat z )
1611 
glUniform3f( int location, float x, float y, float z )1612     public static native void glUniform3f(
1613         int location,
1614         float x,
1615         float y,
1616         float z
1617     );
1618 
1619     // C function void glUniform3fv ( GLint location, GLsizei count, const GLfloat *v )
1620 
glUniform3fv( int location, int count, float[] v, int offset )1621     public static native void glUniform3fv(
1622         int location,
1623         int count,
1624         float[] v,
1625         int offset
1626     );
1627 
1628     // C function void glUniform3fv ( GLint location, GLsizei count, const GLfloat *v )
1629 
glUniform3fv( int location, int count, java.nio.FloatBuffer v )1630     public static native void glUniform3fv(
1631         int location,
1632         int count,
1633         java.nio.FloatBuffer v
1634     );
1635 
1636     // C function void glUniform3i ( GLint location, GLint x, GLint y, GLint z )
1637 
glUniform3i( int location, int x, int y, int z )1638     public static native void glUniform3i(
1639         int location,
1640         int x,
1641         int y,
1642         int z
1643     );
1644 
1645     // C function void glUniform3iv ( GLint location, GLsizei count, const GLint *v )
1646 
glUniform3iv( int location, int count, int[] v, int offset )1647     public static native void glUniform3iv(
1648         int location,
1649         int count,
1650         int[] v,
1651         int offset
1652     );
1653 
1654     // C function void glUniform3iv ( GLint location, GLsizei count, const GLint *v )
1655 
glUniform3iv( int location, int count, java.nio.IntBuffer v )1656     public static native void glUniform3iv(
1657         int location,
1658         int count,
1659         java.nio.IntBuffer v
1660     );
1661 
1662     // C function void glUniform4f ( GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w )
1663 
glUniform4f( int location, float x, float y, float z, float w )1664     public static native void glUniform4f(
1665         int location,
1666         float x,
1667         float y,
1668         float z,
1669         float w
1670     );
1671 
1672     // C function void glUniform4fv ( GLint location, GLsizei count, const GLfloat *v )
1673 
glUniform4fv( int location, int count, float[] v, int offset )1674     public static native void glUniform4fv(
1675         int location,
1676         int count,
1677         float[] v,
1678         int offset
1679     );
1680 
1681     // C function void glUniform4fv ( GLint location, GLsizei count, const GLfloat *v )
1682 
glUniform4fv( int location, int count, java.nio.FloatBuffer v )1683     public static native void glUniform4fv(
1684         int location,
1685         int count,
1686         java.nio.FloatBuffer v
1687     );
1688 
1689     // C function void glUniform4i ( GLint location, GLint x, GLint y, GLint z, GLint w )
1690 
glUniform4i( int location, int x, int y, int z, int w )1691     public static native void glUniform4i(
1692         int location,
1693         int x,
1694         int y,
1695         int z,
1696         int w
1697     );
1698 
1699     // C function void glUniform4iv ( GLint location, GLsizei count, const GLint *v )
1700 
glUniform4iv( int location, int count, int[] v, int offset )1701     public static native void glUniform4iv(
1702         int location,
1703         int count,
1704         int[] v,
1705         int offset
1706     );
1707 
1708     // C function void glUniform4iv ( GLint location, GLsizei count, const GLint *v )
1709 
glUniform4iv( int location, int count, java.nio.IntBuffer v )1710     public static native void glUniform4iv(
1711         int location,
1712         int count,
1713         java.nio.IntBuffer v
1714     );
1715 
1716     // C function void glUniformMatrix2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
1717 
glUniformMatrix2fv( int location, int count, boolean transpose, float[] value, int offset )1718     public static native void glUniformMatrix2fv(
1719         int location,
1720         int count,
1721         boolean transpose,
1722         float[] value,
1723         int offset
1724     );
1725 
1726     // C function void glUniformMatrix2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
1727 
glUniformMatrix2fv( int location, int count, boolean transpose, java.nio.FloatBuffer value )1728     public static native void glUniformMatrix2fv(
1729         int location,
1730         int count,
1731         boolean transpose,
1732         java.nio.FloatBuffer value
1733     );
1734 
1735     // C function void glUniformMatrix3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
1736 
glUniformMatrix3fv( int location, int count, boolean transpose, float[] value, int offset )1737     public static native void glUniformMatrix3fv(
1738         int location,
1739         int count,
1740         boolean transpose,
1741         float[] value,
1742         int offset
1743     );
1744 
1745     // C function void glUniformMatrix3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
1746 
glUniformMatrix3fv( int location, int count, boolean transpose, java.nio.FloatBuffer value )1747     public static native void glUniformMatrix3fv(
1748         int location,
1749         int count,
1750         boolean transpose,
1751         java.nio.FloatBuffer value
1752     );
1753 
1754     // C function void glUniformMatrix4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
1755 
glUniformMatrix4fv( int location, int count, boolean transpose, float[] value, int offset )1756     public static native void glUniformMatrix4fv(
1757         int location,
1758         int count,
1759         boolean transpose,
1760         float[] value,
1761         int offset
1762     );
1763 
1764     // C function void glUniformMatrix4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value )
1765 
glUniformMatrix4fv( int location, int count, boolean transpose, java.nio.FloatBuffer value )1766     public static native void glUniformMatrix4fv(
1767         int location,
1768         int count,
1769         boolean transpose,
1770         java.nio.FloatBuffer value
1771     );
1772 
1773     // C function void glUseProgram ( GLuint program )
1774 
glUseProgram( int program )1775     public static native void glUseProgram(
1776         int program
1777     );
1778 
1779     // C function void glValidateProgram ( GLuint program )
1780 
glValidateProgram( int program )1781     public static native void glValidateProgram(
1782         int program
1783     );
1784 
1785     // C function void glVertexAttrib1f ( GLuint indx, GLfloat x )
1786 
glVertexAttrib1f( int indx, float x )1787     public static native void glVertexAttrib1f(
1788         int indx,
1789         float x
1790     );
1791 
1792     // C function void glVertexAttrib1fv ( GLuint indx, const GLfloat *values )
1793 
glVertexAttrib1fv( int indx, float[] values, int offset )1794     public static native void glVertexAttrib1fv(
1795         int indx,
1796         float[] values,
1797         int offset
1798     );
1799 
1800     // C function void glVertexAttrib1fv ( GLuint indx, const GLfloat *values )
1801 
glVertexAttrib1fv( int indx, java.nio.FloatBuffer values )1802     public static native void glVertexAttrib1fv(
1803         int indx,
1804         java.nio.FloatBuffer values
1805     );
1806 
1807     // C function void glVertexAttrib2f ( GLuint indx, GLfloat x, GLfloat y )
1808 
glVertexAttrib2f( int indx, float x, float y )1809     public static native void glVertexAttrib2f(
1810         int indx,
1811         float x,
1812         float y
1813     );
1814 
1815     // C function void glVertexAttrib2fv ( GLuint indx, const GLfloat *values )
1816 
glVertexAttrib2fv( int indx, float[] values, int offset )1817     public static native void glVertexAttrib2fv(
1818         int indx,
1819         float[] values,
1820         int offset
1821     );
1822 
1823     // C function void glVertexAttrib2fv ( GLuint indx, const GLfloat *values )
1824 
glVertexAttrib2fv( int indx, java.nio.FloatBuffer values )1825     public static native void glVertexAttrib2fv(
1826         int indx,
1827         java.nio.FloatBuffer values
1828     );
1829 
1830     // C function void glVertexAttrib3f ( GLuint indx, GLfloat x, GLfloat y, GLfloat z )
1831 
glVertexAttrib3f( int indx, float x, float y, float z )1832     public static native void glVertexAttrib3f(
1833         int indx,
1834         float x,
1835         float y,
1836         float z
1837     );
1838 
1839     // C function void glVertexAttrib3fv ( GLuint indx, const GLfloat *values )
1840 
glVertexAttrib3fv( int indx, float[] values, int offset )1841     public static native void glVertexAttrib3fv(
1842         int indx,
1843         float[] values,
1844         int offset
1845     );
1846 
1847     // C function void glVertexAttrib3fv ( GLuint indx, const GLfloat *values )
1848 
glVertexAttrib3fv( int indx, java.nio.FloatBuffer values )1849     public static native void glVertexAttrib3fv(
1850         int indx,
1851         java.nio.FloatBuffer values
1852     );
1853 
1854     // C function void glVertexAttrib4f ( GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w )
1855 
glVertexAttrib4f( int indx, float x, float y, float z, float w )1856     public static native void glVertexAttrib4f(
1857         int indx,
1858         float x,
1859         float y,
1860         float z,
1861         float w
1862     );
1863 
1864     // C function void glVertexAttrib4fv ( GLuint indx, const GLfloat *values )
1865 
glVertexAttrib4fv( int indx, float[] values, int offset )1866     public static native void glVertexAttrib4fv(
1867         int indx,
1868         float[] values,
1869         int offset
1870     );
1871 
1872     // C function void glVertexAttrib4fv ( GLuint indx, const GLfloat *values )
1873 
glVertexAttrib4fv( int indx, java.nio.FloatBuffer values )1874     public static native void glVertexAttrib4fv(
1875         int indx,
1876         java.nio.FloatBuffer values
1877     );
1878 
1879     // C function void glVertexAttribPointer ( GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLint offset )
1880 
glVertexAttribPointer( int indx, int size, int type, boolean normalized, int stride, int offset )1881     public static native void glVertexAttribPointer(
1882         int indx,
1883         int size,
1884         int type,
1885         boolean normalized,
1886         int stride,
1887         int offset
1888     );
1889 
1890     // C function void glVertexAttribPointer ( GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *ptr )
1891 
glVertexAttribPointerBounds( int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr, int remaining )1892     private static native void glVertexAttribPointerBounds(
1893         int indx,
1894         int size,
1895         int type,
1896         boolean normalized,
1897         int stride,
1898         java.nio.Buffer ptr,
1899         int remaining
1900     );
1901 
glVertexAttribPointer( int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr )1902     public static void glVertexAttribPointer(
1903         int indx,
1904         int size,
1905         int type,
1906         boolean normalized,
1907         int stride,
1908         java.nio.Buffer ptr
1909     ) {
1910         glVertexAttribPointerBounds(
1911             indx,
1912             size,
1913             type,
1914             normalized,
1915             stride,
1916             ptr,
1917             ptr.remaining()
1918         );
1919     }
1920 
1921     // C function void glViewport ( GLint x, GLint y, GLsizei width, GLsizei height )
1922 
glViewport( int x, int y, int width, int height )1923     public static native void glViewport(
1924         int x,
1925         int y,
1926         int width,
1927         int height
1928     );
1929 
1930 }
1931