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 java.nio.Buffer;
23 
24 public class GLES11 extends GLES10 {
25     public static final int GL_ACTIVE_TEXTURE                          = 0x84E0;
26     public static final int GL_ADD_SIGNED                              = 0x8574;
27     public static final int GL_ALPHA_SCALE                             = 0x0D1C;
28     public static final int GL_ALPHA_TEST_FUNC                         = 0x0BC1;
29     public static final int GL_ALPHA_TEST_REF                          = 0x0BC2;
30     public static final int GL_ARRAY_BUFFER                            = 0x8892;
31     public static final int GL_ARRAY_BUFFER_BINDING                    = 0x8894;
32     public static final int GL_BLEND_DST                               = 0x0BE0;
33     public static final int GL_BLEND_SRC                               = 0x0BE1;
34     public static final int GL_BUFFER_ACCESS                           = 0x88BB;
35     public static final int GL_BUFFER_SIZE                             = 0x8764;
36     public static final int GL_BUFFER_USAGE                            = 0x8765;
37     public static final int GL_CLIENT_ACTIVE_TEXTURE                   = 0x84E1;
38     public static final int GL_CLIP_PLANE0                             = 0x3000;
39     public static final int GL_CLIP_PLANE1                             = 0x3001;
40     public static final int GL_CLIP_PLANE2                             = 0x3002;
41     public static final int GL_CLIP_PLANE3                             = 0x3003;
42     public static final int GL_CLIP_PLANE4                             = 0x3004;
43     public static final int GL_CLIP_PLANE5                             = 0x3005;
44     public static final int GL_COLOR_ARRAY_BUFFER_BINDING              = 0x8898;
45     public static final int GL_COLOR_ARRAY_POINTER                     = 0x8090;
46     public static final int GL_COLOR_ARRAY_SIZE                        = 0x8081;
47     public static final int GL_COLOR_ARRAY_STRIDE                      = 0x8083;
48     public static final int GL_COLOR_ARRAY_TYPE                        = 0x8082;
49     public static final int GL_COLOR_CLEAR_VALUE                       = 0x0C22;
50     public static final int GL_COLOR_WRITEMASK                         = 0x0C23;
51     public static final int GL_COMBINE                                 = 0x8570;
52     public static final int GL_COMBINE_ALPHA                           = 0x8572;
53     public static final int GL_COMBINE_RGB                             = 0x8571;
54     public static final int GL_CONSTANT                                = 0x8576;
55     public static final int GL_COORD_REPLACE_OES                       = 0x8862;
56     public static final int GL_CULL_FACE_MODE                          = 0x0B45;
57     public static final int GL_CURRENT_COLOR                           = 0x0B00;
58     public static final int GL_CURRENT_NORMAL                          = 0x0B02;
59     public static final int GL_CURRENT_TEXTURE_COORDS                  = 0x0B03;
60     public static final int GL_DEPTH_CLEAR_VALUE                       = 0x0B73;
61     public static final int GL_DEPTH_FUNC                              = 0x0B74;
62     public static final int GL_DEPTH_RANGE                             = 0x0B70;
63     public static final int GL_DEPTH_WRITEMASK                         = 0x0B72;
64     public static final int GL_DOT3_RGB                                = 0x86AE;
65     public static final int GL_DOT3_RGBA                               = 0x86AF;
66     public static final int GL_DYNAMIC_DRAW                            = 0x88E8;
67     public static final int GL_ELEMENT_ARRAY_BUFFER                    = 0x8893;
68     public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING            = 0x8895;
69     public static final int GL_FRONT_FACE                              = 0x0B46;
70     public static final int GL_GENERATE_MIPMAP                         = 0x8191;
71     public static final int GL_GENERATE_MIPMAP_HINT                    = 0x8192;
72     public static final int GL_INTERPOLATE                             = 0x8575;
73     public static final int GL_LINE_WIDTH                              = 0x0B21;
74     public static final int GL_LOGIC_OP_MODE                           = 0x0BF0;
75     public static final int GL_MATRIX_MODE                             = 0x0BA0;
76     public static final int GL_MAX_CLIP_PLANES                         = 0x0D32;
77     public static final int GL_MODELVIEW_MATRIX                        = 0x0BA6;
78     public static final int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES  = 0x898D;
79     public static final int GL_MODELVIEW_STACK_DEPTH                   = 0x0BA3;
80     public static final int GL_NORMAL_ARRAY_BUFFER_BINDING             = 0x8897;
81     public static final int GL_NORMAL_ARRAY_POINTER                    = 0x808F;
82     public static final int GL_NORMAL_ARRAY_STRIDE                     = 0x807F;
83     public static final int GL_NORMAL_ARRAY_TYPE                       = 0x807E;
84     public static final int GL_OPERAND0_ALPHA                          = 0x8598;
85     public static final int GL_OPERAND0_RGB                            = 0x8590;
86     public static final int GL_OPERAND1_ALPHA                          = 0x8599;
87     public static final int GL_OPERAND1_RGB                            = 0x8591;
88     public static final int GL_OPERAND2_ALPHA                          = 0x859A;
89     public static final int GL_OPERAND2_RGB                            = 0x8592;
90     public static final int GL_POINT_DISTANCE_ATTENUATION              = 0x8129;
91     public static final int GL_POINT_FADE_THRESHOLD_SIZE               = 0x8128;
92     public static final int GL_POINT_SIZE                              = 0x0B11;
93     public static final int GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES     = 0x8B9F;
94     public static final int GL_POINT_SIZE_ARRAY_OES                    = 0x8B9C;
95     public static final int GL_POINT_SIZE_ARRAY_POINTER_OES            = 0x898C;
96     public static final int GL_POINT_SIZE_ARRAY_STRIDE_OES             = 0x898B;
97     public static final int GL_POINT_SIZE_ARRAY_TYPE_OES               = 0x898A;
98     public static final int GL_POINT_SIZE_MAX                          = 0x8127;
99     public static final int GL_POINT_SIZE_MIN                          = 0x8126;
100     public static final int GL_POINT_SPRITE_OES                        = 0x8861;
101     public static final int GL_POLYGON_OFFSET_FACTOR                   = 0x8038;
102     public static final int GL_POLYGON_OFFSET_UNITS                    = 0x2A00;
103     public static final int GL_PREVIOUS                                = 0x8578;
104     public static final int GL_PRIMARY_COLOR                           = 0x8577;
105     public static final int GL_PROJECTION_MATRIX                       = 0x0BA7;
106     public static final int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E;
107     public static final int GL_PROJECTION_STACK_DEPTH                  = 0x0BA4;
108     public static final int GL_RGB_SCALE                               = 0x8573;
109     public static final int GL_SAMPLE_BUFFERS                          = 0x80A8;
110     public static final int GL_SAMPLE_COVERAGE_INVERT                  = 0x80AB;
111     public static final int GL_SAMPLE_COVERAGE_VALUE                   = 0x80AA;
112     public static final int GL_SAMPLES                                 = 0x80A9;
113     public static final int GL_SCISSOR_BOX                             = 0x0C10;
114     public static final int GL_SHADE_MODEL                             = 0x0B54;
115     public static final int GL_SRC0_ALPHA                              = 0x8588;
116     public static final int GL_SRC0_RGB                                = 0x8580;
117     public static final int GL_SRC1_ALPHA                              = 0x8589;
118     public static final int GL_SRC1_RGB                                = 0x8581;
119     public static final int GL_SRC2_ALPHA                              = 0x858A;
120     public static final int GL_SRC2_RGB                                = 0x8582;
121     public static final int GL_STATIC_DRAW                             = 0x88E4;
122     public static final int GL_STENCIL_CLEAR_VALUE                     = 0x0B91;
123     public static final int GL_STENCIL_FAIL                            = 0x0B94;
124     public static final int GL_STENCIL_FUNC                            = 0x0B92;
125     public static final int GL_STENCIL_PASS_DEPTH_FAIL                 = 0x0B95;
126     public static final int GL_STENCIL_PASS_DEPTH_PASS                 = 0x0B96;
127     public static final int GL_STENCIL_REF                             = 0x0B97;
128     public static final int GL_STENCIL_VALUE_MASK                      = 0x0B93;
129     public static final int GL_STENCIL_WRITEMASK                       = 0x0B98;
130     public static final int GL_SUBTRACT                                = 0x84E7;
131     public static final int GL_TEXTURE_BINDING_2D                      = 0x8069;
132     public static final int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING      = 0x889A;
133     public static final int GL_TEXTURE_COORD_ARRAY_POINTER             = 0x8092;
134     public static final int GL_TEXTURE_COORD_ARRAY_SIZE                = 0x8088;
135     public static final int GL_TEXTURE_COORD_ARRAY_STRIDE              = 0x808A;
136     public static final int GL_TEXTURE_COORD_ARRAY_TYPE                = 0x8089;
137     public static final int GL_TEXTURE_MATRIX                          = 0x0BA8;
138     public static final int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES    = 0x898F;
139     public static final int GL_TEXTURE_STACK_DEPTH                     = 0x0BA5;
140     public static final int GL_VERTEX_ARRAY_BUFFER_BINDING             = 0x8896;
141     public static final int GL_VERTEX_ARRAY_POINTER                    = 0x808E;
142     public static final int GL_VERTEX_ARRAY_SIZE                       = 0x807A;
143     public static final int GL_VERTEX_ARRAY_STRIDE                     = 0x807C;
144     public static final int GL_VERTEX_ARRAY_TYPE                       = 0x807B;
145     public static final int GL_VIEWPORT                                = 0x0BA2;
146     public static final int GL_WRITE_ONLY                              = 0x88B9;
147 
_nativeClassInit()148     native private static void _nativeClassInit();
149     static {
_nativeClassInit()150         _nativeClassInit();
151     }
152 
153     private static Buffer _pointSizePointerOES;
154     // C function void glBindBuffer ( GLenum target, GLuint buffer )
155 
glBindBuffer( int target, int buffer )156     public static native void glBindBuffer(
157         int target,
158         int buffer
159     );
160 
161     // C function void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage )
162 
glBufferData( int target, int size, java.nio.Buffer data, int usage )163     public static native void glBufferData(
164         int target,
165         int size,
166         java.nio.Buffer data,
167         int usage
168     );
169 
170     // C function void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data )
171 
glBufferSubData( int target, int offset, int size, java.nio.Buffer data )172     public static native void glBufferSubData(
173         int target,
174         int offset,
175         int size,
176         java.nio.Buffer data
177     );
178 
179     // C function void glClipPlanef ( GLenum plane, const GLfloat *equation )
180 
glClipPlanef( int plane, float[] equation, int offset )181     public static native void glClipPlanef(
182         int plane,
183         float[] equation,
184         int offset
185     );
186 
187     // C function void glClipPlanef ( GLenum plane, const GLfloat *equation )
188 
glClipPlanef( int plane, java.nio.FloatBuffer equation )189     public static native void glClipPlanef(
190         int plane,
191         java.nio.FloatBuffer equation
192     );
193 
194     // C function void glClipPlanex ( GLenum plane, const GLfixed *equation )
195 
glClipPlanex( int plane, int[] equation, int offset )196     public static native void glClipPlanex(
197         int plane,
198         int[] equation,
199         int offset
200     );
201 
202     // C function void glClipPlanex ( GLenum plane, const GLfixed *equation )
203 
glClipPlanex( int plane, java.nio.IntBuffer equation )204     public static native void glClipPlanex(
205         int plane,
206         java.nio.IntBuffer equation
207     );
208 
209     // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
210 
glColor4ub( byte red, byte green, byte blue, byte alpha )211     public static native void glColor4ub(
212         byte red,
213         byte green,
214         byte blue,
215         byte alpha
216     );
217 
218     // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
219 
glColorPointer( int size, int type, int stride, int offset )220     public static native void glColorPointer(
221         int size,
222         int type,
223         int stride,
224         int offset
225     );
226 
227     // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
228 
glDeleteBuffers( int n, int[] buffers, int offset )229     public static native void glDeleteBuffers(
230         int n,
231         int[] buffers,
232         int offset
233     );
234 
235     // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
236 
glDeleteBuffers( int n, java.nio.IntBuffer buffers )237     public static native void glDeleteBuffers(
238         int n,
239         java.nio.IntBuffer buffers
240     );
241 
242     // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset )
243 
glDrawElements( int mode, int count, int type, int offset )244     public static native void glDrawElements(
245         int mode,
246         int count,
247         int type,
248         int offset
249     );
250 
251     // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
252 
glGenBuffers( int n, int[] buffers, int offset )253     public static native void glGenBuffers(
254         int n,
255         int[] buffers,
256         int offset
257     );
258 
259     // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
260 
glGenBuffers( int n, java.nio.IntBuffer buffers )261     public static native void glGenBuffers(
262         int n,
263         java.nio.IntBuffer buffers
264     );
265 
266     // C function void glGetBooleanv ( GLenum pname, GLboolean *params )
267 
glGetBooleanv( int pname, boolean[] params, int offset )268     public static native void glGetBooleanv(
269         int pname,
270         boolean[] params,
271         int offset
272     );
273 
274     // C function void glGetBooleanv ( GLenum pname, GLboolean *params )
275 
glGetBooleanv( int pname, java.nio.IntBuffer params )276     public static native void glGetBooleanv(
277         int pname,
278         java.nio.IntBuffer params
279     );
280 
281     // C function void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params )
282 
glGetBufferParameteriv( int target, int pname, int[] params, int offset )283     public static native void glGetBufferParameteriv(
284         int target,
285         int pname,
286         int[] params,
287         int offset
288     );
289 
290     // C function void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params )
291 
glGetBufferParameteriv( int target, int pname, java.nio.IntBuffer params )292     public static native void glGetBufferParameteriv(
293         int target,
294         int pname,
295         java.nio.IntBuffer params
296     );
297 
298     // C function void glGetClipPlanef ( GLenum pname, GLfloat *eqn )
299 
glGetClipPlanef( int pname, float[] eqn, int offset )300     public static native void glGetClipPlanef(
301         int pname,
302         float[] eqn,
303         int offset
304     );
305 
306     // C function void glGetClipPlanef ( GLenum pname, GLfloat *eqn )
307 
glGetClipPlanef( int pname, java.nio.FloatBuffer eqn )308     public static native void glGetClipPlanef(
309         int pname,
310         java.nio.FloatBuffer eqn
311     );
312 
313     // C function void glGetClipPlanex ( GLenum pname, GLfixed *eqn )
314 
glGetClipPlanex( int pname, int[] eqn, int offset )315     public static native void glGetClipPlanex(
316         int pname,
317         int[] eqn,
318         int offset
319     );
320 
321     // C function void glGetClipPlanex ( GLenum pname, GLfixed *eqn )
322 
glGetClipPlanex( int pname, java.nio.IntBuffer eqn )323     public static native void glGetClipPlanex(
324         int pname,
325         java.nio.IntBuffer eqn
326     );
327 
328     // C function void glGetFixedv ( GLenum pname, GLfixed *params )
329 
glGetFixedv( int pname, int[] params, int offset )330     public static native void glGetFixedv(
331         int pname,
332         int[] params,
333         int offset
334     );
335 
336     // C function void glGetFixedv ( GLenum pname, GLfixed *params )
337 
glGetFixedv( int pname, java.nio.IntBuffer params )338     public static native void glGetFixedv(
339         int pname,
340         java.nio.IntBuffer params
341     );
342 
343     // C function void glGetFloatv ( GLenum pname, GLfloat *params )
344 
glGetFloatv( int pname, float[] params, int offset )345     public static native void glGetFloatv(
346         int pname,
347         float[] params,
348         int offset
349     );
350 
351     // C function void glGetFloatv ( GLenum pname, GLfloat *params )
352 
glGetFloatv( int pname, java.nio.FloatBuffer params )353     public static native void glGetFloatv(
354         int pname,
355         java.nio.FloatBuffer params
356     );
357 
358     // C function void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params )
359 
glGetLightfv( int light, int pname, float[] params, int offset )360     public static native void glGetLightfv(
361         int light,
362         int pname,
363         float[] params,
364         int offset
365     );
366 
367     // C function void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params )
368 
glGetLightfv( int light, int pname, java.nio.FloatBuffer params )369     public static native void glGetLightfv(
370         int light,
371         int pname,
372         java.nio.FloatBuffer params
373     );
374 
375     // C function void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params )
376 
glGetLightxv( int light, int pname, int[] params, int offset )377     public static native void glGetLightxv(
378         int light,
379         int pname,
380         int[] params,
381         int offset
382     );
383 
384     // C function void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params )
385 
glGetLightxv( int light, int pname, java.nio.IntBuffer params )386     public static native void glGetLightxv(
387         int light,
388         int pname,
389         java.nio.IntBuffer params
390     );
391 
392     // C function void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params )
393 
glGetMaterialfv( int face, int pname, float[] params, int offset )394     public static native void glGetMaterialfv(
395         int face,
396         int pname,
397         float[] params,
398         int offset
399     );
400 
401     // C function void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params )
402 
glGetMaterialfv( int face, int pname, java.nio.FloatBuffer params )403     public static native void glGetMaterialfv(
404         int face,
405         int pname,
406         java.nio.FloatBuffer params
407     );
408 
409     // C function void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params )
410 
glGetMaterialxv( int face, int pname, int[] params, int offset )411     public static native void glGetMaterialxv(
412         int face,
413         int pname,
414         int[] params,
415         int offset
416     );
417 
418     // C function void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params )
419 
glGetMaterialxv( int face, int pname, java.nio.IntBuffer params )420     public static native void glGetMaterialxv(
421         int face,
422         int pname,
423         java.nio.IntBuffer params
424     );
425 
426     // C function void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params )
427 
glGetTexEnvfv( int env, int pname, float[] params, int offset )428     public static native void glGetTexEnvfv(
429         int env,
430         int pname,
431         float[] params,
432         int offset
433     );
434 
435     // C function void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params )
436 
glGetTexEnvfv( int env, int pname, java.nio.FloatBuffer params )437     public static native void glGetTexEnvfv(
438         int env,
439         int pname,
440         java.nio.FloatBuffer params
441     );
442 
443     // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params )
444 
glGetTexEnviv( int env, int pname, int[] params, int offset )445     public static native void glGetTexEnviv(
446         int env,
447         int pname,
448         int[] params,
449         int offset
450     );
451 
452     // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params )
453 
glGetTexEnviv( int env, int pname, java.nio.IntBuffer params )454     public static native void glGetTexEnviv(
455         int env,
456         int pname,
457         java.nio.IntBuffer params
458     );
459 
460     // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params )
461 
glGetTexEnvxv( int env, int pname, int[] params, int offset )462     public static native void glGetTexEnvxv(
463         int env,
464         int pname,
465         int[] params,
466         int offset
467     );
468 
469     // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params )
470 
glGetTexEnvxv( int env, int pname, java.nio.IntBuffer params )471     public static native void glGetTexEnvxv(
472         int env,
473         int pname,
474         java.nio.IntBuffer params
475     );
476 
477     // C function void glGetTexParameterfv ( GLenum target, GLenum pname, GLfloat *params )
478 
glGetTexParameterfv( int target, int pname, float[] params, int offset )479     public static native void glGetTexParameterfv(
480         int target,
481         int pname,
482         float[] params,
483         int offset
484     );
485 
486     // C function void glGetTexParameterfv ( GLenum target, GLenum pname, GLfloat *params )
487 
glGetTexParameterfv( int target, int pname, java.nio.FloatBuffer params )488     public static native void glGetTexParameterfv(
489         int target,
490         int pname,
491         java.nio.FloatBuffer params
492     );
493 
494     // C function void glGetTexParameteriv ( GLenum target, GLenum pname, GLint *params )
495 
glGetTexParameteriv( int target, int pname, int[] params, int offset )496     public static native void glGetTexParameteriv(
497         int target,
498         int pname,
499         int[] params,
500         int offset
501     );
502 
503     // C function void glGetTexParameteriv ( GLenum target, GLenum pname, GLint *params )
504 
glGetTexParameteriv( int target, int pname, java.nio.IntBuffer params )505     public static native void glGetTexParameteriv(
506         int target,
507         int pname,
508         java.nio.IntBuffer params
509     );
510 
511     // C function void glGetTexParameterxv ( GLenum target, GLenum pname, GLfixed *params )
512 
glGetTexParameterxv( int target, int pname, int[] params, int offset )513     public static native void glGetTexParameterxv(
514         int target,
515         int pname,
516         int[] params,
517         int offset
518     );
519 
520     // C function void glGetTexParameterxv ( GLenum target, GLenum pname, GLfixed *params )
521 
glGetTexParameterxv( int target, int pname, java.nio.IntBuffer params )522     public static native void glGetTexParameterxv(
523         int target,
524         int pname,
525         java.nio.IntBuffer params
526     );
527 
528     // C function GLboolean glIsBuffer ( GLuint buffer )
529 
glIsBuffer( int buffer )530     public static native boolean glIsBuffer(
531         int buffer
532     );
533 
534     // C function GLboolean glIsEnabled ( GLenum cap )
535 
glIsEnabled( int cap )536     public static native boolean glIsEnabled(
537         int cap
538     );
539 
540     // C function GLboolean glIsTexture ( GLuint texture )
541 
glIsTexture( int texture )542     public static native boolean glIsTexture(
543         int texture
544     );
545 
546     // C function void glNormalPointer ( GLenum type, GLsizei stride, GLint offset )
547 
glNormalPointer( int type, int stride, int offset )548     public static native void glNormalPointer(
549         int type,
550         int stride,
551         int offset
552     );
553 
554     // C function void glPointParameterf ( GLenum pname, GLfloat param )
555 
glPointParameterf( int pname, float param )556     public static native void glPointParameterf(
557         int pname,
558         float param
559     );
560 
561     // C function void glPointParameterfv ( GLenum pname, const GLfloat *params )
562 
glPointParameterfv( int pname, float[] params, int offset )563     public static native void glPointParameterfv(
564         int pname,
565         float[] params,
566         int offset
567     );
568 
569     // C function void glPointParameterfv ( GLenum pname, const GLfloat *params )
570 
glPointParameterfv( int pname, java.nio.FloatBuffer params )571     public static native void glPointParameterfv(
572         int pname,
573         java.nio.FloatBuffer params
574     );
575 
576     // C function void glPointParameterx ( GLenum pname, GLfixed param )
577 
glPointParameterx( int pname, int param )578     public static native void glPointParameterx(
579         int pname,
580         int param
581     );
582 
583     // C function void glPointParameterxv ( GLenum pname, const GLfixed *params )
584 
glPointParameterxv( int pname, int[] params, int offset )585     public static native void glPointParameterxv(
586         int pname,
587         int[] params,
588         int offset
589     );
590 
591     // C function void glPointParameterxv ( GLenum pname, const GLfixed *params )
592 
glPointParameterxv( int pname, java.nio.IntBuffer params )593     public static native void glPointParameterxv(
594         int pname,
595         java.nio.IntBuffer params
596     );
597 
598     // C function void glPointSizePointerOES ( GLenum type, GLsizei stride, const GLvoid *pointer )
599 
glPointSizePointerOESBounds( int type, int stride, java.nio.Buffer pointer, int remaining )600     private static native void glPointSizePointerOESBounds(
601         int type,
602         int stride,
603         java.nio.Buffer pointer,
604         int remaining
605     );
606 
glPointSizePointerOES( int type, int stride, java.nio.Buffer pointer )607     public static void glPointSizePointerOES(
608         int type,
609         int stride,
610         java.nio.Buffer pointer
611     ) {
612         glPointSizePointerOESBounds(
613             type,
614             stride,
615             pointer,
616             pointer.remaining()
617         );
618         if (((type == GL_FLOAT) ||
619              (type == GL_FIXED)) &&
620             (stride >= 0)) {
621             _pointSizePointerOES = pointer;
622         }
623     }
624 
625     // C function void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
626 
glTexCoordPointer( int size, int type, int stride, int offset )627     public static native void glTexCoordPointer(
628         int size,
629         int type,
630         int stride,
631         int offset
632     );
633 
634     // C function void glTexEnvi ( GLenum target, GLenum pname, GLint param )
635 
glTexEnvi( int target, int pname, int param )636     public static native void glTexEnvi(
637         int target,
638         int pname,
639         int param
640     );
641 
642     // C function void glTexEnviv ( GLenum target, GLenum pname, const GLint *params )
643 
glTexEnviv( int target, int pname, int[] params, int offset )644     public static native void glTexEnviv(
645         int target,
646         int pname,
647         int[] params,
648         int offset
649     );
650 
651     // C function void glTexEnviv ( GLenum target, GLenum pname, const GLint *params )
652 
glTexEnviv( int target, int pname, java.nio.IntBuffer params )653     public static native void glTexEnviv(
654         int target,
655         int pname,
656         java.nio.IntBuffer params
657     );
658 
659     // C function void glTexParameterfv ( GLenum target, GLenum pname, const GLfloat *params )
660 
glTexParameterfv( int target, int pname, float[] params, int offset )661     public static native void glTexParameterfv(
662         int target,
663         int pname,
664         float[] params,
665         int offset
666     );
667 
668     // C function void glTexParameterfv ( GLenum target, GLenum pname, const GLfloat *params )
669 
glTexParameterfv( int target, int pname, java.nio.FloatBuffer params )670     public static native void glTexParameterfv(
671         int target,
672         int pname,
673         java.nio.FloatBuffer params
674     );
675 
676     // C function void glTexParameteri ( GLenum target, GLenum pname, GLint param )
677 
glTexParameteri( int target, int pname, int param )678     public static native void glTexParameteri(
679         int target,
680         int pname,
681         int param
682     );
683 
684     // C function void glTexParameteriv ( GLenum target, GLenum pname, const GLint *params )
685 
glTexParameteriv( int target, int pname, int[] params, int offset )686     public static native void glTexParameteriv(
687         int target,
688         int pname,
689         int[] params,
690         int offset
691     );
692 
693     // C function void glTexParameteriv ( GLenum target, GLenum pname, const GLint *params )
694 
glTexParameteriv( int target, int pname, java.nio.IntBuffer params )695     public static native void glTexParameteriv(
696         int target,
697         int pname,
698         java.nio.IntBuffer params
699     );
700 
701     // C function void glTexParameterxv ( GLenum target, GLenum pname, const GLfixed *params )
702 
glTexParameterxv( int target, int pname, int[] params, int offset )703     public static native void glTexParameterxv(
704         int target,
705         int pname,
706         int[] params,
707         int offset
708     );
709 
710     // C function void glTexParameterxv ( GLenum target, GLenum pname, const GLfixed *params )
711 
glTexParameterxv( int target, int pname, java.nio.IntBuffer params )712     public static native void glTexParameterxv(
713         int target,
714         int pname,
715         java.nio.IntBuffer params
716     );
717 
718     // C function void glVertexPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
719 
glVertexPointer( int size, int type, int stride, int offset )720     public static native void glVertexPointer(
721         int size,
722         int type,
723         int stride,
724         int offset
725     );
726 
727 }
728