You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
refactor source tree organization, switch to meson
This commit is contained in:
21
src/api-impl/javax/microedition/khronos/egl/EGL.java
Normal file
21
src/api-impl/javax/microedition/khronos/egl/EGL.java
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (C) 2006 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package javax.microedition.khronos.egl;
|
||||
|
||||
public interface EGL {
|
||||
}
|
||||
|
||||
124
src/api-impl/javax/microedition/khronos/egl/EGL10.java
Normal file
124
src/api-impl/javax/microedition/khronos/egl/EGL10.java
Normal file
@@ -0,0 +1,124 @@
|
||||
/*
|
||||
* Copyright (C) 2006 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package javax.microedition.khronos.egl;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
public interface EGL10 extends EGL {
|
||||
int EGL_SUCCESS = 0x3000;
|
||||
int EGL_NOT_INITIALIZED = 0x3001;
|
||||
int EGL_BAD_ACCESS = 0x3002;
|
||||
int EGL_BAD_ALLOC = 0x3003;
|
||||
int EGL_BAD_ATTRIBUTE = 0x3004;
|
||||
int EGL_BAD_CONFIG = 0x3005;
|
||||
int EGL_BAD_CONTEXT = 0x3006;
|
||||
int EGL_BAD_CURRENT_SURFACE = 0x3007;
|
||||
int EGL_BAD_DISPLAY = 0x3008;
|
||||
int EGL_BAD_MATCH = 0x3009;
|
||||
int EGL_BAD_NATIVE_PIXMAP = 0x300A;
|
||||
int EGL_BAD_NATIVE_WINDOW = 0x300B;
|
||||
int EGL_BAD_PARAMETER = 0x300C;
|
||||
int EGL_BAD_SURFACE = 0x300D;
|
||||
int EGL_BUFFER_SIZE = 0x3020;
|
||||
int EGL_ALPHA_SIZE = 0x3021;
|
||||
int EGL_BLUE_SIZE = 0x3022;
|
||||
int EGL_GREEN_SIZE = 0x3023;
|
||||
int EGL_RED_SIZE = 0x3024;
|
||||
int EGL_DEPTH_SIZE = 0x3025;
|
||||
int EGL_STENCIL_SIZE = 0x3026;
|
||||
int EGL_CONFIG_CAVEAT = 0x3027;
|
||||
int EGL_CONFIG_ID = 0x3028;
|
||||
int EGL_LEVEL = 0x3029;
|
||||
int EGL_MAX_PBUFFER_HEIGHT = 0x302A;
|
||||
int EGL_MAX_PBUFFER_PIXELS = 0x302B;
|
||||
int EGL_MAX_PBUFFER_WIDTH = 0x302C;
|
||||
int EGL_NATIVE_RENDERABLE = 0x302D;
|
||||
int EGL_NATIVE_VISUAL_ID = 0x302E;
|
||||
int EGL_NATIVE_VISUAL_TYPE = 0x302F;
|
||||
int EGL_SAMPLES = 0x3031;
|
||||
int EGL_SAMPLE_BUFFERS = 0x3032;
|
||||
int EGL_SURFACE_TYPE = 0x3033;
|
||||
int EGL_TRANSPARENT_TYPE = 0x3034;
|
||||
int EGL_TRANSPARENT_BLUE_VALUE = 0x3035;
|
||||
int EGL_TRANSPARENT_GREEN_VALUE = 0x3036;
|
||||
int EGL_TRANSPARENT_RED_VALUE = 0x3037;
|
||||
int EGL_NONE = 0x3038;
|
||||
int EGL_LUMINANCE_SIZE = 0x303D;
|
||||
int EGL_ALPHA_MASK_SIZE = 0x303E;
|
||||
int EGL_COLOR_BUFFER_TYPE = 0x303F;
|
||||
int EGL_RENDERABLE_TYPE = 0x3040;
|
||||
int EGL_SLOW_CONFIG = 0x3050;
|
||||
int EGL_NON_CONFORMANT_CONFIG = 0x3051;
|
||||
int EGL_TRANSPARENT_RGB = 0x3052;
|
||||
int EGL_RGB_BUFFER = 0x308E;
|
||||
int EGL_LUMINANCE_BUFFER = 0x308F;
|
||||
int EGL_VENDOR = 0x3053;
|
||||
int EGL_VERSION = 0x3054;
|
||||
int EGL_EXTENSIONS = 0x3055;
|
||||
int EGL_HEIGHT = 0x3056;
|
||||
int EGL_WIDTH = 0x3057;
|
||||
int EGL_LARGEST_PBUFFER = 0x3058;
|
||||
int EGL_RENDER_BUFFER = 0x3086;
|
||||
int EGL_COLORSPACE = 0x3087;
|
||||
int EGL_ALPHA_FORMAT = 0x3088;
|
||||
int EGL_HORIZONTAL_RESOLUTION = 0x3090;
|
||||
int EGL_VERTICAL_RESOLUTION = 0x3091;
|
||||
int EGL_PIXEL_ASPECT_RATIO = 0x3092;
|
||||
int EGL_CONTEXT_CLIENT_VERSION = 0x3098;
|
||||
int EGL_SINGLE_BUFFER = 0x3085;
|
||||
int EGL_CORE_NATIVE_ENGINE = 0x305B;
|
||||
int EGL_DRAW = 0x3059;
|
||||
int EGL_READ = 0x305A;
|
||||
|
||||
int EGL_DONT_CARE = -1;
|
||||
|
||||
int EGL_PBUFFER_BIT = 0x01;
|
||||
int EGL_PIXMAP_BIT = 0x02;
|
||||
int EGL_WINDOW_BIT = 0x04;
|
||||
|
||||
Object EGL_DEFAULT_DISPLAY = null;
|
||||
EGLDisplay EGL_NO_DISPLAY = null;//new com.google.android.gles_jni.EGLDisplayImpl(0);
|
||||
EGLContext EGL_NO_CONTEXT = null;//new com.google.android.gles_jni.EGLContextImpl(0);
|
||||
EGLSurface EGL_NO_SURFACE = null;//new com.google.android.gles_jni.EGLSurfaceImpl(0);
|
||||
|
||||
boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config_size, int[] num_config);
|
||||
boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap);
|
||||
EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list);
|
||||
EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list);
|
||||
EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list);
|
||||
EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list);
|
||||
boolean eglDestroyContext(EGLDisplay display, EGLContext context);
|
||||
boolean eglDestroySurface(EGLDisplay display, EGLSurface surface);
|
||||
boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value);
|
||||
boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, int[] num_config);
|
||||
EGLContext eglGetCurrentContext();
|
||||
EGLDisplay eglGetCurrentDisplay();
|
||||
EGLSurface eglGetCurrentSurface(int readdraw);
|
||||
EGLDisplay eglGetDisplay(Object native_display);
|
||||
int eglGetError();
|
||||
boolean eglInitialize(EGLDisplay display, int[] major_minor);
|
||||
boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context);
|
||||
boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value);
|
||||
String eglQueryString(EGLDisplay display, int name);
|
||||
boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value);
|
||||
/** @hide **/
|
||||
boolean eglReleaseThread();
|
||||
boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface);
|
||||
boolean eglTerminate(EGLDisplay display);
|
||||
boolean eglWaitGL();
|
||||
boolean eglWaitNative(int engine, Object bindTarget);
|
||||
}
|
||||
21
src/api-impl/javax/microedition/khronos/egl/EGL11.java
Normal file
21
src/api-impl/javax/microedition/khronos/egl/EGL11.java
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (C) 2006 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package javax.microedition.khronos.egl;
|
||||
|
||||
public interface EGL11 extends EGL10 {
|
||||
int EGL_CONTEXT_LOST = 0x300E;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.microedition.khronos.egl;
|
||||
|
||||
public class EGLConfig {
|
||||
public long native_egl_config = 0;
|
||||
|
||||
public EGLConfig(long native_egl_config) {
|
||||
this.native_egl_config = native_egl_config;
|
||||
}
|
||||
}
|
||||
23
src/api-impl/javax/microedition/khronos/egl/EGLContext.java
Normal file
23
src/api-impl/javax/microedition/khronos/egl/EGLContext.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package javax.microedition.khronos.egl;
|
||||
|
||||
import javax.microedition.khronos.opengles.GL;
|
||||
|
||||
public class EGLContext
|
||||
{
|
||||
private static final EGL EGL_INSTANCE = new com.google.android.gles_jni.EGLImpl();
|
||||
private static final GL GL_INSTANCE = new com.google.android.gles_jni.GLImpl(); // FIXME - not all GLs are created equal
|
||||
public long native_egl_context = 0;
|
||||
|
||||
public static EGL getEGL() {
|
||||
return EGL_INSTANCE;
|
||||
}
|
||||
|
||||
// FIXME - not all GLs are created equal
|
||||
public static GL getGL() {
|
||||
return GL_INSTANCE;
|
||||
}
|
||||
|
||||
public EGLContext(long native_egl_context) {
|
||||
this.native_egl_context = native_egl_context;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package javax.microedition.khronos.egl;
|
||||
|
||||
public class EGLDisplay {
|
||||
public long native_egl_display = 0;
|
||||
|
||||
public EGLDisplay(long native_egl_display) {
|
||||
this.native_egl_display = native_egl_display;
|
||||
}
|
||||
}
|
||||
21
src/api-impl/javax/microedition/khronos/egl/EGLSurface.java
Normal file
21
src/api-impl/javax/microedition/khronos/egl/EGLSurface.java
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (C) 2006 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package javax.microedition.khronos.egl;
|
||||
|
||||
public abstract class EGLSurface
|
||||
{
|
||||
}
|
||||
22
src/api-impl/javax/microedition/khronos/opengles/GL.java
Normal file
22
src/api-impl/javax/microedition/khronos/opengles/GL.java
Normal file
@@ -0,0 +1,22 @@
|
||||
/* //device/java/android/javax/microedition/khronos/opengles/GL.java
|
||||
**
|
||||
** Copyright 2006, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
|
||||
package javax.microedition.khronos.opengles;
|
||||
|
||||
public interface GL {
|
||||
}
|
||||
|
||||
972
src/api-impl/javax/microedition/khronos/opengles/GL10.java
Normal file
972
src/api-impl/javax/microedition/khronos/opengles/GL10.java
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,36 @@
|
||||
/* //device/java/android/javax/microedition/khronos/opengles/GL10Ext.java
|
||||
**
|
||||
** Copyright 2007, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
|
||||
// This source file is automatically generated
|
||||
|
||||
package javax.microedition.khronos.opengles;
|
||||
|
||||
public interface GL10Ext extends GL {
|
||||
|
||||
int glQueryMatrixxOES(
|
||||
int[] mantissa,
|
||||
int mantissaOffset,
|
||||
int[] exponent,
|
||||
int exponentOffset
|
||||
);
|
||||
|
||||
int glQueryMatrixxOES(
|
||||
java.nio.IntBuffer mantissa,
|
||||
java.nio.IntBuffer exponent
|
||||
);
|
||||
|
||||
}
|
||||
550
src/api-impl/javax/microedition/khronos/opengles/GL11.java
Normal file
550
src/api-impl/javax/microedition/khronos/opengles/GL11.java
Normal file
File diff suppressed because it is too large
Load Diff
153
src/api-impl/javax/microedition/khronos/opengles/GL11Ext.java
Normal file
153
src/api-impl/javax/microedition/khronos/opengles/GL11Ext.java
Normal file
@@ -0,0 +1,153 @@
|
||||
/* //device/java/android/javax/microedition/khronos/opengles/GL11Ext.java
|
||||
**
|
||||
** Copyright 2007, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
|
||||
// This source file is automatically generated
|
||||
|
||||
package javax.microedition.khronos.opengles;
|
||||
|
||||
public interface GL11Ext extends GL {
|
||||
int GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES = 0x8B9E;
|
||||
int GL_MATRIX_INDEX_ARRAY_OES = 0x8844;
|
||||
int GL_MATRIX_INDEX_ARRAY_POINTER_OES = 0x8849;
|
||||
int GL_MATRIX_INDEX_ARRAY_SIZE_OES = 0x8846;
|
||||
int GL_MATRIX_INDEX_ARRAY_STRIDE_OES = 0x8848;
|
||||
int GL_MATRIX_INDEX_ARRAY_TYPE_OES = 0x8847;
|
||||
int GL_MATRIX_PALETTE_OES = 0x8840;
|
||||
int GL_MAX_PALETTE_MATRICES_OES = 0x8842;
|
||||
int GL_MAX_VERTEX_UNITS_OES = 0x86A4;
|
||||
int GL_TEXTURE_CROP_RECT_OES = 0x8B9D;
|
||||
int GL_WEIGHT_ARRAY_BUFFER_BINDING_OES = 0x889E;
|
||||
int GL_WEIGHT_ARRAY_OES = 0x86AD;
|
||||
int GL_WEIGHT_ARRAY_POINTER_OES = 0x86AC;
|
||||
int GL_WEIGHT_ARRAY_SIZE_OES = 0x86AB;
|
||||
int GL_WEIGHT_ARRAY_STRIDE_OES = 0x86AA;
|
||||
int GL_WEIGHT_ARRAY_TYPE_OES = 0x86A9;
|
||||
|
||||
void glTexParameterfv(int target, int pname, float[] param, int offset);
|
||||
|
||||
void glCurrentPaletteMatrixOES(
|
||||
int matrixpaletteindex
|
||||
);
|
||||
|
||||
void glDrawTexfOES(
|
||||
float x,
|
||||
float y,
|
||||
float z,
|
||||
float width,
|
||||
float height
|
||||
);
|
||||
|
||||
void glDrawTexfvOES(
|
||||
float[] coords,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glDrawTexfvOES(
|
||||
java.nio.FloatBuffer coords
|
||||
);
|
||||
|
||||
void glDrawTexiOES(
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
int width,
|
||||
int height
|
||||
);
|
||||
|
||||
void glDrawTexivOES(
|
||||
int[] coords,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glDrawTexivOES(
|
||||
java.nio.IntBuffer coords
|
||||
);
|
||||
|
||||
void glDrawTexsOES(
|
||||
short x,
|
||||
short y,
|
||||
short z,
|
||||
short width,
|
||||
short height
|
||||
);
|
||||
|
||||
void glDrawTexsvOES(
|
||||
short[] coords,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glDrawTexsvOES(
|
||||
java.nio.ShortBuffer coords
|
||||
);
|
||||
|
||||
void glDrawTexxOES(
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
int width,
|
||||
int height
|
||||
);
|
||||
|
||||
void glDrawTexxvOES(
|
||||
int[] coords,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glDrawTexxvOES(
|
||||
java.nio.IntBuffer coords
|
||||
);
|
||||
|
||||
void glEnable(
|
||||
int cap
|
||||
);
|
||||
|
||||
void glEnableClientState(
|
||||
int array
|
||||
);
|
||||
|
||||
void glLoadPaletteFromModelViewMatrixOES(
|
||||
);
|
||||
|
||||
void glMatrixIndexPointerOES(
|
||||
int size,
|
||||
int type,
|
||||
int stride,
|
||||
java.nio.Buffer pointer
|
||||
);
|
||||
|
||||
void glMatrixIndexPointerOES(
|
||||
int size,
|
||||
int type,
|
||||
int stride,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glWeightPointerOES(
|
||||
int size,
|
||||
int type,
|
||||
int stride,
|
||||
java.nio.Buffer pointer
|
||||
);
|
||||
|
||||
void glWeightPointerOES(
|
||||
int size,
|
||||
int type,
|
||||
int stride,
|
||||
int offset
|
||||
);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,434 @@
|
||||
/* //device/java/android/javax/microedition/khronos/opengles/GL11ExtensionPack.java
|
||||
**
|
||||
** Copyright 2007, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
|
||||
// This source file is automatically generated
|
||||
|
||||
package javax.microedition.khronos.opengles;
|
||||
|
||||
public interface GL11ExtensionPack extends GL {
|
||||
int GL_BLEND_DST_ALPHA = 0x80CA;
|
||||
int GL_BLEND_DST_RGB = 0x80C8;
|
||||
int GL_BLEND_EQUATION = 0x8009;
|
||||
int GL_BLEND_EQUATION_ALPHA = 0x883D;
|
||||
int GL_BLEND_EQUATION_RGB = 0x8009;
|
||||
int GL_BLEND_SRC_ALPHA = 0x80CB;
|
||||
int GL_BLEND_SRC_RGB = 0x80C9;
|
||||
int GL_COLOR_ATTACHMENT0_OES = 0x8CE0;
|
||||
int GL_COLOR_ATTACHMENT1_OES = 0x8CE1;
|
||||
int GL_COLOR_ATTACHMENT2_OES = 0x8CE2;
|
||||
int GL_COLOR_ATTACHMENT3_OES = 0x8CE3;
|
||||
int GL_COLOR_ATTACHMENT4_OES = 0x8CE4;
|
||||
int GL_COLOR_ATTACHMENT5_OES = 0x8CE5;
|
||||
int GL_COLOR_ATTACHMENT6_OES = 0x8CE6;
|
||||
int GL_COLOR_ATTACHMENT7_OES = 0x8CE7;
|
||||
int GL_COLOR_ATTACHMENT8_OES = 0x8CE8;
|
||||
int GL_COLOR_ATTACHMENT9_OES = 0x8CE9;
|
||||
int GL_COLOR_ATTACHMENT10_OES = 0x8CEA;
|
||||
int GL_COLOR_ATTACHMENT11_OES = 0x8CEB;
|
||||
int GL_COLOR_ATTACHMENT12_OES = 0x8CEC;
|
||||
int GL_COLOR_ATTACHMENT13_OES = 0x8CED;
|
||||
int GL_COLOR_ATTACHMENT14_OES = 0x8CEE;
|
||||
int GL_COLOR_ATTACHMENT15_OES = 0x8CEF;
|
||||
int GL_DECR_WRAP = 0x8508;
|
||||
int GL_DEPTH_ATTACHMENT_OES = 0x8D00;
|
||||
int GL_DEPTH_COMPONENT = 0x1902;
|
||||
int GL_DEPTH_COMPONENT16 = 0x81A5;
|
||||
int GL_DEPTH_COMPONENT24 = 0x81A6;
|
||||
int GL_DEPTH_COMPONENT32 = 0x81A7;
|
||||
int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES = 0x8CD1;
|
||||
int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES = 0x8CD0;
|
||||
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES = 0x8CD3;
|
||||
int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES = 0x8CD2;
|
||||
int GL_FRAMEBUFFER_BINDING_OES = 0x8CA6;
|
||||
int GL_FRAMEBUFFER_COMPLETE_OES = 0x8CD5;
|
||||
int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES = 0x8CD6;
|
||||
int GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES = 0x8CD9;
|
||||
int GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_OES = 0x8CDB;
|
||||
int GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES = 0x8CDA;
|
||||
int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES = 0x8CD7;
|
||||
int GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_OES = 0x8CDC;
|
||||
int GL_FRAMEBUFFER_OES = 0x8D40;
|
||||
int GL_FRAMEBUFFER_UNSUPPORTED_OES = 0x8CDD;
|
||||
int GL_FUNC_ADD = 0x8006;
|
||||
int GL_FUNC_REVERSE_SUBTRACT = 0x800B;
|
||||
int GL_FUNC_SUBTRACT = 0x800A;
|
||||
int GL_INCR_WRAP = 0x8507;
|
||||
int GL_INVALID_FRAMEBUFFER_OPERATION_OES = 0x0506;
|
||||
int GL_MAX_COLOR_ATTACHMENTS_OES = 0x8CDF;
|
||||
int GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
|
||||
int GL_MAX_RENDERBUFFER_SIZE_OES = 0x84E8;
|
||||
int GL_MIRRORED_REPEAT = 0x8370;
|
||||
int GL_NORMAL_MAP = 0x8511;
|
||||
int GL_REFLECTION_MAP = 0x8512;
|
||||
int GL_RENDERBUFFER_ALPHA_SIZE_OES = 0x8D53;
|
||||
int GL_RENDERBUFFER_BINDING_OES = 0x8CA7;
|
||||
int GL_RENDERBUFFER_BLUE_SIZE_OES = 0x8D52;
|
||||
int GL_RENDERBUFFER_DEPTH_SIZE_OES = 0x8D54;
|
||||
int GL_RENDERBUFFER_GREEN_SIZE_OES = 0x8D51;
|
||||
int GL_RENDERBUFFER_HEIGHT_OES = 0x8D43;
|
||||
int GL_RENDERBUFFER_INTERNAL_FORMAT_OES = 0x8D44;
|
||||
int GL_RENDERBUFFER_OES = 0x8D41;
|
||||
int GL_RENDERBUFFER_RED_SIZE_OES = 0x8D50;
|
||||
int GL_RENDERBUFFER_STENCIL_SIZE_OES = 0x8D55;
|
||||
int GL_RENDERBUFFER_WIDTH_OES = 0x8D42;
|
||||
int GL_RGB5_A1 = 0x8057;
|
||||
int GL_RGB565_OES = 0x8D62;
|
||||
int GL_RGB8 = 0x8051;
|
||||
int GL_RGBA4 = 0x8056;
|
||||
int GL_RGBA8 = 0x8058;
|
||||
int GL_STENCIL_ATTACHMENT_OES = 0x8D20;
|
||||
int GL_STENCIL_INDEX = 0x1901;
|
||||
int GL_STENCIL_INDEX1_OES = 0x8D46;
|
||||
int GL_STENCIL_INDEX4_OES = 0x8D47;
|
||||
int GL_STENCIL_INDEX8_OES = 0x8D48;
|
||||
int GL_STR = -1;
|
||||
int GL_TEXTURE_BINDING_CUBE_MAP = 0x8514;
|
||||
int GL_TEXTURE_CUBE_MAP = 0x8513;
|
||||
int GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
|
||||
int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
|
||||
int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
|
||||
int GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
|
||||
int GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
|
||||
int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
|
||||
int GL_TEXTURE_GEN_MODE = 0x2500;
|
||||
int GL_TEXTURE_GEN_STR = 0x8D60;
|
||||
|
||||
void glBindFramebufferOES(
|
||||
int target,
|
||||
int framebuffer
|
||||
);
|
||||
|
||||
void glBindRenderbufferOES(
|
||||
int target,
|
||||
int renderbuffer
|
||||
);
|
||||
|
||||
void glBindTexture(
|
||||
int target,
|
||||
int texture
|
||||
);
|
||||
|
||||
void glBlendEquation(
|
||||
int mode
|
||||
);
|
||||
|
||||
void glBlendEquationSeparate(
|
||||
int modeRGB,
|
||||
int modeAlpha
|
||||
);
|
||||
|
||||
void glBlendFuncSeparate(
|
||||
int srcRGB,
|
||||
int dstRGB,
|
||||
int srcAlpha,
|
||||
int dstAlpha
|
||||
);
|
||||
|
||||
int glCheckFramebufferStatusOES(
|
||||
int target
|
||||
);
|
||||
|
||||
void glCompressedTexImage2D(
|
||||
int target,
|
||||
int level,
|
||||
int internalformat,
|
||||
int width,
|
||||
int height,
|
||||
int border,
|
||||
int imageSize,
|
||||
java.nio.Buffer data
|
||||
);
|
||||
|
||||
void glCopyTexImage2D(
|
||||
int target,
|
||||
int level,
|
||||
int internalformat,
|
||||
int x,
|
||||
int y,
|
||||
int width,
|
||||
int height,
|
||||
int border
|
||||
);
|
||||
|
||||
void glDeleteFramebuffersOES(
|
||||
int n,
|
||||
int[] framebuffers,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glDeleteFramebuffersOES(
|
||||
int n,
|
||||
java.nio.IntBuffer framebuffers
|
||||
);
|
||||
|
||||
void glDeleteRenderbuffersOES(
|
||||
int n,
|
||||
int[] renderbuffers,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glDeleteRenderbuffersOES(
|
||||
int n,
|
||||
java.nio.IntBuffer renderbuffers
|
||||
);
|
||||
|
||||
void glEnable(
|
||||
int cap
|
||||
);
|
||||
|
||||
void glFramebufferRenderbufferOES(
|
||||
int target,
|
||||
int attachment,
|
||||
int renderbuffertarget,
|
||||
int renderbuffer
|
||||
);
|
||||
|
||||
void glFramebufferTexture2DOES(
|
||||
int target,
|
||||
int attachment,
|
||||
int textarget,
|
||||
int texture,
|
||||
int level
|
||||
);
|
||||
|
||||
void glGenerateMipmapOES(
|
||||
int target
|
||||
);
|
||||
|
||||
void glGenFramebuffersOES(
|
||||
int n,
|
||||
int[] framebuffers,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glGenFramebuffersOES(
|
||||
int n,
|
||||
java.nio.IntBuffer framebuffers
|
||||
);
|
||||
|
||||
void glGenRenderbuffersOES(
|
||||
int n,
|
||||
int[] renderbuffers,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glGenRenderbuffersOES(
|
||||
int n,
|
||||
java.nio.IntBuffer renderbuffers
|
||||
);
|
||||
|
||||
void glGetFramebufferAttachmentParameterivOES(
|
||||
int target,
|
||||
int attachment,
|
||||
int pname,
|
||||
int[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glGetFramebufferAttachmentParameterivOES(
|
||||
int target,
|
||||
int attachment,
|
||||
int pname,
|
||||
java.nio.IntBuffer params
|
||||
);
|
||||
|
||||
void glGetIntegerv(
|
||||
int pname,
|
||||
int[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glGetIntegerv(
|
||||
int pname,
|
||||
java.nio.IntBuffer params
|
||||
);
|
||||
|
||||
void glGetRenderbufferParameterivOES(
|
||||
int target,
|
||||
int pname,
|
||||
int[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glGetRenderbufferParameterivOES(
|
||||
int target,
|
||||
int pname,
|
||||
java.nio.IntBuffer params
|
||||
);
|
||||
|
||||
void glGetTexGenfv(
|
||||
int coord,
|
||||
int pname,
|
||||
float[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glGetTexGenfv(
|
||||
int coord,
|
||||
int pname,
|
||||
java.nio.FloatBuffer params
|
||||
);
|
||||
|
||||
void glGetTexGeniv(
|
||||
int coord,
|
||||
int pname,
|
||||
int[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glGetTexGeniv(
|
||||
int coord,
|
||||
int pname,
|
||||
java.nio.IntBuffer params
|
||||
);
|
||||
|
||||
void glGetTexGenxv(
|
||||
int coord,
|
||||
int pname,
|
||||
int[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glGetTexGenxv(
|
||||
int coord,
|
||||
int pname,
|
||||
java.nio.IntBuffer params
|
||||
);
|
||||
|
||||
boolean glIsFramebufferOES(
|
||||
int framebuffer
|
||||
);
|
||||
|
||||
boolean glIsRenderbufferOES(
|
||||
int renderbuffer
|
||||
);
|
||||
|
||||
void glRenderbufferStorageOES(
|
||||
int target,
|
||||
int internalformat,
|
||||
int width,
|
||||
int height
|
||||
);
|
||||
|
||||
void glStencilOp(
|
||||
int fail,
|
||||
int zfail,
|
||||
int zpass
|
||||
);
|
||||
|
||||
void glTexEnvf(
|
||||
int target,
|
||||
int pname,
|
||||
float param
|
||||
);
|
||||
|
||||
void glTexEnvfv(
|
||||
int target,
|
||||
int pname,
|
||||
float[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glTexEnvfv(
|
||||
int target,
|
||||
int pname,
|
||||
java.nio.FloatBuffer params
|
||||
);
|
||||
|
||||
void glTexEnvx(
|
||||
int target,
|
||||
int pname,
|
||||
int param
|
||||
);
|
||||
|
||||
void glTexEnvxv(
|
||||
int target,
|
||||
int pname,
|
||||
int[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glTexEnvxv(
|
||||
int target,
|
||||
int pname,
|
||||
java.nio.IntBuffer params
|
||||
);
|
||||
|
||||
void glTexGenf(
|
||||
int coord,
|
||||
int pname,
|
||||
float param
|
||||
);
|
||||
|
||||
void glTexGenfv(
|
||||
int coord,
|
||||
int pname,
|
||||
float[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glTexGenfv(
|
||||
int coord,
|
||||
int pname,
|
||||
java.nio.FloatBuffer params
|
||||
);
|
||||
|
||||
void glTexGeni(
|
||||
int coord,
|
||||
int pname,
|
||||
int param
|
||||
);
|
||||
|
||||
void glTexGeniv(
|
||||
int coord,
|
||||
int pname,
|
||||
int[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glTexGeniv(
|
||||
int coord,
|
||||
int pname,
|
||||
java.nio.IntBuffer params
|
||||
);
|
||||
|
||||
void glTexGenx(
|
||||
int coord,
|
||||
int pname,
|
||||
int param
|
||||
);
|
||||
|
||||
void glTexGenxv(
|
||||
int coord,
|
||||
int pname,
|
||||
int[] params,
|
||||
int offset
|
||||
);
|
||||
|
||||
void glTexGenxv(
|
||||
int coord,
|
||||
int pname,
|
||||
java.nio.IntBuffer params
|
||||
);
|
||||
|
||||
void glTexParameterf(
|
||||
int target,
|
||||
int pname,
|
||||
float param
|
||||
);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<HTML>
|
||||
<BODY>
|
||||
<p>Provides a standard OpenGL interface.</p>
|
||||
|
||||
<p>For more information about how to use OpenGL, read the
|
||||
<a href="{@docRoot}guide/topics/graphics/opengl.html">OpenGL</a> developer guide.</p>
|
||||
</BODY>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user