android_opengl_GLES11Ext.cpp revision 27f8002e591b5c579f75b2580183b5d1c4219cd4
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#include <android_runtime/AndroidRuntime.h>
21#include <utils/misc.h>
22
23#include <assert.h>
24#include <GLES/gl.h>
25
26#include <private/opengles/gl_context.h>
27
28#define _NUM_COMPRESSED_TEXTURE_FORMATS \
29        (::android::OGLES_NUM_COMPRESSED_TEXTURE_FORMATS)
30
31static int initialized = 0;
32
33static jclass nioAccessClass;
34static jclass bufferClass;
35static jclass OOMEClass;
36static jclass UOEClass;
37static jclass IAEClass;
38static jclass AIOOBEClass;
39static jmethodID getBasePointerID;
40static jmethodID getBaseArrayID;
41static jmethodID getBaseArrayOffsetID;
42static jfieldID positionID;
43static jfieldID limitID;
44static jfieldID elementSizeShiftID;
45
46/* Cache method IDs each time the class is loaded. */
47
48static void
49nativeClassInitBuffer(JNIEnv *_env)
50{
51    jclass nioAccessClassLocal = _env->FindClass("java/nio/NIOAccess");
52    nioAccessClass = (jclass) _env->NewGlobalRef(nioAccessClassLocal);
53
54    jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
55    bufferClass = (jclass) _env->NewGlobalRef(bufferClassLocal);
56
57    getBasePointerID = _env->GetStaticMethodID(nioAccessClass,
58            "getBasePointer", "(Ljava/nio/Buffer;)J");
59    getBaseArrayID = _env->GetStaticMethodID(nioAccessClass,
60            "getBaseArray", "(Ljava/nio/Buffer;)Ljava/lang/Object;");
61    getBaseArrayOffsetID = _env->GetStaticMethodID(nioAccessClass,
62            "getBaseArrayOffset", "(Ljava/nio/Buffer;)I");
63
64    positionID = _env->GetFieldID(bufferClass, "position", "I");
65    limitID = _env->GetFieldID(bufferClass, "limit", "I");
66    elementSizeShiftID =
67        _env->GetFieldID(bufferClass, "_elementSizeShift", "I");
68}
69
70
71static void
72nativeClassInit(JNIEnv *_env, jclass glImplClass)
73{
74    nativeClassInitBuffer(_env);
75
76    jclass IAEClassLocal =
77        _env->FindClass("java/lang/IllegalArgumentException");
78    jclass OOMEClassLocal =
79         _env->FindClass("java/lang/OutOfMemoryError");
80    jclass UOEClassLocal =
81         _env->FindClass("java/lang/UnsupportedOperationException");
82    jclass AIOOBEClassLocal =
83         _env->FindClass("java/lang/ArrayIndexOutOfBoundsException");
84
85    IAEClass = (jclass) _env->NewGlobalRef(IAEClassLocal);
86    OOMEClass = (jclass) _env->NewGlobalRef(OOMEClassLocal);
87    UOEClass = (jclass) _env->NewGlobalRef(UOEClassLocal);
88    AIOOBEClass = (jclass) _env->NewGlobalRef(AIOOBEClassLocal);
89}
90
91static void *
92getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining)
93{
94    jint position;
95    jint limit;
96    jint elementSizeShift;
97    jlong pointer;
98    jint offset;
99    void *data;
100
101    position = _env->GetIntField(buffer, positionID);
102    limit = _env->GetIntField(buffer, limitID);
103    elementSizeShift = _env->GetIntField(buffer, elementSizeShiftID);
104    *remaining = (limit - position) << elementSizeShift;
105    pointer = _env->CallStaticLongMethod(nioAccessClass,
106            getBasePointerID, buffer);
107    if (pointer != 0L) {
108        *array = NULL;
109        return (void *) (jint) pointer;
110    }
111
112    *array = (jarray) _env->CallStaticObjectMethod(nioAccessClass,
113            getBaseArrayID, buffer);
114    offset = _env->CallStaticIntMethod(nioAccessClass,
115            getBaseArrayOffsetID, buffer);
116    data = _env->GetPrimitiveArrayCritical(*array, (jboolean *) 0);
117
118    return (void *) ((char *) data + offset);
119}
120
121
122static void
123releasePointer(JNIEnv *_env, jarray array, void *data, jboolean commit)
124{
125    _env->ReleasePrimitiveArrayCritical(array, data,
126					   commit ? 0 : JNI_ABORT);
127}
128
129// --------------------------------------------------------------------------
130
131/* void glBlendEquationSeparateOES ( GLenum modeRGB, GLenum modeAlpha ) */
132static void
133android_glBlendEquationSeparateOES__II
134  (JNIEnv *_env, jobject _this, jint modeRGB, jint modeAlpha) {
135    _env->ThrowNew(UOEClass,
136        "glBlendEquationSeparateOES");
137}
138
139/* void glBlendFuncSeparateOES ( GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha ) */
140static void
141android_glBlendFuncSeparateOES__IIII
142  (JNIEnv *_env, jobject _this, jint srcRGB, jint dstRGB, jint srcAlpha, jint dstAlpha) {
143    _env->ThrowNew(UOEClass,
144        "glBlendFuncSeparateOES");
145}
146
147/* void glBlendEquationOES ( GLenum mode ) */
148static void
149android_glBlendEquationOES__I
150  (JNIEnv *_env, jobject _this, jint mode) {
151    _env->ThrowNew(UOEClass,
152        "glBlendEquationOES");
153}
154
155/* void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height ) */
156static void
157android_glDrawTexsOES__SSSSS
158  (JNIEnv *_env, jobject _this, jshort x, jshort y, jshort z, jshort width, jshort height) {
159    glDrawTexsOES(
160        (GLshort)x,
161        (GLshort)y,
162        (GLshort)z,
163        (GLshort)width,
164        (GLshort)height
165    );
166}
167
168/* void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height ) */
169static void
170android_glDrawTexiOES__IIIII
171  (JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) {
172    glDrawTexiOES(
173        (GLint)x,
174        (GLint)y,
175        (GLint)z,
176        (GLint)width,
177        (GLint)height
178    );
179}
180
181/* void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height ) */
182static void
183android_glDrawTexxOES__IIIII
184  (JNIEnv *_env, jobject _this, jint x, jint y, jint z, jint width, jint height) {
185    glDrawTexxOES(
186        (GLfixed)x,
187        (GLfixed)y,
188        (GLfixed)z,
189        (GLfixed)width,
190        (GLfixed)height
191    );
192}
193
194/* void glDrawTexsvOES ( const GLshort *coords ) */
195static void
196android_glDrawTexsvOES___3SI
197  (JNIEnv *_env, jobject _this, jshortArray coords_ref, jint offset) {
198    GLshort *coords_base = (GLshort *) 0;
199    jint _remaining;
200    GLshort *coords = (GLshort *) 0;
201
202    if (!coords_ref) {
203        _env->ThrowNew(IAEClass, "coords == null");
204        goto exit;
205    }
206    if (offset < 0) {
207        _env->ThrowNew(IAEClass, "offset < 0");
208        goto exit;
209    }
210    _remaining = _env->GetArrayLength(coords_ref) - offset;
211    if (_remaining < 5) {
212        _env->ThrowNew(IAEClass, "length - offset < 5");
213        goto exit;
214    }
215    coords_base = (GLshort *)
216        _env->GetPrimitiveArrayCritical(coords_ref, (jboolean *)0);
217    coords = coords_base + offset;
218
219    glDrawTexsvOES(
220        (GLshort *)coords
221    );
222
223exit:
224    if (coords_base) {
225        _env->ReleasePrimitiveArrayCritical(coords_ref, coords_base,
226            JNI_ABORT);
227    }
228}
229
230/* void glDrawTexsvOES ( const GLshort *coords ) */
231static void
232android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2
233  (JNIEnv *_env, jobject _this, jobject coords_buf) {
234    jarray _array = (jarray) 0;
235    jint _remaining;
236    GLshort *coords = (GLshort *) 0;
237
238    coords = (GLshort *)getPointer(_env, coords_buf, &_array, &_remaining);
239    if (_remaining < 5) {
240        _env->ThrowNew(IAEClass, "remaining() < 5");
241        goto exit;
242    }
243    glDrawTexsvOES(
244        (GLshort *)coords
245    );
246
247exit:
248    if (_array) {
249        releasePointer(_env, _array, coords, JNI_FALSE);
250    }
251}
252
253/* void glDrawTexivOES ( const GLint *coords ) */
254static void
255android_glDrawTexivOES___3II
256  (JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) {
257    GLint *coords_base = (GLint *) 0;
258    jint _remaining;
259    GLint *coords = (GLint *) 0;
260
261    if (!coords_ref) {
262        _env->ThrowNew(IAEClass, "coords == null");
263        goto exit;
264    }
265    if (offset < 0) {
266        _env->ThrowNew(IAEClass, "offset < 0");
267        goto exit;
268    }
269    _remaining = _env->GetArrayLength(coords_ref) - offset;
270    if (_remaining < 5) {
271        _env->ThrowNew(IAEClass, "length - offset < 5");
272        goto exit;
273    }
274    coords_base = (GLint *)
275        _env->GetPrimitiveArrayCritical(coords_ref, (jboolean *)0);
276    coords = coords_base + offset;
277
278    glDrawTexivOES(
279        (GLint *)coords
280    );
281
282exit:
283    if (coords_base) {
284        _env->ReleasePrimitiveArrayCritical(coords_ref, coords_base,
285            JNI_ABORT);
286    }
287}
288
289/* void glDrawTexivOES ( const GLint *coords ) */
290static void
291android_glDrawTexivOES__Ljava_nio_IntBuffer_2
292  (JNIEnv *_env, jobject _this, jobject coords_buf) {
293    jarray _array = (jarray) 0;
294    jint _remaining;
295    GLint *coords = (GLint *) 0;
296
297    coords = (GLint *)getPointer(_env, coords_buf, &_array, &_remaining);
298    if (_remaining < 5) {
299        _env->ThrowNew(IAEClass, "remaining() < 5");
300        goto exit;
301    }
302    glDrawTexivOES(
303        (GLint *)coords
304    );
305
306exit:
307    if (_array) {
308        releasePointer(_env, _array, coords, JNI_FALSE);
309    }
310}
311
312/* void glDrawTexxvOES ( const GLfixed *coords ) */
313static void
314android_glDrawTexxvOES___3II
315  (JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) {
316    GLfixed *coords_base = (GLfixed *) 0;
317    jint _remaining;
318    GLfixed *coords = (GLfixed *) 0;
319
320    if (!coords_ref) {
321        _env->ThrowNew(IAEClass, "coords == null");
322        goto exit;
323    }
324    if (offset < 0) {
325        _env->ThrowNew(IAEClass, "offset < 0");
326        goto exit;
327    }
328    _remaining = _env->GetArrayLength(coords_ref) - offset;
329    if (_remaining < 5) {
330        _env->ThrowNew(IAEClass, "length - offset < 5");
331        goto exit;
332    }
333    coords_base = (GLfixed *)
334        _env->GetPrimitiveArrayCritical(coords_ref, (jboolean *)0);
335    coords = coords_base + offset;
336
337    glDrawTexxvOES(
338        (GLfixed *)coords
339    );
340
341exit:
342    if (coords_base) {
343        _env->ReleasePrimitiveArrayCritical(coords_ref, coords_base,
344            JNI_ABORT);
345    }
346}
347
348/* void glDrawTexxvOES ( const GLfixed *coords ) */
349static void
350android_glDrawTexxvOES__Ljava_nio_IntBuffer_2
351  (JNIEnv *_env, jobject _this, jobject coords_buf) {
352    jarray _array = (jarray) 0;
353    jint _remaining;
354    GLfixed *coords = (GLfixed *) 0;
355
356    coords = (GLfixed *)getPointer(_env, coords_buf, &_array, &_remaining);
357    if (_remaining < 5) {
358        _env->ThrowNew(IAEClass, "remaining() < 5");
359        goto exit;
360    }
361    glDrawTexxvOES(
362        (GLfixed *)coords
363    );
364
365exit:
366    if (_array) {
367        releasePointer(_env, _array, coords, JNI_FALSE);
368    }
369}
370
371/* void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height ) */
372static void
373android_glDrawTexfOES__FFFFF
374  (JNIEnv *_env, jobject _this, jfloat x, jfloat y, jfloat z, jfloat width, jfloat height) {
375    glDrawTexfOES(
376        (GLfloat)x,
377        (GLfloat)y,
378        (GLfloat)z,
379        (GLfloat)width,
380        (GLfloat)height
381    );
382}
383
384/* void glDrawTexfvOES ( const GLfloat *coords ) */
385static void
386android_glDrawTexfvOES___3FI
387  (JNIEnv *_env, jobject _this, jfloatArray coords_ref, jint offset) {
388    GLfloat *coords_base = (GLfloat *) 0;
389    jint _remaining;
390    GLfloat *coords = (GLfloat *) 0;
391
392    if (!coords_ref) {
393        _env->ThrowNew(IAEClass, "coords == null");
394        goto exit;
395    }
396    if (offset < 0) {
397        _env->ThrowNew(IAEClass, "offset < 0");
398        goto exit;
399    }
400    _remaining = _env->GetArrayLength(coords_ref) - offset;
401    if (_remaining < 5) {
402        _env->ThrowNew(IAEClass, "length - offset < 5");
403        goto exit;
404    }
405    coords_base = (GLfloat *)
406        _env->GetPrimitiveArrayCritical(coords_ref, (jboolean *)0);
407    coords = coords_base + offset;
408
409    glDrawTexfvOES(
410        (GLfloat *)coords
411    );
412
413exit:
414    if (coords_base) {
415        _env->ReleasePrimitiveArrayCritical(coords_ref, coords_base,
416            JNI_ABORT);
417    }
418}
419
420/* void glDrawTexfvOES ( const GLfloat *coords ) */
421static void
422android_glDrawTexfvOES__Ljava_nio_FloatBuffer_2
423  (JNIEnv *_env, jobject _this, jobject coords_buf) {
424    jarray _array = (jarray) 0;
425    jint _remaining;
426    GLfloat *coords = (GLfloat *) 0;
427
428    coords = (GLfloat *)getPointer(_env, coords_buf, &_array, &_remaining);
429    if (_remaining < 5) {
430        _env->ThrowNew(IAEClass, "remaining() < 5");
431        goto exit;
432    }
433    glDrawTexfvOES(
434        (GLfloat *)coords
435    );
436
437exit:
438    if (_array) {
439        releasePointer(_env, _array, coords, JNI_FALSE);
440    }
441}
442
443/* void glEGLImageTargetTexture2DOES ( GLenum target, GLeglImageOES image ) */
444static void
445android_glEGLImageTargetTexture2DOES__ILjava_nio_Buffer_2
446  (JNIEnv *_env, jobject _this, jint target, jobject image_buf) {
447    _env->ThrowNew(UOEClass,
448        "glEGLImageTargetTexture2DOES");
449}
450
451/* void glEGLImageTargetRenderbufferStorageOES ( GLenum target, GLeglImageOES image ) */
452static void
453android_glEGLImageTargetRenderbufferStorageOES__ILjava_nio_Buffer_2
454  (JNIEnv *_env, jobject _this, jint target, jobject image_buf) {
455    _env->ThrowNew(UOEClass,
456        "glEGLImageTargetRenderbufferStorageOES");
457}
458
459/* void glAlphaFuncxOES ( GLenum func, GLclampx ref ) */
460static void
461android_glAlphaFuncxOES__II
462  (JNIEnv *_env, jobject _this, jint func, jint ref) {
463    _env->ThrowNew(UOEClass,
464        "glAlphaFuncxOES");
465}
466
467/* void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */
468static void
469android_glClearColorxOES__IIII
470  (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
471    _env->ThrowNew(UOEClass,
472        "glClearColorxOES");
473}
474
475/* void glClearDepthxOES ( GLclampx depth ) */
476static void
477android_glClearDepthxOES__I
478  (JNIEnv *_env, jobject _this, jint depth) {
479    _env->ThrowNew(UOEClass,
480        "glClearDepthxOES");
481}
482
483/* void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) */
484static void
485android_glClipPlanexOES__I_3II
486  (JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) {
487    _env->ThrowNew(UOEClass,
488        "glClipPlanexOES");
489}
490
491/* void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) */
492static void
493android_glClipPlanexOES__ILjava_nio_IntBuffer_2
494  (JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) {
495    _env->ThrowNew(UOEClass,
496        "glClipPlanexOES");
497}
498
499/* void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) */
500static void
501android_glColor4xOES__IIII
502  (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) {
503    _env->ThrowNew(UOEClass,
504        "glColor4xOES");
505}
506
507/* void glDepthRangexOES ( GLclampx zNear, GLclampx zFar ) */
508static void
509android_glDepthRangexOES__II
510  (JNIEnv *_env, jobject _this, jint zNear, jint zFar) {
511    _env->ThrowNew(UOEClass,
512        "glDepthRangexOES");
513}
514
515/* void glFogxOES ( GLenum pname, GLfixed param ) */
516static void
517android_glFogxOES__II
518  (JNIEnv *_env, jobject _this, jint pname, jint param) {
519    _env->ThrowNew(UOEClass,
520        "glFogxOES");
521}
522
523/* void glFogxvOES ( GLenum pname, const GLfixed *params ) */
524static void
525android_glFogxvOES__I_3II
526  (JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) {
527    _env->ThrowNew(UOEClass,
528        "glFogxvOES");
529}
530
531/* void glFogxvOES ( GLenum pname, const GLfixed *params ) */
532static void
533android_glFogxvOES__ILjava_nio_IntBuffer_2
534  (JNIEnv *_env, jobject _this, jint pname, jobject params_buf) {
535    _env->ThrowNew(UOEClass,
536        "glFogxvOES");
537}
538
539/* void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
540static void
541android_glFrustumxOES__IIIIII
542  (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
543    _env->ThrowNew(UOEClass,
544        "glFrustumxOES");
545}
546
547/* void glGetClipPlanexOES ( GLenum pname, GLfixed *eqn ) */
548static void
549android_glGetClipPlanexOES__I_3II
550  (JNIEnv *_env, jobject _this, jint pname, jintArray eqn_ref, jint offset) {
551    _env->ThrowNew(UOEClass,
552        "glGetClipPlanexOES");
553}
554
555/* void glGetClipPlanexOES ( GLenum pname, GLfixed *eqn ) */
556static void
557android_glGetClipPlanexOES__ILjava_nio_IntBuffer_2
558  (JNIEnv *_env, jobject _this, jint pname, jobject eqn_buf) {
559    _env->ThrowNew(UOEClass,
560        "glGetClipPlanexOES");
561}
562
563/* void glGetFixedvOES ( GLenum pname, GLfixed *params ) */
564static void
565android_glGetFixedvOES__I_3II
566  (JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) {
567    _env->ThrowNew(UOEClass,
568        "glGetFixedvOES");
569}
570
571/* void glGetFixedvOES ( GLenum pname, GLfixed *params ) */
572static void
573android_glGetFixedvOES__ILjava_nio_IntBuffer_2
574  (JNIEnv *_env, jobject _this, jint pname, jobject params_buf) {
575    _env->ThrowNew(UOEClass,
576        "glGetFixedvOES");
577}
578
579/* void glGetLightxvOES ( GLenum light, GLenum pname, GLfixed *params ) */
580static void
581android_glGetLightxvOES__II_3II
582  (JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) {
583    _env->ThrowNew(UOEClass,
584        "glGetLightxvOES");
585}
586
587/* void glGetLightxvOES ( GLenum light, GLenum pname, GLfixed *params ) */
588static void
589android_glGetLightxvOES__IILjava_nio_IntBuffer_2
590  (JNIEnv *_env, jobject _this, jint light, jint pname, jobject params_buf) {
591    _env->ThrowNew(UOEClass,
592        "glGetLightxvOES");
593}
594
595/* void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) */
596static void
597android_glGetMaterialxvOES__II_3II
598  (JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) {
599    _env->ThrowNew(UOEClass,
600        "glGetMaterialxvOES");
601}
602
603/* void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) */
604static void
605android_glGetMaterialxvOES__IILjava_nio_IntBuffer_2
606  (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
607    _env->ThrowNew(UOEClass,
608        "glGetMaterialxvOES");
609}
610
611/* void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params ) */
612static void
613android_glGetTexEnvxvOES__II_3II
614  (JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) {
615    _env->ThrowNew(UOEClass,
616        "glGetTexEnvxvOES");
617}
618
619/* void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params ) */
620static void
621android_glGetTexEnvxvOES__IILjava_nio_IntBuffer_2
622  (JNIEnv *_env, jobject _this, jint env, jint pname, jobject params_buf) {
623    _env->ThrowNew(UOEClass,
624        "glGetTexEnvxvOES");
625}
626
627/* void glGetTexParameterxvOES ( GLenum target, GLenum pname, GLfixed *params ) */
628static void
629android_glGetTexParameterxvOES__II_3II
630  (JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) {
631    _env->ThrowNew(UOEClass,
632        "glGetTexParameterxvOES");
633}
634
635/* void glGetTexParameterxvOES ( GLenum target, GLenum pname, GLfixed *params ) */
636static void
637android_glGetTexParameterxvOES__IILjava_nio_IntBuffer_2
638  (JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) {
639    _env->ThrowNew(UOEClass,
640        "glGetTexParameterxvOES");
641}
642
643/* void glLightModelxOES ( GLenum pname, GLfixed param ) */
644static void
645android_glLightModelxOES__II
646  (JNIEnv *_env, jobject _this, jint pname, jint param) {
647    _env->ThrowNew(UOEClass,
648        "glLightModelxOES");
649}
650
651/* void glLightModelxvOES ( GLenum pname, const GLfixed *params ) */
652static void
653android_glLightModelxvOES__I_3II
654  (JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) {
655    _env->ThrowNew(UOEClass,
656        "glLightModelxvOES");
657}
658
659/* void glLightModelxvOES ( GLenum pname, const GLfixed *params ) */
660static void
661android_glLightModelxvOES__ILjava_nio_IntBuffer_2
662  (JNIEnv *_env, jobject _this, jint pname, jobject params_buf) {
663    _env->ThrowNew(UOEClass,
664        "glLightModelxvOES");
665}
666
667/* void glLightxOES ( GLenum light, GLenum pname, GLfixed param ) */
668static void
669android_glLightxOES__III
670  (JNIEnv *_env, jobject _this, jint light, jint pname, jint param) {
671    _env->ThrowNew(UOEClass,
672        "glLightxOES");
673}
674
675/* void glLightxvOES ( GLenum light, GLenum pname, const GLfixed *params ) */
676static void
677android_glLightxvOES__II_3II
678  (JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) {
679    _env->ThrowNew(UOEClass,
680        "glLightxvOES");
681}
682
683/* void glLightxvOES ( GLenum light, GLenum pname, const GLfixed *params ) */
684static void
685android_glLightxvOES__IILjava_nio_IntBuffer_2
686  (JNIEnv *_env, jobject _this, jint light, jint pname, jobject params_buf) {
687    _env->ThrowNew(UOEClass,
688        "glLightxvOES");
689}
690
691/* void glLineWidthxOES ( GLfixed width ) */
692static void
693android_glLineWidthxOES__I
694  (JNIEnv *_env, jobject _this, jint width) {
695    _env->ThrowNew(UOEClass,
696        "glLineWidthxOES");
697}
698
699/* void glLoadMatrixxOES ( const GLfixed *m ) */
700static void
701android_glLoadMatrixxOES___3II
702  (JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) {
703    _env->ThrowNew(UOEClass,
704        "glLoadMatrixxOES");
705}
706
707/* void glLoadMatrixxOES ( const GLfixed *m ) */
708static void
709android_glLoadMatrixxOES__Ljava_nio_IntBuffer_2
710  (JNIEnv *_env, jobject _this, jobject m_buf) {
711    _env->ThrowNew(UOEClass,
712        "glLoadMatrixxOES");
713}
714
715/* void glMaterialxOES ( GLenum face, GLenum pname, GLfixed param ) */
716static void
717android_glMaterialxOES__III
718  (JNIEnv *_env, jobject _this, jint face, jint pname, jint param) {
719    _env->ThrowNew(UOEClass,
720        "glMaterialxOES");
721}
722
723/* void glMaterialxvOES ( GLenum face, GLenum pname, const GLfixed *params ) */
724static void
725android_glMaterialxvOES__II_3II
726  (JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) {
727    _env->ThrowNew(UOEClass,
728        "glMaterialxvOES");
729}
730
731/* void glMaterialxvOES ( GLenum face, GLenum pname, const GLfixed *params ) */
732static void
733android_glMaterialxvOES__IILjava_nio_IntBuffer_2
734  (JNIEnv *_env, jobject _this, jint face, jint pname, jobject params_buf) {
735    _env->ThrowNew(UOEClass,
736        "glMaterialxvOES");
737}
738
739/* void glMultMatrixxOES ( const GLfixed *m ) */
740static void
741android_glMultMatrixxOES___3II
742  (JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) {
743    _env->ThrowNew(UOEClass,
744        "glMultMatrixxOES");
745}
746
747/* void glMultMatrixxOES ( const GLfixed *m ) */
748static void
749android_glMultMatrixxOES__Ljava_nio_IntBuffer_2
750  (JNIEnv *_env, jobject _this, jobject m_buf) {
751    _env->ThrowNew(UOEClass,
752        "glMultMatrixxOES");
753}
754
755/* void glMultiTexCoord4xOES ( GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q ) */
756static void
757android_glMultiTexCoord4xOES__IIIII
758  (JNIEnv *_env, jobject _this, jint target, jint s, jint t, jint r, jint q) {
759    _env->ThrowNew(UOEClass,
760        "glMultiTexCoord4xOES");
761}
762
763/* void glNormal3xOES ( GLfixed nx, GLfixed ny, GLfixed nz ) */
764static void
765android_glNormal3xOES__III
766  (JNIEnv *_env, jobject _this, jint nx, jint ny, jint nz) {
767    _env->ThrowNew(UOEClass,
768        "glNormal3xOES");
769}
770
771/* void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar ) */
772static void
773android_glOrthoxOES__IIIIII
774  (JNIEnv *_env, jobject _this, jint left, jint right, jint bottom, jint top, jint zNear, jint zFar) {
775    _env->ThrowNew(UOEClass,
776        "glOrthoxOES");
777}
778
779/* void glPointParameterxOES ( GLenum pname, GLfixed param ) */
780static void
781android_glPointParameterxOES__II
782  (JNIEnv *_env, jobject _this, jint pname, jint param) {
783    _env->ThrowNew(UOEClass,
784        "glPointParameterxOES");
785}
786
787/* void glPointParameterxvOES ( GLenum pname, const GLfixed *params ) */
788static void
789android_glPointParameterxvOES__I_3II
790  (JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) {
791    _env->ThrowNew(UOEClass,
792        "glPointParameterxvOES");
793}
794
795/* void glPointParameterxvOES ( GLenum pname, const GLfixed *params ) */
796static void
797android_glPointParameterxvOES__ILjava_nio_IntBuffer_2
798  (JNIEnv *_env, jobject _this, jint pname, jobject params_buf) {
799    _env->ThrowNew(UOEClass,
800        "glPointParameterxvOES");
801}
802
803/* void glPointSizexOES ( GLfixed size ) */
804static void
805android_glPointSizexOES__I
806  (JNIEnv *_env, jobject _this, jint size) {
807    _env->ThrowNew(UOEClass,
808        "glPointSizexOES");
809}
810
811/* void glPolygonOffsetxOES ( GLfixed factor, GLfixed units ) */
812static void
813android_glPolygonOffsetxOES__II
814  (JNIEnv *_env, jobject _this, jint factor, jint units) {
815    _env->ThrowNew(UOEClass,
816        "glPolygonOffsetxOES");
817}
818
819/* void glRotatexOES ( GLfixed angle, GLfixed x, GLfixed y, GLfixed z ) */
820static void
821android_glRotatexOES__IIII
822  (JNIEnv *_env, jobject _this, jint angle, jint x, jint y, jint z) {
823    _env->ThrowNew(UOEClass,
824        "glRotatexOES");
825}
826
827/* void glSampleCoveragexOES ( GLclampx value, GLboolean invert ) */
828static void
829android_glSampleCoveragexOES__IZ
830  (JNIEnv *_env, jobject _this, jint value, jboolean invert) {
831    _env->ThrowNew(UOEClass,
832        "glSampleCoveragexOES");
833}
834
835/* void glScalexOES ( GLfixed x, GLfixed y, GLfixed z ) */
836static void
837android_glScalexOES__III
838  (JNIEnv *_env, jobject _this, jint x, jint y, jint z) {
839    _env->ThrowNew(UOEClass,
840        "glScalexOES");
841}
842
843/* void glTexEnvxOES ( GLenum target, GLenum pname, GLfixed param ) */
844static void
845android_glTexEnvxOES__III
846  (JNIEnv *_env, jobject _this, jint target, jint pname, jint param) {
847    _env->ThrowNew(UOEClass,
848        "glTexEnvxOES");
849}
850
851/* void glTexEnvxvOES ( GLenum target, GLenum pname, const GLfixed *params ) */
852static void
853android_glTexEnvxvOES__II_3II
854  (JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) {
855    _env->ThrowNew(UOEClass,
856        "glTexEnvxvOES");
857}
858
859/* void glTexEnvxvOES ( GLenum target, GLenum pname, const GLfixed *params ) */
860static void
861android_glTexEnvxvOES__IILjava_nio_IntBuffer_2
862  (JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) {
863    _env->ThrowNew(UOEClass,
864        "glTexEnvxvOES");
865}
866
867/* void glTexParameterxOES ( GLenum target, GLenum pname, GLfixed param ) */
868static void
869android_glTexParameterxOES__III
870  (JNIEnv *_env, jobject _this, jint target, jint pname, jint param) {
871    _env->ThrowNew(UOEClass,
872        "glTexParameterxOES");
873}
874
875/* void glTexParameterxvOES ( GLenum target, GLenum pname, const GLfixed *params ) */
876static void
877android_glTexParameterxvOES__II_3II
878  (JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) {
879    _env->ThrowNew(UOEClass,
880        "glTexParameterxvOES");
881}
882
883/* void glTexParameterxvOES ( GLenum target, GLenum pname, const GLfixed *params ) */
884static void
885android_glTexParameterxvOES__IILjava_nio_IntBuffer_2
886  (JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) {
887    _env->ThrowNew(UOEClass,
888        "glTexParameterxvOES");
889}
890
891/* void glTranslatexOES ( GLfixed x, GLfixed y, GLfixed z ) */
892static void
893android_glTranslatexOES__III
894  (JNIEnv *_env, jobject _this, jint x, jint y, jint z) {
895    _env->ThrowNew(UOEClass,
896        "glTranslatexOES");
897}
898
899/* GLboolean glIsRenderbufferOES ( GLuint renderbuffer ) */
900static jboolean
901android_glIsRenderbufferOES__I
902  (JNIEnv *_env, jobject _this, jint renderbuffer) {
903    _env->ThrowNew(UOEClass,
904        "glIsRenderbufferOES");
905    return JNI_FALSE;
906}
907
908/* void glBindRenderbufferOES ( GLenum target, GLuint renderbuffer ) */
909static void
910android_glBindRenderbufferOES__II
911  (JNIEnv *_env, jobject _this, jint target, jint renderbuffer) {
912    _env->ThrowNew(UOEClass,
913        "glBindRenderbufferOES");
914}
915
916/* void glDeleteRenderbuffersOES ( GLsizei n, const GLuint *renderbuffers ) */
917static void
918android_glDeleteRenderbuffersOES__I_3II
919  (JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) {
920    _env->ThrowNew(UOEClass,
921        "glDeleteRenderbuffersOES");
922}
923
924/* void glDeleteRenderbuffersOES ( GLsizei n, const GLuint *renderbuffers ) */
925static void
926android_glDeleteRenderbuffersOES__ILjava_nio_IntBuffer_2
927  (JNIEnv *_env, jobject _this, jint n, jobject renderbuffers_buf) {
928    _env->ThrowNew(UOEClass,
929        "glDeleteRenderbuffersOES");
930}
931
932/* void glGenRenderbuffersOES ( GLsizei n, GLuint *renderbuffers ) */
933static void
934android_glGenRenderbuffersOES__I_3II
935  (JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) {
936    _env->ThrowNew(UOEClass,
937        "glGenRenderbuffersOES");
938}
939
940/* void glGenRenderbuffersOES ( GLsizei n, GLuint *renderbuffers ) */
941static void
942android_glGenRenderbuffersOES__ILjava_nio_IntBuffer_2
943  (JNIEnv *_env, jobject _this, jint n, jobject renderbuffers_buf) {
944    _env->ThrowNew(UOEClass,
945        "glGenRenderbuffersOES");
946}
947
948/* void glRenderbufferStorageOES ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height ) */
949static void
950android_glRenderbufferStorageOES__IIII
951  (JNIEnv *_env, jobject _this, jint target, jint internalformat, jint width, jint height) {
952    _env->ThrowNew(UOEClass,
953        "glRenderbufferStorageOES");
954}
955
956/* void glGetRenderbufferParameterivOES ( GLenum target, GLenum pname, GLint *params ) */
957static void
958android_glGetRenderbufferParameterivOES__II_3II
959  (JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) {
960    _env->ThrowNew(UOEClass,
961        "glGetRenderbufferParameterivOES");
962}
963
964/* void glGetRenderbufferParameterivOES ( GLenum target, GLenum pname, GLint *params ) */
965static void
966android_glGetRenderbufferParameterivOES__IILjava_nio_IntBuffer_2
967  (JNIEnv *_env, jobject _this, jint target, jint pname, jobject params_buf) {
968    _env->ThrowNew(UOEClass,
969        "glGetRenderbufferParameterivOES");
970}
971
972/* GLboolean glIsFramebufferOES ( GLuint framebuffer ) */
973static jboolean
974android_glIsFramebufferOES__I
975  (JNIEnv *_env, jobject _this, jint framebuffer) {
976    _env->ThrowNew(UOEClass,
977        "glIsFramebufferOES");
978    return JNI_FALSE;
979}
980
981/* void glBindFramebufferOES ( GLenum target, GLuint framebuffer ) */
982static void
983android_glBindFramebufferOES__II
984  (JNIEnv *_env, jobject _this, jint target, jint framebuffer) {
985    _env->ThrowNew(UOEClass,
986        "glBindFramebufferOES");
987}
988
989/* void glDeleteFramebuffersOES ( GLsizei n, const GLuint *framebuffers ) */
990static void
991android_glDeleteFramebuffersOES__I_3II
992  (JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) {
993    _env->ThrowNew(UOEClass,
994        "glDeleteFramebuffersOES");
995}
996
997/* void glDeleteFramebuffersOES ( GLsizei n, const GLuint *framebuffers ) */
998static void
999android_glDeleteFramebuffersOES__ILjava_nio_IntBuffer_2
1000  (JNIEnv *_env, jobject _this, jint n, jobject framebuffers_buf) {
1001    _env->ThrowNew(UOEClass,
1002        "glDeleteFramebuffersOES");
1003}
1004
1005/* void glGenFramebuffersOES ( GLsizei n, GLuint *framebuffers ) */
1006static void
1007android_glGenFramebuffersOES__I_3II
1008  (JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) {
1009    _env->ThrowNew(UOEClass,
1010        "glGenFramebuffersOES");
1011}
1012
1013/* void glGenFramebuffersOES ( GLsizei n, GLuint *framebuffers ) */
1014static void
1015android_glGenFramebuffersOES__ILjava_nio_IntBuffer_2
1016  (JNIEnv *_env, jobject _this, jint n, jobject framebuffers_buf) {
1017    _env->ThrowNew(UOEClass,
1018        "glGenFramebuffersOES");
1019}
1020
1021/* GLenum glCheckFramebufferStatusOES ( GLenum target ) */
1022static jint
1023android_glCheckFramebufferStatusOES__I
1024  (JNIEnv *_env, jobject _this, jint target) {
1025    _env->ThrowNew(UOEClass,
1026        "glCheckFramebufferStatusOES");
1027    return 0;
1028}
1029
1030/* void glFramebufferRenderbufferOES ( GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer ) */
1031static void
1032android_glFramebufferRenderbufferOES__IIII
1033  (JNIEnv *_env, jobject _this, jint target, jint attachment, jint renderbuffertarget, jint renderbuffer) {
1034    _env->ThrowNew(UOEClass,
1035        "glFramebufferRenderbufferOES");
1036}
1037
1038/* void glFramebufferTexture2DOES ( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level ) */
1039static void
1040android_glFramebufferTexture2DOES__IIIII
1041  (JNIEnv *_env, jobject _this, jint target, jint attachment, jint textarget, jint texture, jint level) {
1042    _env->ThrowNew(UOEClass,
1043        "glFramebufferTexture2DOES");
1044}
1045
1046/* void glGetFramebufferAttachmentParameterivOES ( GLenum target, GLenum attachment, GLenum pname, GLint *params ) */
1047static void
1048android_glGetFramebufferAttachmentParameterivOES__III_3II
1049  (JNIEnv *_env, jobject _this, jint target, jint attachment, jint pname, jintArray params_ref, jint offset) {
1050    _env->ThrowNew(UOEClass,
1051        "glGetFramebufferAttachmentParameterivOES");
1052}
1053
1054/* void glGetFramebufferAttachmentParameterivOES ( GLenum target, GLenum attachment, GLenum pname, GLint *params ) */
1055static void
1056android_glGetFramebufferAttachmentParameterivOES__IIILjava_nio_IntBuffer_2
1057  (JNIEnv *_env, jobject _this, jint target, jint attachment, jint pname, jobject params_buf) {
1058    _env->ThrowNew(UOEClass,
1059        "glGetFramebufferAttachmentParameterivOES");
1060}
1061
1062/* void glGenerateMipmapOES ( GLenum target ) */
1063static void
1064android_glGenerateMipmapOES__I
1065  (JNIEnv *_env, jobject _this, jint target) {
1066    _env->ThrowNew(UOEClass,
1067        "glGenerateMipmapOES");
1068}
1069
1070/* void glCurrentPaletteMatrixOES ( GLuint matrixpaletteindex ) */
1071static void
1072android_glCurrentPaletteMatrixOES__I
1073  (JNIEnv *_env, jobject _this, jint matrixpaletteindex) {
1074    _env->ThrowNew(UOEClass,
1075        "glCurrentPaletteMatrixOES");
1076}
1077
1078/* void glLoadPaletteFromModelViewMatrixOES ( void ) */
1079static void
1080android_glLoadPaletteFromModelViewMatrixOES__
1081  (JNIEnv *_env, jobject _this) {
1082    _env->ThrowNew(UOEClass,
1083        "glLoadPaletteFromModelViewMatrixOES");
1084}
1085
1086/* void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) */
1087static void
1088android_glMatrixIndexPointerOES__IIILjava_nio_Buffer_2
1089  (JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf) {
1090    _env->ThrowNew(UOEClass,
1091        "glMatrixIndexPointerOES");
1092}
1093
1094/* void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) */
1095static void
1096android_glWeightPointerOES__IIILjava_nio_Buffer_2
1097  (JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf) {
1098    _env->ThrowNew(UOEClass,
1099        "glWeightPointerOES");
1100}
1101
1102/* void glDepthRangefOES ( GLclampf zNear, GLclampf zFar ) */
1103static void
1104android_glDepthRangefOES__FF
1105  (JNIEnv *_env, jobject _this, jfloat zNear, jfloat zFar) {
1106    _env->ThrowNew(UOEClass,
1107        "glDepthRangefOES");
1108}
1109
1110/* void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1111static void
1112android_glFrustumfOES__FFFFFF
1113  (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1114    _env->ThrowNew(UOEClass,
1115        "glFrustumfOES");
1116}
1117
1118/* void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar ) */
1119static void
1120android_glOrthofOES__FFFFFF
1121  (JNIEnv *_env, jobject _this, jfloat left, jfloat right, jfloat bottom, jfloat top, jfloat zNear, jfloat zFar) {
1122    _env->ThrowNew(UOEClass,
1123        "glOrthofOES");
1124}
1125
1126/* void glClipPlanefOES ( GLenum plane, const GLfloat *equation ) */
1127static void
1128android_glClipPlanefOES__I_3FI
1129  (JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) {
1130    _env->ThrowNew(UOEClass,
1131        "glClipPlanefOES");
1132}
1133
1134/* void glClipPlanefOES ( GLenum plane, const GLfloat *equation ) */
1135static void
1136android_glClipPlanefOES__ILjava_nio_FloatBuffer_2
1137  (JNIEnv *_env, jobject _this, jint plane, jobject equation_buf) {
1138    _env->ThrowNew(UOEClass,
1139        "glClipPlanefOES");
1140}
1141
1142/* void glGetClipPlanefOES ( GLenum pname, GLfloat *eqn ) */
1143static void
1144android_glGetClipPlanefOES__I_3FI
1145  (JNIEnv *_env, jobject _this, jint pname, jfloatArray eqn_ref, jint offset) {
1146    _env->ThrowNew(UOEClass,
1147        "glGetClipPlanefOES");
1148}
1149
1150/* void glGetClipPlanefOES ( GLenum pname, GLfloat *eqn ) */
1151static void
1152android_glGetClipPlanefOES__ILjava_nio_FloatBuffer_2
1153  (JNIEnv *_env, jobject _this, jint pname, jobject eqn_buf) {
1154    _env->ThrowNew(UOEClass,
1155        "glGetClipPlanefOES");
1156}
1157
1158/* void glClearDepthfOES ( GLclampf depth ) */
1159static void
1160android_glClearDepthfOES__F
1161  (JNIEnv *_env, jobject _this, jfloat depth) {
1162    _env->ThrowNew(UOEClass,
1163        "glClearDepthfOES");
1164}
1165
1166/* void glTexGenfOES ( GLenum coord, GLenum pname, GLfloat param ) */
1167static void
1168android_glTexGenfOES__IIF
1169  (JNIEnv *_env, jobject _this, jint coord, jint pname, jfloat param) {
1170    _env->ThrowNew(UOEClass,
1171        "glTexGenfOES");
1172}
1173
1174/* void glTexGenfvOES ( GLenum coord, GLenum pname, const GLfloat *params ) */
1175static void
1176android_glTexGenfvOES__II_3FI
1177  (JNIEnv *_env, jobject _this, jint coord, jint pname, jfloatArray params_ref, jint offset) {
1178    _env->ThrowNew(UOEClass,
1179        "glTexGenfvOES");
1180}
1181
1182/* void glTexGenfvOES ( GLenum coord, GLenum pname, const GLfloat *params ) */
1183static void
1184android_glTexGenfvOES__IILjava_nio_FloatBuffer_2
1185  (JNIEnv *_env, jobject _this, jint coord, jint pname, jobject params_buf) {
1186    _env->ThrowNew(UOEClass,
1187        "glTexGenfvOES");
1188}
1189
1190/* void glTexGeniOES ( GLenum coord, GLenum pname, GLint param ) */
1191static void
1192android_glTexGeniOES__III
1193  (JNIEnv *_env, jobject _this, jint coord, jint pname, jint param) {
1194    _env->ThrowNew(UOEClass,
1195        "glTexGeniOES");
1196}
1197
1198/* void glTexGenivOES ( GLenum coord, GLenum pname, const GLint *params ) */
1199static void
1200android_glTexGenivOES__II_3II
1201  (JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) {
1202    _env->ThrowNew(UOEClass,
1203        "glTexGenivOES");
1204}
1205
1206/* void glTexGenivOES ( GLenum coord, GLenum pname, const GLint *params ) */
1207static void
1208android_glTexGenivOES__IILjava_nio_IntBuffer_2
1209  (JNIEnv *_env, jobject _this, jint coord, jint pname, jobject params_buf) {
1210    _env->ThrowNew(UOEClass,
1211        "glTexGenivOES");
1212}
1213
1214/* void glTexGenxOES ( GLenum coord, GLenum pname, GLfixed param ) */
1215static void
1216android_glTexGenxOES__III
1217  (JNIEnv *_env, jobject _this, jint coord, jint pname, jint param) {
1218    _env->ThrowNew(UOEClass,
1219        "glTexGenxOES");
1220}
1221
1222/* void glTexGenxvOES ( GLenum coord, GLenum pname, const GLfixed *params ) */
1223static void
1224android_glTexGenxvOES__II_3II
1225  (JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) {
1226    _env->ThrowNew(UOEClass,
1227        "glTexGenxvOES");
1228}
1229
1230/* void glTexGenxvOES ( GLenum coord, GLenum pname, const GLfixed *params ) */
1231static void
1232android_glTexGenxvOES__IILjava_nio_IntBuffer_2
1233  (JNIEnv *_env, jobject _this, jint coord, jint pname, jobject params_buf) {
1234    _env->ThrowNew(UOEClass,
1235        "glTexGenxvOES");
1236}
1237
1238/* void glGetTexGenfvOES ( GLenum coord, GLenum pname, GLfloat *params ) */
1239static void
1240android_glGetTexGenfvOES__II_3FI
1241  (JNIEnv *_env, jobject _this, jint coord, jint pname, jfloatArray params_ref, jint offset) {
1242    _env->ThrowNew(UOEClass,
1243        "glGetTexGenfvOES");
1244}
1245
1246/* void glGetTexGenfvOES ( GLenum coord, GLenum pname, GLfloat *params ) */
1247static void
1248android_glGetTexGenfvOES__IILjava_nio_FloatBuffer_2
1249  (JNIEnv *_env, jobject _this, jint coord, jint pname, jobject params_buf) {
1250    _env->ThrowNew(UOEClass,
1251        "glGetTexGenfvOES");
1252}
1253
1254/* void glGetTexGenivOES ( GLenum coord, GLenum pname, GLint *params ) */
1255static void
1256android_glGetTexGenivOES__II_3II
1257  (JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) {
1258    _env->ThrowNew(UOEClass,
1259        "glGetTexGenivOES");
1260}
1261
1262/* void glGetTexGenivOES ( GLenum coord, GLenum pname, GLint *params ) */
1263static void
1264android_glGetTexGenivOES__IILjava_nio_IntBuffer_2
1265  (JNIEnv *_env, jobject _this, jint coord, jint pname, jobject params_buf) {
1266    _env->ThrowNew(UOEClass,
1267        "glGetTexGenivOES");
1268}
1269
1270/* void glGetTexGenxvOES ( GLenum coord, GLenum pname, GLfixed *params ) */
1271static void
1272android_glGetTexGenxvOES__II_3II
1273  (JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) {
1274    _env->ThrowNew(UOEClass,
1275        "glGetTexGenxvOES");
1276}
1277
1278/* void glGetTexGenxvOES ( GLenum coord, GLenum pname, GLfixed *params ) */
1279static void
1280android_glGetTexGenxvOES__IILjava_nio_IntBuffer_2
1281  (JNIEnv *_env, jobject _this, jint coord, jint pname, jobject params_buf) {
1282    _env->ThrowNew(UOEClass,
1283        "glGetTexGenxvOES");
1284}
1285
1286static const char *classPathName = "android/opengl/GLES11Ext";
1287
1288static JNINativeMethod methods[] = {
1289{"_nativeClassInit", "()V", (void*)nativeClassInit },
1290{"glBlendEquationSeparateOES", "(II)V", (void *) android_glBlendEquationSeparateOES__II },
1291{"glBlendFuncSeparateOES", "(IIII)V", (void *) android_glBlendFuncSeparateOES__IIII },
1292{"glBlendEquationOES", "(I)V", (void *) android_glBlendEquationOES__I },
1293{"glDrawTexsOES", "(SSSSS)V", (void *) android_glDrawTexsOES__SSSSS },
1294{"glDrawTexiOES", "(IIIII)V", (void *) android_glDrawTexiOES__IIIII },
1295{"glDrawTexxOES", "(IIIII)V", (void *) android_glDrawTexxOES__IIIII },
1296{"glDrawTexsvOES", "([SI)V", (void *) android_glDrawTexsvOES___3SI },
1297{"glDrawTexsvOES", "(Ljava/nio/ShortBuffer;)V", (void *) android_glDrawTexsvOES__Ljava_nio_ShortBuffer_2 },
1298{"glDrawTexivOES", "([II)V", (void *) android_glDrawTexivOES___3II },
1299{"glDrawTexivOES", "(Ljava/nio/IntBuffer;)V", (void *) android_glDrawTexivOES__Ljava_nio_IntBuffer_2 },
1300{"glDrawTexxvOES", "([II)V", (void *) android_glDrawTexxvOES___3II },
1301{"glDrawTexxvOES", "(Ljava/nio/IntBuffer;)V", (void *) android_glDrawTexxvOES__Ljava_nio_IntBuffer_2 },
1302{"glDrawTexfOES", "(FFFFF)V", (void *) android_glDrawTexfOES__FFFFF },
1303{"glDrawTexfvOES", "([FI)V", (void *) android_glDrawTexfvOES___3FI },
1304{"glDrawTexfvOES", "(Ljava/nio/FloatBuffer;)V", (void *) android_glDrawTexfvOES__Ljava_nio_FloatBuffer_2 },
1305{"glEGLImageTargetTexture2DOES", "(ILjava/nio/Buffer;)V", (void *) android_glEGLImageTargetTexture2DOES__ILjava_nio_Buffer_2 },
1306{"glEGLImageTargetRenderbufferStorageOES", "(ILjava/nio/Buffer;)V", (void *) android_glEGLImageTargetRenderbufferStorageOES__ILjava_nio_Buffer_2 },
1307{"glAlphaFuncxOES", "(II)V", (void *) android_glAlphaFuncxOES__II },
1308{"glClearColorxOES", "(IIII)V", (void *) android_glClearColorxOES__IIII },
1309{"glClearDepthxOES", "(I)V", (void *) android_glClearDepthxOES__I },
1310{"glClipPlanexOES", "(I[II)V", (void *) android_glClipPlanexOES__I_3II },
1311{"glClipPlanexOES", "(ILjava/nio/IntBuffer;)V", (void *) android_glClipPlanexOES__ILjava_nio_IntBuffer_2 },
1312{"glColor4xOES", "(IIII)V", (void *) android_glColor4xOES__IIII },
1313{"glDepthRangexOES", "(II)V", (void *) android_glDepthRangexOES__II },
1314{"glFogxOES", "(II)V", (void *) android_glFogxOES__II },
1315{"glFogxvOES", "(I[II)V", (void *) android_glFogxvOES__I_3II },
1316{"glFogxvOES", "(ILjava/nio/IntBuffer;)V", (void *) android_glFogxvOES__ILjava_nio_IntBuffer_2 },
1317{"glFrustumxOES", "(IIIIII)V", (void *) android_glFrustumxOES__IIIIII },
1318{"glGetClipPlanexOES", "(I[II)V", (void *) android_glGetClipPlanexOES__I_3II },
1319{"glGetClipPlanexOES", "(ILjava/nio/IntBuffer;)V", (void *) android_glGetClipPlanexOES__ILjava_nio_IntBuffer_2 },
1320{"glGetFixedvOES", "(I[II)V", (void *) android_glGetFixedvOES__I_3II },
1321{"glGetFixedvOES", "(ILjava/nio/IntBuffer;)V", (void *) android_glGetFixedvOES__ILjava_nio_IntBuffer_2 },
1322{"glGetLightxvOES", "(II[II)V", (void *) android_glGetLightxvOES__II_3II },
1323{"glGetLightxvOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glGetLightxvOES__IILjava_nio_IntBuffer_2 },
1324{"glGetMaterialxvOES", "(II[II)V", (void *) android_glGetMaterialxvOES__II_3II },
1325{"glGetMaterialxvOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glGetMaterialxvOES__IILjava_nio_IntBuffer_2 },
1326{"glGetTexEnvxvOES", "(II[II)V", (void *) android_glGetTexEnvxvOES__II_3II },
1327{"glGetTexEnvxvOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glGetTexEnvxvOES__IILjava_nio_IntBuffer_2 },
1328{"glGetTexParameterxvOES", "(II[II)V", (void *) android_glGetTexParameterxvOES__II_3II },
1329{"glGetTexParameterxvOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glGetTexParameterxvOES__IILjava_nio_IntBuffer_2 },
1330{"glLightModelxOES", "(II)V", (void *) android_glLightModelxOES__II },
1331{"glLightModelxvOES", "(I[II)V", (void *) android_glLightModelxvOES__I_3II },
1332{"glLightModelxvOES", "(ILjava/nio/IntBuffer;)V", (void *) android_glLightModelxvOES__ILjava_nio_IntBuffer_2 },
1333{"glLightxOES", "(III)V", (void *) android_glLightxOES__III },
1334{"glLightxvOES", "(II[II)V", (void *) android_glLightxvOES__II_3II },
1335{"glLightxvOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glLightxvOES__IILjava_nio_IntBuffer_2 },
1336{"glLineWidthxOES", "(I)V", (void *) android_glLineWidthxOES__I },
1337{"glLoadMatrixxOES", "([II)V", (void *) android_glLoadMatrixxOES___3II },
1338{"glLoadMatrixxOES", "(Ljava/nio/IntBuffer;)V", (void *) android_glLoadMatrixxOES__Ljava_nio_IntBuffer_2 },
1339{"glMaterialxOES", "(III)V", (void *) android_glMaterialxOES__III },
1340{"glMaterialxvOES", "(II[II)V", (void *) android_glMaterialxvOES__II_3II },
1341{"glMaterialxvOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glMaterialxvOES__IILjava_nio_IntBuffer_2 },
1342{"glMultMatrixxOES", "([II)V", (void *) android_glMultMatrixxOES___3II },
1343{"glMultMatrixxOES", "(Ljava/nio/IntBuffer;)V", (void *) android_glMultMatrixxOES__Ljava_nio_IntBuffer_2 },
1344{"glMultiTexCoord4xOES", "(IIIII)V", (void *) android_glMultiTexCoord4xOES__IIIII },
1345{"glNormal3xOES", "(III)V", (void *) android_glNormal3xOES__III },
1346{"glOrthoxOES", "(IIIIII)V", (void *) android_glOrthoxOES__IIIIII },
1347{"glPointParameterxOES", "(II)V", (void *) android_glPointParameterxOES__II },
1348{"glPointParameterxvOES", "(I[II)V", (void *) android_glPointParameterxvOES__I_3II },
1349{"glPointParameterxvOES", "(ILjava/nio/IntBuffer;)V", (void *) android_glPointParameterxvOES__ILjava_nio_IntBuffer_2 },
1350{"glPointSizexOES", "(I)V", (void *) android_glPointSizexOES__I },
1351{"glPolygonOffsetxOES", "(II)V", (void *) android_glPolygonOffsetxOES__II },
1352{"glRotatexOES", "(IIII)V", (void *) android_glRotatexOES__IIII },
1353{"glSampleCoveragexOES", "(IZ)V", (void *) android_glSampleCoveragexOES__IZ },
1354{"glScalexOES", "(III)V", (void *) android_glScalexOES__III },
1355{"glTexEnvxOES", "(III)V", (void *) android_glTexEnvxOES__III },
1356{"glTexEnvxvOES", "(II[II)V", (void *) android_glTexEnvxvOES__II_3II },
1357{"glTexEnvxvOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glTexEnvxvOES__IILjava_nio_IntBuffer_2 },
1358{"glTexParameterxOES", "(III)V", (void *) android_glTexParameterxOES__III },
1359{"glTexParameterxvOES", "(II[II)V", (void *) android_glTexParameterxvOES__II_3II },
1360{"glTexParameterxvOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glTexParameterxvOES__IILjava_nio_IntBuffer_2 },
1361{"glTranslatexOES", "(III)V", (void *) android_glTranslatexOES__III },
1362{"glIsRenderbufferOES", "(I)Z", (void *) android_glIsRenderbufferOES__I },
1363{"glBindRenderbufferOES", "(II)V", (void *) android_glBindRenderbufferOES__II },
1364{"glDeleteRenderbuffersOES", "(I[II)V", (void *) android_glDeleteRenderbuffersOES__I_3II },
1365{"glDeleteRenderbuffersOES", "(ILjava/nio/IntBuffer;)V", (void *) android_glDeleteRenderbuffersOES__ILjava_nio_IntBuffer_2 },
1366{"glGenRenderbuffersOES", "(I[II)V", (void *) android_glGenRenderbuffersOES__I_3II },
1367{"glGenRenderbuffersOES", "(ILjava/nio/IntBuffer;)V", (void *) android_glGenRenderbuffersOES__ILjava_nio_IntBuffer_2 },
1368{"glRenderbufferStorageOES", "(IIII)V", (void *) android_glRenderbufferStorageOES__IIII },
1369{"glGetRenderbufferParameterivOES", "(II[II)V", (void *) android_glGetRenderbufferParameterivOES__II_3II },
1370{"glGetRenderbufferParameterivOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glGetRenderbufferParameterivOES__IILjava_nio_IntBuffer_2 },
1371{"glIsFramebufferOES", "(I)Z", (void *) android_glIsFramebufferOES__I },
1372{"glBindFramebufferOES", "(II)V", (void *) android_glBindFramebufferOES__II },
1373{"glDeleteFramebuffersOES", "(I[II)V", (void *) android_glDeleteFramebuffersOES__I_3II },
1374{"glDeleteFramebuffersOES", "(ILjava/nio/IntBuffer;)V", (void *) android_glDeleteFramebuffersOES__ILjava_nio_IntBuffer_2 },
1375{"glGenFramebuffersOES", "(I[II)V", (void *) android_glGenFramebuffersOES__I_3II },
1376{"glGenFramebuffersOES", "(ILjava/nio/IntBuffer;)V", (void *) android_glGenFramebuffersOES__ILjava_nio_IntBuffer_2 },
1377{"glCheckFramebufferStatusOES", "(I)I", (void *) android_glCheckFramebufferStatusOES__I },
1378{"glFramebufferRenderbufferOES", "(IIII)V", (void *) android_glFramebufferRenderbufferOES__IIII },
1379{"glFramebufferTexture2DOES", "(IIIII)V", (void *) android_glFramebufferTexture2DOES__IIIII },
1380{"glGetFramebufferAttachmentParameterivOES", "(III[II)V", (void *) android_glGetFramebufferAttachmentParameterivOES__III_3II },
1381{"glGetFramebufferAttachmentParameterivOES", "(IIILjava/nio/IntBuffer;)V", (void *) android_glGetFramebufferAttachmentParameterivOES__IIILjava_nio_IntBuffer_2 },
1382{"glGenerateMipmapOES", "(I)V", (void *) android_glGenerateMipmapOES__I },
1383{"glCurrentPaletteMatrixOES", "(I)V", (void *) android_glCurrentPaletteMatrixOES__I },
1384{"glLoadPaletteFromModelViewMatrixOES", "()V", (void *) android_glLoadPaletteFromModelViewMatrixOES__ },
1385{"glMatrixIndexPointerOES", "(IIILjava/nio/Buffer;)V", (void *) android_glMatrixIndexPointerOES__IIILjava_nio_Buffer_2 },
1386{"glWeightPointerOES", "(IIILjava/nio/Buffer;)V", (void *) android_glWeightPointerOES__IIILjava_nio_Buffer_2 },
1387{"glDepthRangefOES", "(FF)V", (void *) android_glDepthRangefOES__FF },
1388{"glFrustumfOES", "(FFFFFF)V", (void *) android_glFrustumfOES__FFFFFF },
1389{"glOrthofOES", "(FFFFFF)V", (void *) android_glOrthofOES__FFFFFF },
1390{"glClipPlanefOES", "(I[FI)V", (void *) android_glClipPlanefOES__I_3FI },
1391{"glClipPlanefOES", "(ILjava/nio/FloatBuffer;)V", (void *) android_glClipPlanefOES__ILjava_nio_FloatBuffer_2 },
1392{"glGetClipPlanefOES", "(I[FI)V", (void *) android_glGetClipPlanefOES__I_3FI },
1393{"glGetClipPlanefOES", "(ILjava/nio/FloatBuffer;)V", (void *) android_glGetClipPlanefOES__ILjava_nio_FloatBuffer_2 },
1394{"glClearDepthfOES", "(F)V", (void *) android_glClearDepthfOES__F },
1395{"glTexGenfOES", "(IIF)V", (void *) android_glTexGenfOES__IIF },
1396{"glTexGenfvOES", "(II[FI)V", (void *) android_glTexGenfvOES__II_3FI },
1397{"glTexGenfvOES", "(IILjava/nio/FloatBuffer;)V", (void *) android_glTexGenfvOES__IILjava_nio_FloatBuffer_2 },
1398{"glTexGeniOES", "(III)V", (void *) android_glTexGeniOES__III },
1399{"glTexGenivOES", "(II[II)V", (void *) android_glTexGenivOES__II_3II },
1400{"glTexGenivOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glTexGenivOES__IILjava_nio_IntBuffer_2 },
1401{"glTexGenxOES", "(III)V", (void *) android_glTexGenxOES__III },
1402{"glTexGenxvOES", "(II[II)V", (void *) android_glTexGenxvOES__II_3II },
1403{"glTexGenxvOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glTexGenxvOES__IILjava_nio_IntBuffer_2 },
1404{"glGetTexGenfvOES", "(II[FI)V", (void *) android_glGetTexGenfvOES__II_3FI },
1405{"glGetTexGenfvOES", "(IILjava/nio/FloatBuffer;)V", (void *) android_glGetTexGenfvOES__IILjava_nio_FloatBuffer_2 },
1406{"glGetTexGenivOES", "(II[II)V", (void *) android_glGetTexGenivOES__II_3II },
1407{"glGetTexGenivOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glGetTexGenivOES__IILjava_nio_IntBuffer_2 },
1408{"glGetTexGenxvOES", "(II[II)V", (void *) android_glGetTexGenxvOES__II_3II },
1409{"glGetTexGenxvOES", "(IILjava/nio/IntBuffer;)V", (void *) android_glGetTexGenxvOES__IILjava_nio_IntBuffer_2 },
1410};
1411
1412int register_android_opengl_jni_GLES11Ext(JNIEnv *_env)
1413{
1414    int err;
1415    err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
1416    return err;
1417}
1418