1 /* //device/java/android/com/google/android/gles_jni/GLImpl.java
2 **
3 ** Copyright 2006, 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 com.google.android.gles_jni;
21 
22 import android.app.AppGlobals;
23 import android.compat.annotation.UnsupportedAppUsage;
24 import android.content.pm.ApplicationInfo;
25 import android.content.pm.IPackageManager;
26 import android.os.Build;
27 import android.os.UserHandle;
28 import android.util.Log;
29 
30 import java.nio.Buffer;
31 
32 import javax.microedition.khronos.opengles.GL10;
33 import javax.microedition.khronos.opengles.GL10Ext;
34 import javax.microedition.khronos.opengles.GL11;
35 import javax.microedition.khronos.opengles.GL11Ext;
36 import javax.microedition.khronos.opengles.GL11ExtensionPack;
37 
38 public class GLImpl implements GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack {
39 
40     // Private accessors for native code
41 
_nativeClassInit()42     native private static void _nativeClassInit();
43     static {
_nativeClassInit()44         _nativeClassInit();
45     }
46 
47     Buffer _colorPointer = null;
48     Buffer _normalPointer = null;
49     Buffer _texCoordPointer = null;
50     Buffer _vertexPointer = null;
51     Buffer _pointSizePointerOES = null;
52     Buffer _matrixIndexPointerOES = null;
53     Buffer _weightPointerOES = null;
54 
55     private boolean haveCheckedExtensions;
56     private boolean have_OES_blend_equation_separate;
57     private boolean have_OES_blend_subtract;
58     private boolean have_OES_framebuffer_object;
59     private boolean have_OES_texture_cube_map;
60 
61     @UnsupportedAppUsage
GLImpl()62     public GLImpl() {
63     }
64 
glGetPointerv(int pname, java.nio.Buffer[] params)65     public void glGetPointerv(int pname, java.nio.Buffer[] params) {
66         throw new UnsupportedOperationException("glGetPointerv");
67     }
68 
allowIndirectBuffers(String appName)69     private static boolean allowIndirectBuffers(String appName) {
70         boolean result = false;
71         int version = 0;
72         IPackageManager pm = AppGlobals.getPackageManager();
73         try {
74             ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId());
75             if (applicationInfo != null) {
76                 version = applicationInfo.targetSdkVersion;
77             }
78         } catch (android.os.RemoteException e) {
79             // ignore
80         }
81         Log.e("OpenGLES", String.format(
82             "Application %s (SDK target %d) called a GL11 Pointer method with an indirect Buffer.",
83             appName, version));
84         if (version <= Build.VERSION_CODES.CUPCAKE) {
85             result = true;
86         }
87         return result;
88     }
89 
90     // C function void glActiveTexture ( GLenum texture )
91 
glActiveTexture( int texture )92     public native void glActiveTexture(
93         int texture
94     );
95 
96     // C function void glAlphaFunc ( GLenum func, GLclampf ref )
97 
glAlphaFunc( int func, float ref )98     public native void glAlphaFunc(
99         int func,
100         float ref
101     );
102 
103     // C function void glAlphaFuncx ( GLenum func, GLclampx ref )
104 
glAlphaFuncx( int func, int ref )105     public native void glAlphaFuncx(
106         int func,
107         int ref
108     );
109 
110     // C function void glBindTexture ( GLenum target, GLuint texture )
111 
glBindTexture( int target, int texture )112     public native void glBindTexture(
113         int target,
114         int texture
115     );
116 
117     // C function void glBlendFunc ( GLenum sfactor, GLenum dfactor )
118 
glBlendFunc( int sfactor, int dfactor )119     public native void glBlendFunc(
120         int sfactor,
121         int dfactor
122     );
123 
124     // C function void glClear ( GLbitfield mask )
125 
glClear( int mask )126     public native void glClear(
127         int mask
128     );
129 
130     // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
131 
glClearColor( float red, float green, float blue, float alpha )132     public native void glClearColor(
133         float red,
134         float green,
135         float blue,
136         float alpha
137     );
138 
139     // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
140 
glClearColorx( int red, int green, int blue, int alpha )141     public native void glClearColorx(
142         int red,
143         int green,
144         int blue,
145         int alpha
146     );
147 
148     // C function void glClearDepthf ( GLclampf depth )
149 
glClearDepthf( float depth )150     public native void glClearDepthf(
151         float depth
152     );
153 
154     // C function void glClearDepthx ( GLclampx depth )
155 
glClearDepthx( int depth )156     public native void glClearDepthx(
157         int depth
158     );
159 
160     // C function void glClearStencil ( GLint s )
161 
glClearStencil( int s )162     public native void glClearStencil(
163         int s
164     );
165 
166     // C function void glClientActiveTexture ( GLenum texture )
167 
glClientActiveTexture( int texture )168     public native void glClientActiveTexture(
169         int texture
170     );
171 
172     // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
173 
glColor4f( float red, float green, float blue, float alpha )174     public native void glColor4f(
175         float red,
176         float green,
177         float blue,
178         float alpha
179     );
180 
181     // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
182 
glColor4x( int red, int green, int blue, int alpha )183     public native void glColor4x(
184         int red,
185         int green,
186         int blue,
187         int alpha
188     );
189 
190     // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
191 
glColorMask( boolean red, boolean green, boolean blue, boolean alpha )192     public native void glColorMask(
193         boolean red,
194         boolean green,
195         boolean blue,
196         boolean alpha
197     );
198 
199     // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
200 
glColorPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining )201     private native void glColorPointerBounds(
202         int size,
203         int type,
204         int stride,
205         java.nio.Buffer pointer,
206         int remaining
207     );
208 
glColorPointer( int size, int type, int stride, java.nio.Buffer pointer )209     public void glColorPointer(
210         int size,
211         int type,
212         int stride,
213         java.nio.Buffer pointer
214     ) {
215         glColorPointerBounds(
216             size,
217             type,
218             stride,
219             pointer,
220             pointer.remaining()
221         );
222         if ((size == 4) &&
223             ((type == GL_FLOAT) ||
224              (type == GL_UNSIGNED_BYTE) ||
225              (type == GL_FIXED)) &&
226             (stride >= 0)) {
227             _colorPointer = pointer;
228         }
229     }
230 
231     // C function void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
232 
glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data )233     public native void glCompressedTexImage2D(
234         int target,
235         int level,
236         int internalformat,
237         int width,
238         int height,
239         int border,
240         int imageSize,
241         java.nio.Buffer data
242     );
243 
244     // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
245 
glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data )246     public native void glCompressedTexSubImage2D(
247         int target,
248         int level,
249         int xoffset,
250         int yoffset,
251         int width,
252         int height,
253         int format,
254         int imageSize,
255         java.nio.Buffer data
256     );
257 
258     // C function void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
259 
glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border )260     public native void glCopyTexImage2D(
261         int target,
262         int level,
263         int internalformat,
264         int x,
265         int y,
266         int width,
267         int height,
268         int border
269     );
270 
271     // C function void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height )
272 
glCopyTexSubImage2D( int target, int level, int xoffset, int yoffset, int x, int y, int width, int height )273     public native void glCopyTexSubImage2D(
274         int target,
275         int level,
276         int xoffset,
277         int yoffset,
278         int x,
279         int y,
280         int width,
281         int height
282     );
283 
284     // C function void glCullFace ( GLenum mode )
285 
glCullFace( int mode )286     public native void glCullFace(
287         int mode
288     );
289 
290     // C function void glDeleteTextures ( GLsizei n, const GLuint *textures )
291 
glDeleteTextures( int n, int[] textures, int offset )292     public native void glDeleteTextures(
293         int n,
294         int[] textures,
295         int offset
296     );
297 
298     // C function void glDeleteTextures ( GLsizei n, const GLuint *textures )
299 
glDeleteTextures( int n, java.nio.IntBuffer textures )300     public native void glDeleteTextures(
301         int n,
302         java.nio.IntBuffer textures
303     );
304 
305     // C function void glDepthFunc ( GLenum func )
306 
glDepthFunc( int func )307     public native void glDepthFunc(
308         int func
309     );
310 
311     // C function void glDepthMask ( GLboolean flag )
312 
glDepthMask( boolean flag )313     public native void glDepthMask(
314         boolean flag
315     );
316 
317     // C function void glDepthRangef ( GLclampf zNear, GLclampf zFar )
318 
glDepthRangef( float zNear, float zFar )319     public native void glDepthRangef(
320         float zNear,
321         float zFar
322     );
323 
324     // C function void glDepthRangex ( GLclampx zNear, GLclampx zFar )
325 
glDepthRangex( int zNear, int zFar )326     public native void glDepthRangex(
327         int zNear,
328         int zFar
329     );
330 
331     // C function void glDisable ( GLenum cap )
332 
glDisable( int cap )333     public native void glDisable(
334         int cap
335     );
336 
337     // C function void glDisableClientState ( GLenum array )
338 
glDisableClientState( int array )339     public native void glDisableClientState(
340         int array
341     );
342 
343     // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count )
344 
glDrawArrays( int mode, int first, int count )345     public native void glDrawArrays(
346         int mode,
347         int first,
348         int count
349     );
350 
351     // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
352 
glDrawElements( int mode, int count, int type, java.nio.Buffer indices )353     public native void glDrawElements(
354         int mode,
355         int count,
356         int type,
357         java.nio.Buffer indices
358     );
359 
360     // C function void glEnable ( GLenum cap )
361 
glEnable( int cap )362     public native void glEnable(
363         int cap
364     );
365 
366     // C function void glEnableClientState ( GLenum array )
367 
glEnableClientState( int array )368     public native void glEnableClientState(
369         int array
370     );
371 
372     // C function void glFinish ( void )
373 
glFinish( )374     public native void glFinish(
375     );
376 
377     // C function void glFlush ( void )
378 
glFlush( )379     public native void glFlush(
380     );
381 
382     // C function void glFogf ( GLenum pname, GLfloat param )
383 
glFogf( int pname, float param )384     public native void glFogf(
385         int pname,
386         float param
387     );
388 
389     // C function void glFogfv ( GLenum pname, const GLfloat *params )
390 
glFogfv( int pname, float[] params, int offset )391     public native void glFogfv(
392         int pname,
393         float[] params,
394         int offset
395     );
396 
397     // C function void glFogfv ( GLenum pname, const GLfloat *params )
398 
glFogfv( int pname, java.nio.FloatBuffer params )399     public native void glFogfv(
400         int pname,
401         java.nio.FloatBuffer params
402     );
403 
404     // C function void glFogx ( GLenum pname, GLfixed param )
405 
glFogx( int pname, int param )406     public native void glFogx(
407         int pname,
408         int param
409     );
410 
411     // C function void glFogxv ( GLenum pname, const GLfixed *params )
412 
glFogxv( int pname, int[] params, int offset )413     public native void glFogxv(
414         int pname,
415         int[] params,
416         int offset
417     );
418 
419     // C function void glFogxv ( GLenum pname, const GLfixed *params )
420 
glFogxv( int pname, java.nio.IntBuffer params )421     public native void glFogxv(
422         int pname,
423         java.nio.IntBuffer params
424     );
425 
426     // C function void glFrontFace ( GLenum mode )
427 
glFrontFace( int mode )428     public native void glFrontFace(
429         int mode
430     );
431 
432     // C function void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
433 
glFrustumf( float left, float right, float bottom, float top, float zNear, float zFar )434     public native void glFrustumf(
435         float left,
436         float right,
437         float bottom,
438         float top,
439         float zNear,
440         float zFar
441     );
442 
443     // C function void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
444 
glFrustumx( int left, int right, int bottom, int top, int zNear, int zFar )445     public native void glFrustumx(
446         int left,
447         int right,
448         int bottom,
449         int top,
450         int zNear,
451         int zFar
452     );
453 
454     // C function void glGenTextures ( GLsizei n, GLuint *textures )
455 
glGenTextures( int n, int[] textures, int offset )456     public native void glGenTextures(
457         int n,
458         int[] textures,
459         int offset
460     );
461 
462     // C function void glGenTextures ( GLsizei n, GLuint *textures )
463 
glGenTextures( int n, java.nio.IntBuffer textures )464     public native void glGenTextures(
465         int n,
466         java.nio.IntBuffer textures
467     );
468 
469     // C function GLenum glGetError ( void )
470 
glGetError( )471     public native int glGetError(
472     );
473 
474     // C function void glGetIntegerv ( GLenum pname, GLint *params )
475 
glGetIntegerv( int pname, int[] params, int offset )476     public native void glGetIntegerv(
477         int pname,
478         int[] params,
479         int offset
480     );
481 
482     // C function void glGetIntegerv ( GLenum pname, GLint *params )
483 
glGetIntegerv( int pname, java.nio.IntBuffer params )484     public native void glGetIntegerv(
485         int pname,
486         java.nio.IntBuffer params
487     );
488 
489     // C function const GLubyte * glGetString ( GLenum name )
490 
_glGetString( int name )491     public native String _glGetString(
492         int name
493     );
494 
glGetString( int name )495     public String glGetString(
496         int name
497     ) {
498         String returnValue;
499         returnValue = _glGetString(
500             name
501         );
502         return returnValue;
503     }
504 
505     // C function void glHint ( GLenum target, GLenum mode )
506 
glHint( int target, int mode )507     public native void glHint(
508         int target,
509         int mode
510     );
511 
512     // C function void glLightModelf ( GLenum pname, GLfloat param )
513 
glLightModelf( int pname, float param )514     public native void glLightModelf(
515         int pname,
516         float param
517     );
518 
519     // C function void glLightModelfv ( GLenum pname, const GLfloat *params )
520 
glLightModelfv( int pname, float[] params, int offset )521     public native void glLightModelfv(
522         int pname,
523         float[] params,
524         int offset
525     );
526 
527     // C function void glLightModelfv ( GLenum pname, const GLfloat *params )
528 
glLightModelfv( int pname, java.nio.FloatBuffer params )529     public native void glLightModelfv(
530         int pname,
531         java.nio.FloatBuffer params
532     );
533 
534     // C function void glLightModelx ( GLenum pname, GLfixed param )
535 
glLightModelx( int pname, int param )536     public native void glLightModelx(
537         int pname,
538         int param
539     );
540 
541     // C function void glLightModelxv ( GLenum pname, const GLfixed *params )
542 
glLightModelxv( int pname, int[] params, int offset )543     public native void glLightModelxv(
544         int pname,
545         int[] params,
546         int offset
547     );
548 
549     // C function void glLightModelxv ( GLenum pname, const GLfixed *params )
550 
glLightModelxv( int pname, java.nio.IntBuffer params )551     public native void glLightModelxv(
552         int pname,
553         java.nio.IntBuffer params
554     );
555 
556     // C function void glLightf ( GLenum light, GLenum pname, GLfloat param )
557 
glLightf( int light, int pname, float param )558     public native void glLightf(
559         int light,
560         int pname,
561         float param
562     );
563 
564     // C function void glLightfv ( GLenum light, GLenum pname, const GLfloat *params )
565 
glLightfv( int light, int pname, float[] params, int offset )566     public native void glLightfv(
567         int light,
568         int pname,
569         float[] params,
570         int offset
571     );
572 
573     // C function void glLightfv ( GLenum light, GLenum pname, const GLfloat *params )
574 
glLightfv( int light, int pname, java.nio.FloatBuffer params )575     public native void glLightfv(
576         int light,
577         int pname,
578         java.nio.FloatBuffer params
579     );
580 
581     // C function void glLightx ( GLenum light, GLenum pname, GLfixed param )
582 
glLightx( int light, int pname, int param )583     public native void glLightx(
584         int light,
585         int pname,
586         int param
587     );
588 
589     // C function void glLightxv ( GLenum light, GLenum pname, const GLfixed *params )
590 
glLightxv( int light, int pname, int[] params, int offset )591     public native void glLightxv(
592         int light,
593         int pname,
594         int[] params,
595         int offset
596     );
597 
598     // C function void glLightxv ( GLenum light, GLenum pname, const GLfixed *params )
599 
glLightxv( int light, int pname, java.nio.IntBuffer params )600     public native void glLightxv(
601         int light,
602         int pname,
603         java.nio.IntBuffer params
604     );
605 
606     // C function void glLineWidth ( GLfloat width )
607 
glLineWidth( float width )608     public native void glLineWidth(
609         float width
610     );
611 
612     // C function void glLineWidthx ( GLfixed width )
613 
glLineWidthx( int width )614     public native void glLineWidthx(
615         int width
616     );
617 
618     // C function void glLoadIdentity ( void )
619 
glLoadIdentity( )620     public native void glLoadIdentity(
621     );
622 
623     // C function void glLoadMatrixf ( const GLfloat *m )
624 
glLoadMatrixf( float[] m, int offset )625     public native void glLoadMatrixf(
626         float[] m,
627         int offset
628     );
629 
630     // C function void glLoadMatrixf ( const GLfloat *m )
631 
glLoadMatrixf( java.nio.FloatBuffer m )632     public native void glLoadMatrixf(
633         java.nio.FloatBuffer m
634     );
635 
636     // C function void glLoadMatrixx ( const GLfixed *m )
637 
glLoadMatrixx( int[] m, int offset )638     public native void glLoadMatrixx(
639         int[] m,
640         int offset
641     );
642 
643     // C function void glLoadMatrixx ( const GLfixed *m )
644 
glLoadMatrixx( java.nio.IntBuffer m )645     public native void glLoadMatrixx(
646         java.nio.IntBuffer m
647     );
648 
649     // C function void glLogicOp ( GLenum opcode )
650 
glLogicOp( int opcode )651     public native void glLogicOp(
652         int opcode
653     );
654 
655     // C function void glMaterialf ( GLenum face, GLenum pname, GLfloat param )
656 
glMaterialf( int face, int pname, float param )657     public native void glMaterialf(
658         int face,
659         int pname,
660         float param
661     );
662 
663     // C function void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params )
664 
glMaterialfv( int face, int pname, float[] params, int offset )665     public native void glMaterialfv(
666         int face,
667         int pname,
668         float[] params,
669         int offset
670     );
671 
672     // C function void glMaterialfv ( GLenum face, GLenum pname, const GLfloat *params )
673 
glMaterialfv( int face, int pname, java.nio.FloatBuffer params )674     public native void glMaterialfv(
675         int face,
676         int pname,
677         java.nio.FloatBuffer params
678     );
679 
680     // C function void glMaterialx ( GLenum face, GLenum pname, GLfixed param )
681 
glMaterialx( int face, int pname, int param )682     public native void glMaterialx(
683         int face,
684         int pname,
685         int param
686     );
687 
688     // C function void glMaterialxv ( GLenum face, GLenum pname, const GLfixed *params )
689 
glMaterialxv( int face, int pname, int[] params, int offset )690     public native void glMaterialxv(
691         int face,
692         int pname,
693         int[] params,
694         int offset
695     );
696 
697     // C function void glMaterialxv ( GLenum face, GLenum pname, const GLfixed *params )
698 
glMaterialxv( int face, int pname, java.nio.IntBuffer params )699     public native void glMaterialxv(
700         int face,
701         int pname,
702         java.nio.IntBuffer params
703     );
704 
705     // C function void glMatrixMode ( GLenum mode )
706 
glMatrixMode( int mode )707     public native void glMatrixMode(
708         int mode
709     );
710 
711     // C function void glMultMatrixf ( const GLfloat *m )
712 
glMultMatrixf( float[] m, int offset )713     public native void glMultMatrixf(
714         float[] m,
715         int offset
716     );
717 
718     // C function void glMultMatrixf ( const GLfloat *m )
719 
glMultMatrixf( java.nio.FloatBuffer m )720     public native void glMultMatrixf(
721         java.nio.FloatBuffer m
722     );
723 
724     // C function void glMultMatrixx ( const GLfixed *m )
725 
glMultMatrixx( int[] m, int offset )726     public native void glMultMatrixx(
727         int[] m,
728         int offset
729     );
730 
731     // C function void glMultMatrixx ( const GLfixed *m )
732 
glMultMatrixx( java.nio.IntBuffer m )733     public native void glMultMatrixx(
734         java.nio.IntBuffer m
735     );
736 
737     // C function void glMultiTexCoord4f ( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q )
738 
glMultiTexCoord4f( int target, float s, float t, float r, float q )739     public native void glMultiTexCoord4f(
740         int target,
741         float s,
742         float t,
743         float r,
744         float q
745     );
746 
747     // C function void glMultiTexCoord4x ( GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q )
748 
glMultiTexCoord4x( int target, int s, int t, int r, int q )749     public native void glMultiTexCoord4x(
750         int target,
751         int s,
752         int t,
753         int r,
754         int q
755     );
756 
757     // C function void glNormal3f ( GLfloat nx, GLfloat ny, GLfloat nz )
758 
glNormal3f( float nx, float ny, float nz )759     public native void glNormal3f(
760         float nx,
761         float ny,
762         float nz
763     );
764 
765     // C function void glNormal3x ( GLfixed nx, GLfixed ny, GLfixed nz )
766 
glNormal3x( int nx, int ny, int nz )767     public native void glNormal3x(
768         int nx,
769         int ny,
770         int nz
771     );
772 
773     // C function void glNormalPointer ( GLenum type, GLsizei stride, const GLvoid *pointer )
774 
glNormalPointerBounds( int type, int stride, java.nio.Buffer pointer, int remaining )775     private native void glNormalPointerBounds(
776         int type,
777         int stride,
778         java.nio.Buffer pointer,
779         int remaining
780     );
781 
glNormalPointer( int type, int stride, java.nio.Buffer pointer )782     public void glNormalPointer(
783         int type,
784         int stride,
785         java.nio.Buffer pointer
786     ) {
787         glNormalPointerBounds(
788             type,
789             stride,
790             pointer,
791             pointer.remaining()
792         );
793         if (((type == GL_FLOAT) ||
794              (type == GL_BYTE) ||
795              (type == GL_SHORT) ||
796              (type == GL_FIXED)) &&
797             (stride >= 0)) {
798             _normalPointer = pointer;
799         }
800     }
801 
802     // C function void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
803 
glOrthof( float left, float right, float bottom, float top, float zNear, float zFar )804     public native void glOrthof(
805         float left,
806         float right,
807         float bottom,
808         float top,
809         float zNear,
810         float zFar
811     );
812 
813     // C function void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
814 
glOrthox( int left, int right, int bottom, int top, int zNear, int zFar )815     public native void glOrthox(
816         int left,
817         int right,
818         int bottom,
819         int top,
820         int zNear,
821         int zFar
822     );
823 
824     // C function void glPixelStorei ( GLenum pname, GLint param )
825 
glPixelStorei( int pname, int param )826     public native void glPixelStorei(
827         int pname,
828         int param
829     );
830 
831     // C function void glPointSize ( GLfloat size )
832 
glPointSize( float size )833     public native void glPointSize(
834         float size
835     );
836 
837     // C function void glPointSizex ( GLfixed size )
838 
glPointSizex( int size )839     public native void glPointSizex(
840         int size
841     );
842 
843     // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
844 
glPolygonOffset( float factor, float units )845     public native void glPolygonOffset(
846         float factor,
847         float units
848     );
849 
850     // C function void glPolygonOffsetx ( GLfixed factor, GLfixed units )
851 
glPolygonOffsetx( int factor, int units )852     public native void glPolygonOffsetx(
853         int factor,
854         int units
855     );
856 
857     // C function void glPopMatrix ( void )
858 
glPopMatrix( )859     public native void glPopMatrix(
860     );
861 
862     // C function void glPushMatrix ( void )
863 
glPushMatrix( )864     public native void glPushMatrix(
865     );
866 
867     // C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
868 
glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels )869     public native void glReadPixels(
870         int x,
871         int y,
872         int width,
873         int height,
874         int format,
875         int type,
876         java.nio.Buffer pixels
877     );
878 
879     // C function void glRotatef ( GLfloat angle, GLfloat x, GLfloat y, GLfloat z )
880 
glRotatef( float angle, float x, float y, float z )881     public native void glRotatef(
882         float angle,
883         float x,
884         float y,
885         float z
886     );
887 
888     // C function void glRotatex ( GLfixed angle, GLfixed x, GLfixed y, GLfixed z )
889 
glRotatex( int angle, int x, int y, int z )890     public native void glRotatex(
891         int angle,
892         int x,
893         int y,
894         int z
895     );
896 
897     // C function void glSampleCoverage ( GLclampf value, GLboolean invert )
898 
glSampleCoverage( float value, boolean invert )899     public native void glSampleCoverage(
900         float value,
901         boolean invert
902     );
903 
904     // C function void glSampleCoveragex ( GLclampx value, GLboolean invert )
905 
glSampleCoveragex( int value, boolean invert )906     public native void glSampleCoveragex(
907         int value,
908         boolean invert
909     );
910 
911     // C function void glScalef ( GLfloat x, GLfloat y, GLfloat z )
912 
glScalef( float x, float y, float z )913     public native void glScalef(
914         float x,
915         float y,
916         float z
917     );
918 
919     // C function void glScalex ( GLfixed x, GLfixed y, GLfixed z )
920 
glScalex( int x, int y, int z )921     public native void glScalex(
922         int x,
923         int y,
924         int z
925     );
926 
927     // C function void glScissor ( GLint x, GLint y, GLsizei width, GLsizei height )
928 
glScissor( int x, int y, int width, int height )929     public native void glScissor(
930         int x,
931         int y,
932         int width,
933         int height
934     );
935 
936     // C function void glShadeModel ( GLenum mode )
937 
glShadeModel( int mode )938     public native void glShadeModel(
939         int mode
940     );
941 
942     // C function void glStencilFunc ( GLenum func, GLint ref, GLuint mask )
943 
glStencilFunc( int func, int ref, int mask )944     public native void glStencilFunc(
945         int func,
946         int ref,
947         int mask
948     );
949 
950     // C function void glStencilMask ( GLuint mask )
951 
glStencilMask( int mask )952     public native void glStencilMask(
953         int mask
954     );
955 
956     // C function void glStencilOp ( GLenum fail, GLenum zfail, GLenum zpass )
957 
glStencilOp( int fail, int zfail, int zpass )958     public native void glStencilOp(
959         int fail,
960         int zfail,
961         int zpass
962     );
963 
964     // C function void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
965 
glTexCoordPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining )966     private native void glTexCoordPointerBounds(
967         int size,
968         int type,
969         int stride,
970         java.nio.Buffer pointer,
971         int remaining
972     );
973 
glTexCoordPointer( int size, int type, int stride, java.nio.Buffer pointer )974     public void glTexCoordPointer(
975         int size,
976         int type,
977         int stride,
978         java.nio.Buffer pointer
979     ) {
980         glTexCoordPointerBounds(
981             size,
982             type,
983             stride,
984             pointer,
985             pointer.remaining()
986         );
987         if (((size == 2) ||
988              (size == 3) ||
989              (size == 4)) &&
990             ((type == GL_FLOAT) ||
991              (type == GL_BYTE) ||
992              (type == GL_SHORT) ||
993              (type == GL_FIXED)) &&
994             (stride >= 0)) {
995             _texCoordPointer = pointer;
996         }
997     }
998 
999     // C function void glTexEnvf ( GLenum target, GLenum pname, GLfloat param )
1000 
glTexEnvf( int target, int pname, float param )1001     public native void glTexEnvf(
1002         int target,
1003         int pname,
1004         float param
1005     );
1006 
1007     // C function void glTexEnvfv ( GLenum target, GLenum pname, const GLfloat *params )
1008 
glTexEnvfv( int target, int pname, float[] params, int offset )1009     public native void glTexEnvfv(
1010         int target,
1011         int pname,
1012         float[] params,
1013         int offset
1014     );
1015 
1016     // C function void glTexEnvfv ( GLenum target, GLenum pname, const GLfloat *params )
1017 
glTexEnvfv( int target, int pname, java.nio.FloatBuffer params )1018     public native void glTexEnvfv(
1019         int target,
1020         int pname,
1021         java.nio.FloatBuffer params
1022     );
1023 
1024     // C function void glTexEnvx ( GLenum target, GLenum pname, GLfixed param )
1025 
glTexEnvx( int target, int pname, int param )1026     public native void glTexEnvx(
1027         int target,
1028         int pname,
1029         int param
1030     );
1031 
1032     // C function void glTexEnvxv ( GLenum target, GLenum pname, const GLfixed *params )
1033 
glTexEnvxv( int target, int pname, int[] params, int offset )1034     public native void glTexEnvxv(
1035         int target,
1036         int pname,
1037         int[] params,
1038         int offset
1039     );
1040 
1041     // C function void glTexEnvxv ( GLenum target, GLenum pname, const GLfixed *params )
1042 
glTexEnvxv( int target, int pname, java.nio.IntBuffer params )1043     public native void glTexEnvxv(
1044         int target,
1045         int pname,
1046         java.nio.IntBuffer params
1047     );
1048 
1049     // C function void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
1050 
glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels )1051     public native void glTexImage2D(
1052         int target,
1053         int level,
1054         int internalformat,
1055         int width,
1056         int height,
1057         int border,
1058         int format,
1059         int type,
1060         java.nio.Buffer pixels
1061     );
1062 
1063     // C function void glTexParameterf ( GLenum target, GLenum pname, GLfloat param )
1064 
glTexParameterf( int target, int pname, float param )1065     public native void glTexParameterf(
1066         int target,
1067         int pname,
1068         float param
1069     );
1070 
1071     // C function void glTexParameterx ( GLenum target, GLenum pname, GLfixed param )
1072 
glTexParameterx( int target, int pname, int param )1073     public native void glTexParameterx(
1074         int target,
1075         int pname,
1076         int param
1077     );
1078 
1079     // C function void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
1080 
glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels )1081     public native void glTexSubImage2D(
1082         int target,
1083         int level,
1084         int xoffset,
1085         int yoffset,
1086         int width,
1087         int height,
1088         int format,
1089         int type,
1090         java.nio.Buffer pixels
1091     );
1092 
1093     // C function void glTranslatef ( GLfloat x, GLfloat y, GLfloat z )
1094 
glTranslatef( float x, float y, float z )1095     public native void glTranslatef(
1096         float x,
1097         float y,
1098         float z
1099     );
1100 
1101     // C function void glTranslatex ( GLfixed x, GLfixed y, GLfixed z )
1102 
glTranslatex( int x, int y, int z )1103     public native void glTranslatex(
1104         int x,
1105         int y,
1106         int z
1107     );
1108 
1109     // C function void glVertexPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
1110 
glVertexPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining )1111     private native void glVertexPointerBounds(
1112         int size,
1113         int type,
1114         int stride,
1115         java.nio.Buffer pointer,
1116         int remaining
1117     );
1118 
glVertexPointer( int size, int type, int stride, java.nio.Buffer pointer )1119     public void glVertexPointer(
1120         int size,
1121         int type,
1122         int stride,
1123         java.nio.Buffer pointer
1124     ) {
1125         glVertexPointerBounds(
1126             size,
1127             type,
1128             stride,
1129             pointer,
1130             pointer.remaining()
1131         );
1132         if (((size == 2) ||
1133              (size == 3) ||
1134              (size == 4)) &&
1135             ((type == GL_FLOAT) ||
1136              (type == GL_BYTE) ||
1137              (type == GL_SHORT) ||
1138              (type == GL_FIXED)) &&
1139             (stride >= 0)) {
1140             _vertexPointer = pointer;
1141         }
1142     }
1143 
1144     // C function void glViewport ( GLint x, GLint y, GLsizei width, GLsizei height )
1145 
glViewport( int x, int y, int width, int height )1146     public native void glViewport(
1147         int x,
1148         int y,
1149         int width,
1150         int height
1151     );
1152 
1153     // C function GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
1154 
glQueryMatrixxOES( int[] mantissa, int mantissaOffset, int[] exponent, int exponentOffset )1155     public native int glQueryMatrixxOES(
1156         int[] mantissa,
1157         int mantissaOffset,
1158         int[] exponent,
1159         int exponentOffset
1160     );
1161 
1162     // C function GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent )
1163 
glQueryMatrixxOES( java.nio.IntBuffer mantissa, java.nio.IntBuffer exponent )1164     public native int glQueryMatrixxOES(
1165         java.nio.IntBuffer mantissa,
1166         java.nio.IntBuffer exponent
1167     );
1168 
1169     // C function void glBindBuffer ( GLenum target, GLuint buffer )
1170 
glBindBuffer( int target, int buffer )1171     public native void glBindBuffer(
1172         int target,
1173         int buffer
1174     );
1175 
1176     // C function void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage )
1177 
glBufferData( int target, int size, java.nio.Buffer data, int usage )1178     public native void glBufferData(
1179         int target,
1180         int size,
1181         java.nio.Buffer data,
1182         int usage
1183     );
1184 
1185     // C function void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data )
1186 
glBufferSubData( int target, int offset, int size, java.nio.Buffer data )1187     public native void glBufferSubData(
1188         int target,
1189         int offset,
1190         int size,
1191         java.nio.Buffer data
1192     );
1193 
1194     // C function void glClipPlanef ( GLenum plane, const GLfloat *equation )
1195 
glClipPlanef( int plane, float[] equation, int offset )1196     public native void glClipPlanef(
1197         int plane,
1198         float[] equation,
1199         int offset
1200     );
1201 
1202     // C function void glClipPlanef ( GLenum plane, const GLfloat *equation )
1203 
glClipPlanef( int plane, java.nio.FloatBuffer equation )1204     public native void glClipPlanef(
1205         int plane,
1206         java.nio.FloatBuffer equation
1207     );
1208 
1209     // C function void glClipPlanex ( GLenum plane, const GLfixed *equation )
1210 
glClipPlanex( int plane, int[] equation, int offset )1211     public native void glClipPlanex(
1212         int plane,
1213         int[] equation,
1214         int offset
1215     );
1216 
1217     // C function void glClipPlanex ( GLenum plane, const GLfixed *equation )
1218 
glClipPlanex( int plane, java.nio.IntBuffer equation )1219     public native void glClipPlanex(
1220         int plane,
1221         java.nio.IntBuffer equation
1222     );
1223 
1224     // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
1225 
glColor4ub( byte red, byte green, byte blue, byte alpha )1226     public native void glColor4ub(
1227         byte red,
1228         byte green,
1229         byte blue,
1230         byte alpha
1231     );
1232 
1233     // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
1234 
glColorPointer( int size, int type, int stride, int offset )1235     public native void glColorPointer(
1236         int size,
1237         int type,
1238         int stride,
1239         int offset
1240     );
1241 
1242     // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
1243 
glDeleteBuffers( int n, int[] buffers, int offset )1244     public native void glDeleteBuffers(
1245         int n,
1246         int[] buffers,
1247         int offset
1248     );
1249 
1250     // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
1251 
glDeleteBuffers( int n, java.nio.IntBuffer buffers )1252     public native void glDeleteBuffers(
1253         int n,
1254         java.nio.IntBuffer buffers
1255     );
1256 
1257     // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset )
1258 
glDrawElements( int mode, int count, int type, int offset )1259     public native void glDrawElements(
1260         int mode,
1261         int count,
1262         int type,
1263         int offset
1264     );
1265 
1266     // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
1267 
glGenBuffers( int n, int[] buffers, int offset )1268     public native void glGenBuffers(
1269         int n,
1270         int[] buffers,
1271         int offset
1272     );
1273 
1274     // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
1275 
glGenBuffers( int n, java.nio.IntBuffer buffers )1276     public native void glGenBuffers(
1277         int n,
1278         java.nio.IntBuffer buffers
1279     );
1280 
1281     // C function void glGetBooleanv ( GLenum pname, GLboolean *params )
1282 
glGetBooleanv( int pname, boolean[] params, int offset )1283     public native void glGetBooleanv(
1284         int pname,
1285         boolean[] params,
1286         int offset
1287     );
1288 
1289     // C function void glGetBooleanv ( GLenum pname, GLboolean *params )
1290 
glGetBooleanv( int pname, java.nio.IntBuffer params )1291     public native void glGetBooleanv(
1292         int pname,
1293         java.nio.IntBuffer params
1294     );
1295 
1296     // C function void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params )
1297 
glGetBufferParameteriv( int target, int pname, int[] params, int offset )1298     public native void glGetBufferParameteriv(
1299         int target,
1300         int pname,
1301         int[] params,
1302         int offset
1303     );
1304 
1305     // C function void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params )
1306 
glGetBufferParameteriv( int target, int pname, java.nio.IntBuffer params )1307     public native void glGetBufferParameteriv(
1308         int target,
1309         int pname,
1310         java.nio.IntBuffer params
1311     );
1312 
1313     // C function void glGetClipPlanef ( GLenum pname, GLfloat *eqn )
1314 
glGetClipPlanef( int pname, float[] eqn, int offset )1315     public native void glGetClipPlanef(
1316         int pname,
1317         float[] eqn,
1318         int offset
1319     );
1320 
1321     // C function void glGetClipPlanef ( GLenum pname, GLfloat *eqn )
1322 
glGetClipPlanef( int pname, java.nio.FloatBuffer eqn )1323     public native void glGetClipPlanef(
1324         int pname,
1325         java.nio.FloatBuffer eqn
1326     );
1327 
1328     // C function void glGetClipPlanex ( GLenum pname, GLfixed *eqn )
1329 
glGetClipPlanex( int pname, int[] eqn, int offset )1330     public native void glGetClipPlanex(
1331         int pname,
1332         int[] eqn,
1333         int offset
1334     );
1335 
1336     // C function void glGetClipPlanex ( GLenum pname, GLfixed *eqn )
1337 
glGetClipPlanex( int pname, java.nio.IntBuffer eqn )1338     public native void glGetClipPlanex(
1339         int pname,
1340         java.nio.IntBuffer eqn
1341     );
1342 
1343     // C function void glGetFixedv ( GLenum pname, GLfixed *params )
1344 
glGetFixedv( int pname, int[] params, int offset )1345     public native void glGetFixedv(
1346         int pname,
1347         int[] params,
1348         int offset
1349     );
1350 
1351     // C function void glGetFixedv ( GLenum pname, GLfixed *params )
1352 
glGetFixedv( int pname, java.nio.IntBuffer params )1353     public native void glGetFixedv(
1354         int pname,
1355         java.nio.IntBuffer params
1356     );
1357 
1358     // C function void glGetFloatv ( GLenum pname, GLfloat *params )
1359 
glGetFloatv( int pname, float[] params, int offset )1360     public native void glGetFloatv(
1361         int pname,
1362         float[] params,
1363         int offset
1364     );
1365 
1366     // C function void glGetFloatv ( GLenum pname, GLfloat *params )
1367 
glGetFloatv( int pname, java.nio.FloatBuffer params )1368     public native void glGetFloatv(
1369         int pname,
1370         java.nio.FloatBuffer params
1371     );
1372 
1373     // C function void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params )
1374 
glGetLightfv( int light, int pname, float[] params, int offset )1375     public native void glGetLightfv(
1376         int light,
1377         int pname,
1378         float[] params,
1379         int offset
1380     );
1381 
1382     // C function void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params )
1383 
glGetLightfv( int light, int pname, java.nio.FloatBuffer params )1384     public native void glGetLightfv(
1385         int light,
1386         int pname,
1387         java.nio.FloatBuffer params
1388     );
1389 
1390     // C function void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params )
1391 
glGetLightxv( int light, int pname, int[] params, int offset )1392     public native void glGetLightxv(
1393         int light,
1394         int pname,
1395         int[] params,
1396         int offset
1397     );
1398 
1399     // C function void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params )
1400 
glGetLightxv( int light, int pname, java.nio.IntBuffer params )1401     public native void glGetLightxv(
1402         int light,
1403         int pname,
1404         java.nio.IntBuffer params
1405     );
1406 
1407     // C function void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params )
1408 
glGetMaterialfv( int face, int pname, float[] params, int offset )1409     public native void glGetMaterialfv(
1410         int face,
1411         int pname,
1412         float[] params,
1413         int offset
1414     );
1415 
1416     // C function void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params )
1417 
glGetMaterialfv( int face, int pname, java.nio.FloatBuffer params )1418     public native void glGetMaterialfv(
1419         int face,
1420         int pname,
1421         java.nio.FloatBuffer params
1422     );
1423 
1424     // C function void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params )
1425 
glGetMaterialxv( int face, int pname, int[] params, int offset )1426     public native void glGetMaterialxv(
1427         int face,
1428         int pname,
1429         int[] params,
1430         int offset
1431     );
1432 
1433     // C function void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params )
1434 
glGetMaterialxv( int face, int pname, java.nio.IntBuffer params )1435     public native void glGetMaterialxv(
1436         int face,
1437         int pname,
1438         java.nio.IntBuffer params
1439     );
1440 
1441     // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params )
1442 
glGetTexEnviv( int env, int pname, int[] params, int offset )1443     public native void glGetTexEnviv(
1444         int env,
1445         int pname,
1446         int[] params,
1447         int offset
1448     );
1449 
1450     // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params )
1451 
glGetTexEnviv( int env, int pname, java.nio.IntBuffer params )1452     public native void glGetTexEnviv(
1453         int env,
1454         int pname,
1455         java.nio.IntBuffer params
1456     );
1457 
1458     // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params )
1459 
glGetTexEnvxv( int env, int pname, int[] params, int offset )1460     public native void glGetTexEnvxv(
1461         int env,
1462         int pname,
1463         int[] params,
1464         int offset
1465     );
1466 
1467     // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params )
1468 
glGetTexEnvxv( int env, int pname, java.nio.IntBuffer params )1469     public native void glGetTexEnvxv(
1470         int env,
1471         int pname,
1472         java.nio.IntBuffer params
1473     );
1474 
1475     // C function void glGetTexParameterfv ( GLenum target, GLenum pname, GLfloat *params )
1476 
glGetTexParameterfv( int target, int pname, float[] params, int offset )1477     public native void glGetTexParameterfv(
1478         int target,
1479         int pname,
1480         float[] params,
1481         int offset
1482     );
1483 
1484     // C function void glGetTexParameterfv ( GLenum target, GLenum pname, GLfloat *params )
1485 
glGetTexParameterfv( int target, int pname, java.nio.FloatBuffer params )1486     public native void glGetTexParameterfv(
1487         int target,
1488         int pname,
1489         java.nio.FloatBuffer params
1490     );
1491 
1492     // C function void glGetTexParameteriv ( GLenum target, GLenum pname, GLint *params )
1493 
glGetTexParameteriv( int target, int pname, int[] params, int offset )1494     public native void glGetTexParameteriv(
1495         int target,
1496         int pname,
1497         int[] params,
1498         int offset
1499     );
1500 
1501     // C function void glGetTexParameteriv ( GLenum target, GLenum pname, GLint *params )
1502 
glGetTexParameteriv( int target, int pname, java.nio.IntBuffer params )1503     public native void glGetTexParameteriv(
1504         int target,
1505         int pname,
1506         java.nio.IntBuffer params
1507     );
1508 
1509     // C function void glGetTexParameterxv ( GLenum target, GLenum pname, GLfixed *params )
1510 
glGetTexParameterxv( int target, int pname, int[] params, int offset )1511     public native void glGetTexParameterxv(
1512         int target,
1513         int pname,
1514         int[] params,
1515         int offset
1516     );
1517 
1518     // C function void glGetTexParameterxv ( GLenum target, GLenum pname, GLfixed *params )
1519 
glGetTexParameterxv( int target, int pname, java.nio.IntBuffer params )1520     public native void glGetTexParameterxv(
1521         int target,
1522         int pname,
1523         java.nio.IntBuffer params
1524     );
1525 
1526     // C function GLboolean glIsBuffer ( GLuint buffer )
1527 
glIsBuffer( int buffer )1528     public native boolean glIsBuffer(
1529         int buffer
1530     );
1531 
1532     // C function GLboolean glIsEnabled ( GLenum cap )
1533 
glIsEnabled( int cap )1534     public native boolean glIsEnabled(
1535         int cap
1536     );
1537 
1538     // C function GLboolean glIsTexture ( GLuint texture )
1539 
glIsTexture( int texture )1540     public native boolean glIsTexture(
1541         int texture
1542     );
1543 
1544     // C function void glNormalPointer ( GLenum type, GLsizei stride, GLint offset )
1545 
glNormalPointer( int type, int stride, int offset )1546     public native void glNormalPointer(
1547         int type,
1548         int stride,
1549         int offset
1550     );
1551 
1552     // C function void glPointParameterf ( GLenum pname, GLfloat param )
1553 
glPointParameterf( int pname, float param )1554     public native void glPointParameterf(
1555         int pname,
1556         float param
1557     );
1558 
1559     // C function void glPointParameterfv ( GLenum pname, const GLfloat *params )
1560 
glPointParameterfv( int pname, float[] params, int offset )1561     public native void glPointParameterfv(
1562         int pname,
1563         float[] params,
1564         int offset
1565     );
1566 
1567     // C function void glPointParameterfv ( GLenum pname, const GLfloat *params )
1568 
glPointParameterfv( int pname, java.nio.FloatBuffer params )1569     public native void glPointParameterfv(
1570         int pname,
1571         java.nio.FloatBuffer params
1572     );
1573 
1574     // C function void glPointParameterx ( GLenum pname, GLfixed param )
1575 
glPointParameterx( int pname, int param )1576     public native void glPointParameterx(
1577         int pname,
1578         int param
1579     );
1580 
1581     // C function void glPointParameterxv ( GLenum pname, const GLfixed *params )
1582 
glPointParameterxv( int pname, int[] params, int offset )1583     public native void glPointParameterxv(
1584         int pname,
1585         int[] params,
1586         int offset
1587     );
1588 
1589     // C function void glPointParameterxv ( GLenum pname, const GLfixed *params )
1590 
glPointParameterxv( int pname, java.nio.IntBuffer params )1591     public native void glPointParameterxv(
1592         int pname,
1593         java.nio.IntBuffer params
1594     );
1595 
1596     // C function void glPointSizePointerOES ( GLenum type, GLsizei stride, const GLvoid *pointer )
1597 
glPointSizePointerOESBounds( int type, int stride, java.nio.Buffer pointer, int remaining )1598     private native void glPointSizePointerOESBounds(
1599         int type,
1600         int stride,
1601         java.nio.Buffer pointer,
1602         int remaining
1603     );
1604 
glPointSizePointerOES( int type, int stride, java.nio.Buffer pointer )1605     public void glPointSizePointerOES(
1606         int type,
1607         int stride,
1608         java.nio.Buffer pointer
1609     ) {
1610         glPointSizePointerOESBounds(
1611             type,
1612             stride,
1613             pointer,
1614             pointer.remaining()
1615         );
1616         if (((type == GL_FLOAT) ||
1617              (type == GL_FIXED)) &&
1618             (stride >= 0)) {
1619             _pointSizePointerOES = pointer;
1620         }
1621     }
1622 
1623     // C function void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
1624 
glTexCoordPointer( int size, int type, int stride, int offset )1625     public native void glTexCoordPointer(
1626         int size,
1627         int type,
1628         int stride,
1629         int offset
1630     );
1631 
1632     // C function void glTexEnvi ( GLenum target, GLenum pname, GLint param )
1633 
glTexEnvi( int target, int pname, int param )1634     public native void glTexEnvi(
1635         int target,
1636         int pname,
1637         int param
1638     );
1639 
1640     // C function void glTexEnviv ( GLenum target, GLenum pname, const GLint *params )
1641 
glTexEnviv( int target, int pname, int[] params, int offset )1642     public native void glTexEnviv(
1643         int target,
1644         int pname,
1645         int[] params,
1646         int offset
1647     );
1648 
1649     // C function void glTexEnviv ( GLenum target, GLenum pname, const GLint *params )
1650 
glTexEnviv( int target, int pname, java.nio.IntBuffer params )1651     public native void glTexEnviv(
1652         int target,
1653         int pname,
1654         java.nio.IntBuffer params
1655     );
1656 
1657     // C function void glTexParameterfv ( GLenum target, GLenum pname, const GLfloat *params )
1658 
glTexParameterfv( int target, int pname, float[] params, int offset )1659     public native void glTexParameterfv(
1660         int target,
1661         int pname,
1662         float[] params,
1663         int offset
1664     );
1665 
1666     // C function void glTexParameterfv ( GLenum target, GLenum pname, const GLfloat *params )
1667 
glTexParameterfv( int target, int pname, java.nio.FloatBuffer params )1668     public native void glTexParameterfv(
1669         int target,
1670         int pname,
1671         java.nio.FloatBuffer params
1672     );
1673 
1674     // C function void glTexParameteri ( GLenum target, GLenum pname, GLint param )
1675 
glTexParameteri( int target, int pname, int param )1676     public native void glTexParameteri(
1677         int target,
1678         int pname,
1679         int param
1680     );
1681 
1682     // C function void glTexParameteriv ( GLenum target, GLenum pname, const GLint *params )
1683 
glTexParameteriv( int target, int pname, int[] params, int offset )1684     public native void glTexParameteriv(
1685         int target,
1686         int pname,
1687         int[] params,
1688         int offset
1689     );
1690 
1691     // C function void glTexParameteriv ( GLenum target, GLenum pname, const GLint *params )
1692 
glTexParameteriv( int target, int pname, java.nio.IntBuffer params )1693     public native void glTexParameteriv(
1694         int target,
1695         int pname,
1696         java.nio.IntBuffer params
1697     );
1698 
1699     // C function void glTexParameterxv ( GLenum target, GLenum pname, const GLfixed *params )
1700 
glTexParameterxv( int target, int pname, int[] params, int offset )1701     public native void glTexParameterxv(
1702         int target,
1703         int pname,
1704         int[] params,
1705         int offset
1706     );
1707 
1708     // C function void glTexParameterxv ( GLenum target, GLenum pname, const GLfixed *params )
1709 
glTexParameterxv( int target, int pname, java.nio.IntBuffer params )1710     public native void glTexParameterxv(
1711         int target,
1712         int pname,
1713         java.nio.IntBuffer params
1714     );
1715 
1716     // C function void glVertexPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
1717 
glVertexPointer( int size, int type, int stride, int offset )1718     public native void glVertexPointer(
1719         int size,
1720         int type,
1721         int stride,
1722         int offset
1723     );
1724 
1725     // C function void glCurrentPaletteMatrixOES ( GLuint matrixpaletteindex )
1726 
glCurrentPaletteMatrixOES( int matrixpaletteindex )1727     public native void glCurrentPaletteMatrixOES(
1728         int matrixpaletteindex
1729     );
1730 
1731     // C function void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height )
1732 
glDrawTexfOES( float x, float y, float z, float width, float height )1733     public native void glDrawTexfOES(
1734         float x,
1735         float y,
1736         float z,
1737         float width,
1738         float height
1739     );
1740 
1741     // C function void glDrawTexfvOES ( const GLfloat *coords )
1742 
glDrawTexfvOES( float[] coords, int offset )1743     public native void glDrawTexfvOES(
1744         float[] coords,
1745         int offset
1746     );
1747 
1748     // C function void glDrawTexfvOES ( const GLfloat *coords )
1749 
glDrawTexfvOES( java.nio.FloatBuffer coords )1750     public native void glDrawTexfvOES(
1751         java.nio.FloatBuffer coords
1752     );
1753 
1754     // C function void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height )
1755 
glDrawTexiOES( int x, int y, int z, int width, int height )1756     public native void glDrawTexiOES(
1757         int x,
1758         int y,
1759         int z,
1760         int width,
1761         int height
1762     );
1763 
1764     // C function void glDrawTexivOES ( const GLint *coords )
1765 
glDrawTexivOES( int[] coords, int offset )1766     public native void glDrawTexivOES(
1767         int[] coords,
1768         int offset
1769     );
1770 
1771     // C function void glDrawTexivOES ( const GLint *coords )
1772 
glDrawTexivOES( java.nio.IntBuffer coords )1773     public native void glDrawTexivOES(
1774         java.nio.IntBuffer coords
1775     );
1776 
1777     // C function void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height )
1778 
glDrawTexsOES( short x, short y, short z, short width, short height )1779     public native void glDrawTexsOES(
1780         short x,
1781         short y,
1782         short z,
1783         short width,
1784         short height
1785     );
1786 
1787     // C function void glDrawTexsvOES ( const GLshort *coords )
1788 
glDrawTexsvOES( short[] coords, int offset )1789     public native void glDrawTexsvOES(
1790         short[] coords,
1791         int offset
1792     );
1793 
1794     // C function void glDrawTexsvOES ( const GLshort *coords )
1795 
glDrawTexsvOES( java.nio.ShortBuffer coords )1796     public native void glDrawTexsvOES(
1797         java.nio.ShortBuffer coords
1798     );
1799 
1800     // C function void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height )
1801 
glDrawTexxOES( int x, int y, int z, int width, int height )1802     public native void glDrawTexxOES(
1803         int x,
1804         int y,
1805         int z,
1806         int width,
1807         int height
1808     );
1809 
1810     // C function void glDrawTexxvOES ( const GLfixed *coords )
1811 
glDrawTexxvOES( int[] coords, int offset )1812     public native void glDrawTexxvOES(
1813         int[] coords,
1814         int offset
1815     );
1816 
1817     // C function void glDrawTexxvOES ( const GLfixed *coords )
1818 
glDrawTexxvOES( java.nio.IntBuffer coords )1819     public native void glDrawTexxvOES(
1820         java.nio.IntBuffer coords
1821     );
1822 
1823     // C function void glLoadPaletteFromModelViewMatrixOES ( void )
1824 
glLoadPaletteFromModelViewMatrixOES( )1825     public native void glLoadPaletteFromModelViewMatrixOES(
1826     );
1827 
1828     // C function void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
1829 
glMatrixIndexPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining )1830     private native void glMatrixIndexPointerOESBounds(
1831         int size,
1832         int type,
1833         int stride,
1834         java.nio.Buffer pointer,
1835         int remaining
1836     );
1837 
glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer )1838     public void glMatrixIndexPointerOES(
1839         int size,
1840         int type,
1841         int stride,
1842         java.nio.Buffer pointer
1843     ) {
1844         glMatrixIndexPointerOESBounds(
1845             size,
1846             type,
1847             stride,
1848             pointer,
1849             pointer.remaining()
1850         );
1851         if (((size == 2) ||
1852              (size == 3) ||
1853              (size == 4)) &&
1854             ((type == GL_FLOAT) ||
1855              (type == GL_BYTE) ||
1856              (type == GL_SHORT) ||
1857              (type == GL_FIXED)) &&
1858             (stride >= 0)) {
1859             _matrixIndexPointerOES = pointer;
1860         }
1861     }
1862 
1863     // C function void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, GLint offset )
1864 
glMatrixIndexPointerOES( int size, int type, int stride, int offset )1865     public native void glMatrixIndexPointerOES(
1866         int size,
1867         int type,
1868         int stride,
1869         int offset
1870     );
1871 
1872     // C function void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
1873 
glWeightPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining )1874     private native void glWeightPointerOESBounds(
1875         int size,
1876         int type,
1877         int stride,
1878         java.nio.Buffer pointer,
1879         int remaining
1880     );
1881 
glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer )1882     public void glWeightPointerOES(
1883         int size,
1884         int type,
1885         int stride,
1886         java.nio.Buffer pointer
1887     ) {
1888         glWeightPointerOESBounds(
1889             size,
1890             type,
1891             stride,
1892             pointer,
1893             pointer.remaining()
1894         );
1895     }
1896 
1897     // C function void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, GLint offset )
1898 
glWeightPointerOES( int size, int type, int stride, int offset )1899     public native void glWeightPointerOES(
1900         int size,
1901         int type,
1902         int stride,
1903         int offset
1904     );
1905 
1906     // C function void glBindFramebufferOES ( GLint target, GLint framebuffer )
1907 
glBindFramebufferOES( int target, int framebuffer )1908     public native void glBindFramebufferOES(
1909         int target,
1910         int framebuffer
1911     );
1912 
1913     // C function void glBindRenderbufferOES ( GLint target, GLint renderbuffer )
1914 
glBindRenderbufferOES( int target, int renderbuffer )1915     public native void glBindRenderbufferOES(
1916         int target,
1917         int renderbuffer
1918     );
1919 
1920     // C function void glBlendEquation ( GLint mode )
1921 
glBlendEquation( int mode )1922     public native void glBlendEquation(
1923         int mode
1924     );
1925 
1926     // C function void glBlendEquationSeparate ( GLint modeRGB, GLint modeAlpha )
1927 
glBlendEquationSeparate( int modeRGB, int modeAlpha )1928     public native void glBlendEquationSeparate(
1929         int modeRGB,
1930         int modeAlpha
1931     );
1932 
1933     // C function void glBlendFuncSeparate ( GLint srcRGB, GLint dstRGB, GLint srcAlpha, GLint dstAlpha )
1934 
glBlendFuncSeparate( int srcRGB, int dstRGB, int srcAlpha, int dstAlpha )1935     public native void glBlendFuncSeparate(
1936         int srcRGB,
1937         int dstRGB,
1938         int srcAlpha,
1939         int dstAlpha
1940     );
1941 
1942     // C function GLint glCheckFramebufferStatusOES ( GLint target )
1943 
glCheckFramebufferStatusOES( int target )1944     public native int glCheckFramebufferStatusOES(
1945         int target
1946     );
1947 
1948     // C function void glDeleteFramebuffersOES ( GLint n, GLuint *framebuffers )
1949 
glDeleteFramebuffersOES( int n, int[] framebuffers, int offset )1950     public native void glDeleteFramebuffersOES(
1951         int n,
1952         int[] framebuffers,
1953         int offset
1954     );
1955 
1956     // C function void glDeleteFramebuffersOES ( GLint n, GLuint *framebuffers )
1957 
glDeleteFramebuffersOES( int n, java.nio.IntBuffer framebuffers )1958     public native void glDeleteFramebuffersOES(
1959         int n,
1960         java.nio.IntBuffer framebuffers
1961     );
1962 
1963     // C function void glDeleteRenderbuffersOES ( GLint n, GLuint *renderbuffers )
1964 
glDeleteRenderbuffersOES( int n, int[] renderbuffers, int offset )1965     public native void glDeleteRenderbuffersOES(
1966         int n,
1967         int[] renderbuffers,
1968         int offset
1969     );
1970 
1971     // C function void glDeleteRenderbuffersOES ( GLint n, GLuint *renderbuffers )
1972 
glDeleteRenderbuffersOES( int n, java.nio.IntBuffer renderbuffers )1973     public native void glDeleteRenderbuffersOES(
1974         int n,
1975         java.nio.IntBuffer renderbuffers
1976     );
1977 
1978     // C function void glFramebufferRenderbufferOES ( GLint target, GLint attachment, GLint renderbuffertarget, GLint renderbuffer )
1979 
glFramebufferRenderbufferOES( int target, int attachment, int renderbuffertarget, int renderbuffer )1980     public native void glFramebufferRenderbufferOES(
1981         int target,
1982         int attachment,
1983         int renderbuffertarget,
1984         int renderbuffer
1985     );
1986 
1987     // C function void glFramebufferTexture2DOES ( GLint target, GLint attachment, GLint textarget, GLint texture, GLint level )
1988 
glFramebufferTexture2DOES( int target, int attachment, int textarget, int texture, int level )1989     public native void glFramebufferTexture2DOES(
1990         int target,
1991         int attachment,
1992         int textarget,
1993         int texture,
1994         int level
1995     );
1996 
1997     // C function void glGenerateMipmapOES ( GLint target )
1998 
glGenerateMipmapOES( int target )1999     public native void glGenerateMipmapOES(
2000         int target
2001     );
2002 
2003     // C function void glGenFramebuffersOES ( GLint n, GLuint *framebuffers )
2004 
glGenFramebuffersOES( int n, int[] framebuffers, int offset )2005     public native void glGenFramebuffersOES(
2006         int n,
2007         int[] framebuffers,
2008         int offset
2009     );
2010 
2011     // C function void glGenFramebuffersOES ( GLint n, GLuint *framebuffers )
2012 
glGenFramebuffersOES( int n, java.nio.IntBuffer framebuffers )2013     public native void glGenFramebuffersOES(
2014         int n,
2015         java.nio.IntBuffer framebuffers
2016     );
2017 
2018     // C function void glGenRenderbuffersOES ( GLint n, GLuint *renderbuffers )
2019 
glGenRenderbuffersOES( int n, int[] renderbuffers, int offset )2020     public native void glGenRenderbuffersOES(
2021         int n,
2022         int[] renderbuffers,
2023         int offset
2024     );
2025 
2026     // C function void glGenRenderbuffersOES ( GLint n, GLuint *renderbuffers )
2027 
glGenRenderbuffersOES( int n, java.nio.IntBuffer renderbuffers )2028     public native void glGenRenderbuffersOES(
2029         int n,
2030         java.nio.IntBuffer renderbuffers
2031     );
2032 
2033     // C function void glGetFramebufferAttachmentParameterivOES ( GLint target, GLint attachment, GLint pname, GLint *params )
2034 
glGetFramebufferAttachmentParameterivOES( int target, int attachment, int pname, int[] params, int offset )2035     public native void glGetFramebufferAttachmentParameterivOES(
2036         int target,
2037         int attachment,
2038         int pname,
2039         int[] params,
2040         int offset
2041     );
2042 
2043     // C function void glGetFramebufferAttachmentParameterivOES ( GLint target, GLint attachment, GLint pname, GLint *params )
2044 
glGetFramebufferAttachmentParameterivOES( int target, int attachment, int pname, java.nio.IntBuffer params )2045     public native void glGetFramebufferAttachmentParameterivOES(
2046         int target,
2047         int attachment,
2048         int pname,
2049         java.nio.IntBuffer params
2050     );
2051 
2052     // C function void glGetRenderbufferParameterivOES ( GLint target, GLint pname, GLint *params )
2053 
glGetRenderbufferParameterivOES( int target, int pname, int[] params, int offset )2054     public native void glGetRenderbufferParameterivOES(
2055         int target,
2056         int pname,
2057         int[] params,
2058         int offset
2059     );
2060 
2061     // C function void glGetRenderbufferParameterivOES ( GLint target, GLint pname, GLint *params )
2062 
glGetRenderbufferParameterivOES( int target, int pname, java.nio.IntBuffer params )2063     public native void glGetRenderbufferParameterivOES(
2064         int target,
2065         int pname,
2066         java.nio.IntBuffer params
2067     );
2068 
2069     // C function void glGetTexGenfv ( GLint coord, GLint pname, GLfloat *params )
2070 
glGetTexGenfv( int coord, int pname, float[] params, int offset )2071     public native void glGetTexGenfv(
2072         int coord,
2073         int pname,
2074         float[] params,
2075         int offset
2076     );
2077 
2078     // C function void glGetTexGenfv ( GLint coord, GLint pname, GLfloat *params )
2079 
glGetTexGenfv( int coord, int pname, java.nio.FloatBuffer params )2080     public native void glGetTexGenfv(
2081         int coord,
2082         int pname,
2083         java.nio.FloatBuffer params
2084     );
2085 
2086     // C function void glGetTexGeniv ( GLint coord, GLint pname, GLint *params )
2087 
glGetTexGeniv( int coord, int pname, int[] params, int offset )2088     public native void glGetTexGeniv(
2089         int coord,
2090         int pname,
2091         int[] params,
2092         int offset
2093     );
2094 
2095     // C function void glGetTexGeniv ( GLint coord, GLint pname, GLint *params )
2096 
glGetTexGeniv( int coord, int pname, java.nio.IntBuffer params )2097     public native void glGetTexGeniv(
2098         int coord,
2099         int pname,
2100         java.nio.IntBuffer params
2101     );
2102 
2103     // C function void glGetTexGenxv ( GLint coord, GLint pname, GLint *params )
2104 
glGetTexGenxv( int coord, int pname, int[] params, int offset )2105     public native void glGetTexGenxv(
2106         int coord,
2107         int pname,
2108         int[] params,
2109         int offset
2110     );
2111 
2112     // C function void glGetTexGenxv ( GLint coord, GLint pname, GLint *params )
2113 
glGetTexGenxv( int coord, int pname, java.nio.IntBuffer params )2114     public native void glGetTexGenxv(
2115         int coord,
2116         int pname,
2117         java.nio.IntBuffer params
2118     );
2119 
2120     // C function GLboolean glIsFramebufferOES ( GLint framebuffer )
2121 
glIsFramebufferOES( int framebuffer )2122     public native boolean glIsFramebufferOES(
2123         int framebuffer
2124     );
2125 
2126     // C function GLboolean glIsRenderbufferOES ( GLint renderbuffer )
2127 
glIsRenderbufferOES( int renderbuffer )2128     public native boolean glIsRenderbufferOES(
2129         int renderbuffer
2130     );
2131 
2132     // C function void glRenderbufferStorageOES ( GLint target, GLint internalformat, GLint width, GLint height )
2133 
glRenderbufferStorageOES( int target, int internalformat, int width, int height )2134     public native void glRenderbufferStorageOES(
2135         int target,
2136         int internalformat,
2137         int width,
2138         int height
2139     );
2140 
2141     // C function void glTexGenf ( GLint coord, GLint pname, GLfloat param )
2142 
glTexGenf( int coord, int pname, float param )2143     public native void glTexGenf(
2144         int coord,
2145         int pname,
2146         float param
2147     );
2148 
2149     // C function void glTexGenfv ( GLint coord, GLint pname, GLfloat *params )
2150 
glTexGenfv( int coord, int pname, float[] params, int offset )2151     public native void glTexGenfv(
2152         int coord,
2153         int pname,
2154         float[] params,
2155         int offset
2156     );
2157 
2158     // C function void glTexGenfv ( GLint coord, GLint pname, GLfloat *params )
2159 
glTexGenfv( int coord, int pname, java.nio.FloatBuffer params )2160     public native void glTexGenfv(
2161         int coord,
2162         int pname,
2163         java.nio.FloatBuffer params
2164     );
2165 
2166     // C function void glTexGeni ( GLint coord, GLint pname, GLint param )
2167 
glTexGeni( int coord, int pname, int param )2168     public native void glTexGeni(
2169         int coord,
2170         int pname,
2171         int param
2172     );
2173 
2174     // C function void glTexGeniv ( GLint coord, GLint pname, GLint *params )
2175 
glTexGeniv( int coord, int pname, int[] params, int offset )2176     public native void glTexGeniv(
2177         int coord,
2178         int pname,
2179         int[] params,
2180         int offset
2181     );
2182 
2183     // C function void glTexGeniv ( GLint coord, GLint pname, GLint *params )
2184 
glTexGeniv( int coord, int pname, java.nio.IntBuffer params )2185     public native void glTexGeniv(
2186         int coord,
2187         int pname,
2188         java.nio.IntBuffer params
2189     );
2190 
2191     // C function void glTexGenx ( GLint coord, GLint pname, GLint param )
2192 
glTexGenx( int coord, int pname, int param )2193     public native void glTexGenx(
2194         int coord,
2195         int pname,
2196         int param
2197     );
2198 
2199     // C function void glTexGenxv ( GLint coord, GLint pname, GLint *params )
2200 
glTexGenxv( int coord, int pname, int[] params, int offset )2201     public native void glTexGenxv(
2202         int coord,
2203         int pname,
2204         int[] params,
2205         int offset
2206     );
2207 
2208     // C function void glTexGenxv ( GLint coord, GLint pname, GLint *params )
2209 
glTexGenxv( int coord, int pname, java.nio.IntBuffer params )2210     public native void glTexGenxv(
2211         int coord,
2212         int pname,
2213         java.nio.IntBuffer params
2214     );
2215 
2216 }
2217