Jack Palevich | 27f8002 | 2009-04-15 19:13:17 -0700 | [diff] [blame^] | 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 | |
| 31 | static int initialized = 0; |
| 32 | |
| 33 | static jclass nioAccessClass; |
| 34 | static jclass bufferClass; |
| 35 | static jclass OOMEClass; |
| 36 | static jclass UOEClass; |
| 37 | static jclass IAEClass; |
| 38 | static jclass AIOOBEClass; |
| 39 | static jmethodID getBasePointerID; |
| 40 | static jmethodID getBaseArrayID; |
| 41 | static jmethodID getBaseArrayOffsetID; |
| 42 | static jfieldID positionID; |
| 43 | static jfieldID limitID; |
| 44 | static jfieldID elementSizeShiftID; |
| 45 | |
| 46 | /* Cache method IDs each time the class is loaded. */ |
| 47 | |
| 48 | static void |
| 49 | nativeClassInitBuffer(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 | |
| 71 | static void |
| 72 | nativeClassInit(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 | |
| 91 | static void * |
| 92 | getPointer(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 | |
| 122 | static void |
| 123 | releasePointer(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 ) */ |
| 132 | static void |
| 133 | android_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 ) */ |
| 140 | static void |
| 141 | android_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 ) */ |
| 148 | static void |
| 149 | android_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 ) */ |
| 156 | static void |
| 157 | android_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 ) */ |
| 169 | static void |
| 170 | android_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 ) */ |
| 182 | static void |
| 183 | android_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 ) */ |
| 195 | static void |
| 196 | android_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 | |
| 223 | exit: |
| 224 | if (coords_base) { |
| 225 | _env->ReleasePrimitiveArrayCritical(coords_ref, coords_base, |
| 226 | JNI_ABORT); |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | /* void glDrawTexsvOES ( const GLshort *coords ) */ |
| 231 | static void |
| 232 | android_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 | |
| 247 | exit: |
| 248 | if (_array) { |
| 249 | releasePointer(_env, _array, coords, JNI_FALSE); |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | /* void glDrawTexivOES ( const GLint *coords ) */ |
| 254 | static void |
| 255 | android_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 | |
| 282 | exit: |
| 283 | if (coords_base) { |
| 284 | _env->ReleasePrimitiveArrayCritical(coords_ref, coords_base, |
| 285 | JNI_ABORT); |
| 286 | } |
| 287 | } |
| 288 | |
| 289 | /* void glDrawTexivOES ( const GLint *coords ) */ |
| 290 | static void |
| 291 | android_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 | |
| 306 | exit: |
| 307 | if (_array) { |
| 308 | releasePointer(_env, _array, coords, JNI_FALSE); |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | /* void glDrawTexxvOES ( const GLfixed *coords ) */ |
| 313 | static void |
| 314 | android_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 | |
| 341 | exit: |
| 342 | if (coords_base) { |
| 343 | _env->ReleasePrimitiveArrayCritical(coords_ref, coords_base, |
| 344 | JNI_ABORT); |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | /* void glDrawTexxvOES ( const GLfixed *coords ) */ |
| 349 | static void |
| 350 | android_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 | |
| 365 | exit: |
| 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 ) */ |
| 372 | static void |
| 373 | android_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 ) */ |
| 385 | static void |
| 386 | android_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 | |
| 413 | exit: |
| 414 | if (coords_base) { |
| 415 | _env->ReleasePrimitiveArrayCritical(coords_ref, coords_base, |
| 416 | JNI_ABORT); |
| 417 | } |
| 418 | } |
| 419 | |
| 420 | /* void glDrawTexfvOES ( const GLfloat *coords ) */ |
| 421 | static void |
| 422 | android_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 | |
| 437 | exit: |
| 438 | if (_array) { |
| 439 | releasePointer(_env, _array, coords, JNI_FALSE); |
| 440 | } |
| 441 | } |
| 442 | |
| 443 | /* void glEGLImageTargetTexture2DOES ( GLenum target, GLeglImageOES image ) */ |
| 444 | static void |
| 445 | android_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 ) */ |
| 452 | static void |
| 453 | android_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 ) */ |
| 460 | static void |
| 461 | android_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 ) */ |
| 468 | static void |
| 469 | android_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 ) */ |
| 476 | static void |
| 477 | android_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 ) */ |
| 484 | static void |
| 485 | android_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 ) */ |
| 492 | static void |
| 493 | android_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 ) */ |
| 500 | static void |
| 501 | android_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 ) */ |
| 508 | static void |
| 509 | android_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 ) */ |
| 516 | static void |
| 517 | android_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 ) */ |
| 524 | static void |
| 525 | android_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 ) */ |
| 532 | static void |
| 533 | android_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 ) */ |
| 540 | static void |
| 541 | android_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 ) */ |
| 548 | static void |
| 549 | android_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 ) */ |
| 556 | static void |
| 557 | android_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 ) */ |
| 564 | static void |
| 565 | android_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 ) */ |
| 572 | static void |
| 573 | android_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 ) */ |
| 580 | static void |
| 581 | android_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 ) */ |
| 588 | static void |
| 589 | android_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 ) */ |
| 596 | static void |
| 597 | android_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 ) */ |
| 604 | static void |
| 605 | android_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 ) */ |
| 612 | static void |
| 613 | android_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 ) */ |
| 620 | static void |
| 621 | android_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 ) */ |
| 628 | static void |
| 629 | android_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 ) */ |
| 636 | static void |
| 637 | android_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 ) */ |
| 644 | static void |
| 645 | android_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 ) */ |
| 652 | static void |
| 653 | android_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 ) */ |
| 660 | static void |
| 661 | android_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 ) */ |
| 668 | static void |
| 669 | android_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 ) */ |
| 676 | static void |
| 677 | android_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 ) */ |
| 684 | static void |
| 685 | android_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 ) */ |
| 692 | static void |
| 693 | android_glLineWidthxOES__I |
| 694 | (JNIEnv *_env, jobject _this, jint width) { |
| 695 | _env->ThrowNew(UOEClass, |
| 696 | "glLineWidthxOES"); |
| 697 | } |
| 698 | |
| 699 | /* void glLoadMatrixxOES ( const GLfixed *m ) */ |
| 700 | static void |
| 701 | android_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 ) */ |
| 708 | static void |
| 709 | android_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 ) */ |
| 716 | static void |
| 717 | android_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 ) */ |
| 724 | static void |
| 725 | android_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 ) */ |
| 732 | static void |
| 733 | android_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 ) */ |
| 740 | static void |
| 741 | android_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 ) */ |
| 748 | static void |
| 749 | android_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 ) */ |
| 756 | static void |
| 757 | android_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 ) */ |
| 764 | static void |
| 765 | android_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 ) */ |
| 772 | static void |
| 773 | android_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 ) */ |
| 780 | static void |
| 781 | android_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 ) */ |
| 788 | static void |
| 789 | android_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 ) */ |
| 796 | static void |
| 797 | android_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 ) */ |
| 804 | static void |
| 805 | android_glPointSizexOES__I |
| 806 | (JNIEnv *_env, jobject _this, jint size) { |
| 807 | _env->ThrowNew(UOEClass, |
| 808 | "glPointSizexOES"); |
| 809 | } |
| 810 | |
| 811 | /* void glPolygonOffsetxOES ( GLfixed factor, GLfixed units ) */ |
| 812 | static void |
| 813 | android_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 ) */ |
| 820 | static void |
| 821 | android_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 ) */ |
| 828 | static void |
| 829 | android_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 ) */ |
| 836 | static void |
| 837 | android_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 ) */ |
| 844 | static void |
| 845 | android_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 ) */ |
| 852 | static void |
| 853 | android_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 ) */ |
| 860 | static void |
| 861 | android_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 ) */ |
| 868 | static void |
| 869 | android_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 ) */ |
| 876 | static void |
| 877 | android_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 ) */ |
| 884 | static void |
| 885 | android_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 ) */ |
| 892 | static void |
| 893 | android_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 ) */ |
| 900 | static jboolean |
| 901 | android_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 ) */ |
| 909 | static void |
| 910 | android_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 ) */ |
| 917 | static void |
| 918 | android_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 ) */ |
| 925 | static void |
| 926 | android_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 ) */ |
| 933 | static void |
| 934 | android_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 ) */ |
| 941 | static void |
| 942 | android_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 ) */ |
| 949 | static void |
| 950 | android_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 ) */ |
| 957 | static void |
| 958 | android_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 ) */ |
| 965 | static void |
| 966 | android_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 ) */ |
| 973 | static jboolean |
| 974 | android_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 ) */ |
| 982 | static void |
| 983 | android_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 ) */ |
| 990 | static void |
| 991 | android_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 ) */ |
| 998 | static void |
| 999 | android_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 ) */ |
| 1006 | static void |
| 1007 | android_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 ) */ |
| 1014 | static void |
| 1015 | android_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 ) */ |
| 1022 | static jint |
| 1023 | android_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 ) */ |
| 1031 | static void |
| 1032 | android_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 ) */ |
| 1039 | static void |
| 1040 | android_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 ) */ |
| 1047 | static void |
| 1048 | android_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 ) */ |
| 1055 | static void |
| 1056 | android_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 ) */ |
| 1063 | static void |
| 1064 | android_glGenerateMipmapOES__I |
| 1065 | (JNIEnv *_env, jobject _this, jint target) { |
| 1066 | _env->ThrowNew(UOEClass, |
| 1067 | "glGenerateMipmapOES"); |
| 1068 | } |
| 1069 | |
| 1070 | /* void glCurrentPaletteMatrixOES ( GLuint matrixpaletteindex ) */ |
| 1071 | static void |
| 1072 | android_glCurrentPaletteMatrixOES__I |
| 1073 | (JNIEnv *_env, jobject _this, jint matrixpaletteindex) { |
| 1074 | _env->ThrowNew(UOEClass, |
| 1075 | "glCurrentPaletteMatrixOES"); |
| 1076 | } |
| 1077 | |
| 1078 | /* void glLoadPaletteFromModelViewMatrixOES ( void ) */ |
| 1079 | static void |
| 1080 | android_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 ) */ |
| 1087 | static void |
| 1088 | android_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 ) */ |
| 1095 | static void |
| 1096 | android_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 ) */ |
| 1103 | static void |
| 1104 | android_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 ) */ |
| 1111 | static void |
| 1112 | android_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 ) */ |
| 1119 | static void |
| 1120 | android_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 ) */ |
| 1127 | static void |
| 1128 | android_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 ) */ |
| 1135 | static void |
| 1136 | android_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 ) */ |
| 1143 | static void |
| 1144 | android_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 ) */ |
| 1151 | static void |
| 1152 | android_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 ) */ |
| 1159 | static void |
| 1160 | android_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 ) */ |
| 1167 | static void |
| 1168 | android_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 ) */ |
| 1175 | static void |
| 1176 | android_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 ) */ |
| 1183 | static void |
| 1184 | android_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 ) */ |
| 1191 | static void |
| 1192 | android_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 ) */ |
| 1199 | static void |
| 1200 | android_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 ) */ |
| 1207 | static void |
| 1208 | android_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 ) */ |
| 1215 | static void |
| 1216 | android_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 ) */ |
| 1223 | static void |
| 1224 | android_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 ) */ |
| 1231 | static void |
| 1232 | android_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 ) */ |
| 1239 | static void |
| 1240 | android_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 ) */ |
| 1247 | static void |
| 1248 | android_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 ) */ |
| 1255 | static void |
| 1256 | android_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 ) */ |
| 1263 | static void |
| 1264 | android_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 ) */ |
| 1271 | static void |
| 1272 | android_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 ) */ |
| 1279 | static void |
| 1280 | android_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 | |
| 1286 | static const char *classPathName = "android/opengl/GLES11Ext"; |
| 1287 | |
| 1288 | static 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 | |
| 1412 | int 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 | } |