From d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 3 Mar 2009 18:28:45 -0800 Subject: auto import from //depot/cupcake/@135843 --- .../java/javax/microedition/khronos/egl/EGL.java | 22 - .../java/javax/microedition/khronos/egl/EGL10.java | 121 --- .../java/javax/microedition/khronos/egl/EGL11.java | 21 - .../javax/microedition/khronos/egl/EGLConfig.java | 22 - .../javax/microedition/khronos/egl/EGLContext.java | 31 - .../javax/microedition/khronos/egl/EGLDisplay.java | 22 - .../javax/microedition/khronos/egl/EGLSurface.java | 22 - .../javax/microedition/khronos/opengles/GL.java | 22 - .../javax/microedition/khronos/opengles/GL10.java | 972 --------------------- .../microedition/khronos/opengles/GL10Ext.java | 36 - .../javax/microedition/khronos/opengles/GL11.java | 550 ------------ .../microedition/khronos/opengles/GL11Ext.java | 153 ---- .../khronos/opengles/GL11ExtensionPack.java | 434 --------- 13 files changed, 2428 deletions(-) delete mode 100644 opengl/java/javax/microedition/khronos/egl/EGL.java delete mode 100644 opengl/java/javax/microedition/khronos/egl/EGL10.java delete mode 100644 opengl/java/javax/microedition/khronos/egl/EGL11.java delete mode 100644 opengl/java/javax/microedition/khronos/egl/EGLConfig.java delete mode 100644 opengl/java/javax/microedition/khronos/egl/EGLContext.java delete mode 100644 opengl/java/javax/microedition/khronos/egl/EGLDisplay.java delete mode 100644 opengl/java/javax/microedition/khronos/egl/EGLSurface.java delete mode 100644 opengl/java/javax/microedition/khronos/opengles/GL.java delete mode 100644 opengl/java/javax/microedition/khronos/opengles/GL10.java delete mode 100644 opengl/java/javax/microedition/khronos/opengles/GL10Ext.java delete mode 100644 opengl/java/javax/microedition/khronos/opengles/GL11.java delete mode 100644 opengl/java/javax/microedition/khronos/opengles/GL11Ext.java delete mode 100644 opengl/java/javax/microedition/khronos/opengles/GL11ExtensionPack.java (limited to 'opengl/java/javax') diff --git a/opengl/java/javax/microedition/khronos/egl/EGL.java b/opengl/java/javax/microedition/khronos/egl/EGL.java deleted file mode 100644 index b743968..0000000 --- a/opengl/java/javax/microedition/khronos/egl/EGL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* -** -** 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.egl; - -public interface EGL { -} - diff --git a/opengl/java/javax/microedition/khronos/egl/EGL10.java b/opengl/java/javax/microedition/khronos/egl/EGL10.java deleted file mode 100644 index 2ae793a..0000000 --- a/opengl/java/javax/microedition/khronos/egl/EGL10.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * 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_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 = new com.google.android.gles_jni.EGLDisplayImpl(0); - EGLContext EGL_NO_CONTEXT = new com.google.android.gles_jni.EGLContextImpl(0); - EGLSurface EGL_NO_SURFACE = 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); - boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface); - boolean eglTerminate(EGLDisplay display); - boolean eglWaitGL(); - boolean eglWaitNative(int engine, Object bindTarget); -} diff --git a/opengl/java/javax/microedition/khronos/egl/EGL11.java b/opengl/java/javax/microedition/khronos/egl/EGL11.java deleted file mode 100644 index 41d62e6..0000000 --- a/opengl/java/javax/microedition/khronos/egl/EGL11.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 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; -} diff --git a/opengl/java/javax/microedition/khronos/egl/EGLConfig.java b/opengl/java/javax/microedition/khronos/egl/EGLConfig.java deleted file mode 100644 index a1e496c..0000000 --- a/opengl/java/javax/microedition/khronos/egl/EGLConfig.java +++ /dev/null @@ -1,22 +0,0 @@ -/* -** -** 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.egl; - -public abstract class EGLConfig -{ -} diff --git a/opengl/java/javax/microedition/khronos/egl/EGLContext.java b/opengl/java/javax/microedition/khronos/egl/EGLContext.java deleted file mode 100644 index fc94492..0000000 --- a/opengl/java/javax/microedition/khronos/egl/EGLContext.java +++ /dev/null @@ -1,31 +0,0 @@ -/* -** -** 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.egl; - -import javax.microedition.khronos.opengles.GL; - -public abstract class EGLContext -{ - private static final EGL EGL_INSTANCE = new com.google.android.gles_jni.EGLImpl(); - - public static EGL getEGL() { - return EGL_INSTANCE; - } - - public abstract GL getGL(); -} diff --git a/opengl/java/javax/microedition/khronos/egl/EGLDisplay.java b/opengl/java/javax/microedition/khronos/egl/EGLDisplay.java deleted file mode 100644 index cd8a755..0000000 --- a/opengl/java/javax/microedition/khronos/egl/EGLDisplay.java +++ /dev/null @@ -1,22 +0,0 @@ -/* -** -** 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.egl; - -public abstract class EGLDisplay -{ -} diff --git a/opengl/java/javax/microedition/khronos/egl/EGLSurface.java b/opengl/java/javax/microedition/khronos/egl/EGLSurface.java deleted file mode 100644 index 5349bc1..0000000 --- a/opengl/java/javax/microedition/khronos/egl/EGLSurface.java +++ /dev/null @@ -1,22 +0,0 @@ -/* -** -** 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.egl; - -public abstract class EGLSurface -{ -} diff --git a/opengl/java/javax/microedition/khronos/opengles/GL.java b/opengl/java/javax/microedition/khronos/opengles/GL.java deleted file mode 100644 index 3b78f3d..0000000 --- a/opengl/java/javax/microedition/khronos/opengles/GL.java +++ /dev/null @@ -1,22 +0,0 @@ -/* //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 { -} - diff --git a/opengl/java/javax/microedition/khronos/opengles/GL10.java b/opengl/java/javax/microedition/khronos/opengles/GL10.java deleted file mode 100644 index 4fcfb52..0000000 --- a/opengl/java/javax/microedition/khronos/opengles/GL10.java +++ /dev/null @@ -1,972 +0,0 @@ -/* //device/java/android/javax/microedition/khronos/opengles/GL10.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. -*/ - -// This source file is automatically generated - -package javax.microedition.khronos.opengles; - -public interface GL10 extends GL { - int GL_ADD = 0x0104; - int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E; - int GL_ALIASED_POINT_SIZE_RANGE = 0x846D; - int GL_ALPHA = 0x1906; - int GL_ALPHA_BITS = 0x0D55; - int GL_ALPHA_TEST = 0x0BC0; - int GL_ALWAYS = 0x0207; - int GL_AMBIENT = 0x1200; - int GL_AMBIENT_AND_DIFFUSE = 0x1602; - int GL_AND = 0x1501; - int GL_AND_INVERTED = 0x1504; - int GL_AND_REVERSE = 0x1502; - int GL_BACK = 0x0405; - int GL_BLEND = 0x0BE2; - int GL_BLUE_BITS = 0x0D54; - int GL_BYTE = 0x1400; - int GL_CCW = 0x0901; - int GL_CLAMP_TO_EDGE = 0x812F; - int GL_CLEAR = 0x1500; - int GL_COLOR_ARRAY = 0x8076; - int GL_COLOR_BUFFER_BIT = 0x4000; - int GL_COLOR_LOGIC_OP = 0x0BF2; - int GL_COLOR_MATERIAL = 0x0B57; - int GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3; - int GL_CONSTANT_ATTENUATION = 0x1207; - int GL_COPY = 0x1503; - int GL_COPY_INVERTED = 0x150C; - int GL_CULL_FACE = 0x0B44; - int GL_CW = 0x0900; - int GL_DECAL = 0x2101; - int GL_DECR = 0x1E03; - int GL_DEPTH_BITS = 0x0D56; - int GL_DEPTH_BUFFER_BIT = 0x0100; - int GL_DEPTH_TEST = 0x0B71; - int GL_DIFFUSE = 0x1201; - int GL_DITHER = 0x0BD0; - int GL_DONT_CARE = 0x1100; - int GL_DST_ALPHA = 0x0304; - int GL_DST_COLOR = 0x0306; - int GL_EMISSION = 0x1600; - int GL_EQUAL = 0x0202; - int GL_EQUIV = 0x1509; - int GL_EXP = 0x0800; - int GL_EXP2 = 0x0801; - int GL_EXTENSIONS = 0x1F03; - int GL_FALSE = 0; - int GL_FASTEST = 0x1101; - int GL_FIXED = 0x140C; - int GL_FLAT = 0x1D00; - int GL_FLOAT = 0x1406; - int GL_FOG = 0x0B60; - int GL_FOG_COLOR = 0x0B66; - int GL_FOG_DENSITY = 0x0B62; - int GL_FOG_END = 0x0B64; - int GL_FOG_HINT = 0x0C54; - int GL_FOG_MODE = 0x0B65; - int GL_FOG_START = 0x0B63; - int GL_FRONT = 0x0404; - int GL_FRONT_AND_BACK = 0x0408; - int GL_GEQUAL = 0x0206; - int GL_GREATER = 0x0204; - int GL_GREEN_BITS = 0x0D53; - int GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES = 0x8B9B; - int GL_IMPLEMENTATION_COLOR_READ_TYPE_OES = 0x8B9A; - int GL_INCR = 0x1E02; - int GL_INVALID_ENUM = 0x0500; - int GL_INVALID_OPERATION = 0x0502; - int GL_INVALID_VALUE = 0x0501; - int GL_INVERT = 0x150A; - int GL_KEEP = 0x1E00; - int GL_LEQUAL = 0x0203; - int GL_LESS = 0x0201; - int GL_LIGHT_MODEL_AMBIENT = 0x0B53; - int GL_LIGHT_MODEL_TWO_SIDE = 0x0B52; - int GL_LIGHT0 = 0x4000; - int GL_LIGHT1 = 0x4001; - int GL_LIGHT2 = 0x4002; - int GL_LIGHT3 = 0x4003; - int GL_LIGHT4 = 0x4004; - int GL_LIGHT5 = 0x4005; - int GL_LIGHT6 = 0x4006; - int GL_LIGHT7 = 0x4007; - int GL_LIGHTING = 0x0B50; - int GL_LINE_LOOP = 0x0002; - int GL_LINE_SMOOTH = 0x0B20; - int GL_LINE_SMOOTH_HINT = 0x0C52; - int GL_LINE_STRIP = 0x0003; - int GL_LINEAR = 0x2601; - int GL_LINEAR_ATTENUATION = 0x1208; - int GL_LINEAR_MIPMAP_LINEAR = 0x2703; - int GL_LINEAR_MIPMAP_NEAREST = 0x2701; - int GL_LINES = 0x0001; - int GL_LUMINANCE = 0x1909; - int GL_LUMINANCE_ALPHA = 0x190A; - int GL_MAX_ELEMENTS_INDICES = 0x80E9; - int GL_MAX_ELEMENTS_VERTICES = 0x80E8; - int GL_MAX_LIGHTS = 0x0D31; - int GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36; - int GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38; - int GL_MAX_TEXTURE_SIZE = 0x0D33; - int GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39; - int GL_MAX_TEXTURE_UNITS = 0x84E2; - int GL_MAX_VIEWPORT_DIMS = 0x0D3A; - int GL_MODELVIEW = 0x1700; - int GL_MODULATE = 0x2100; - int GL_MULTISAMPLE = 0x809D; - int GL_NAND = 0x150E; - int GL_NEAREST = 0x2600; - int GL_NEAREST_MIPMAP_LINEAR = 0x2702; - int GL_NEAREST_MIPMAP_NEAREST = 0x2700; - int GL_NEVER = 0x0200; - int GL_NICEST = 0x1102; - int GL_NO_ERROR = 0; - int GL_NOOP = 0x1505; - int GL_NOR = 0x1508; - int GL_NORMAL_ARRAY = 0x8075; - int GL_NORMALIZE = 0x0BA1; - int GL_NOTEQUAL = 0x0205; - int GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2; - int GL_ONE = 1; - int GL_ONE_MINUS_DST_ALPHA = 0x0305; - int GL_ONE_MINUS_DST_COLOR = 0x0307; - int GL_ONE_MINUS_SRC_ALPHA = 0x0303; - int GL_ONE_MINUS_SRC_COLOR = 0x0301; - int GL_OR = 0x1507; - int GL_OR_INVERTED = 0x150D; - int GL_OR_REVERSE = 0x150B; - int GL_OUT_OF_MEMORY = 0x0505; - int GL_PACK_ALIGNMENT = 0x0D05; - int GL_PALETTE4_R5_G6_B5_OES = 0x8B92; - int GL_PALETTE4_RGB5_A1_OES = 0x8B94; - int GL_PALETTE4_RGB8_OES = 0x8B90; - int GL_PALETTE4_RGBA4_OES = 0x8B93; - int GL_PALETTE4_RGBA8_OES = 0x8B91; - int GL_PALETTE8_R5_G6_B5_OES = 0x8B97; - int GL_PALETTE8_RGB5_A1_OES = 0x8B99; - int GL_PALETTE8_RGB8_OES = 0x8B95; - int GL_PALETTE8_RGBA4_OES = 0x8B98; - int GL_PALETTE8_RGBA8_OES = 0x8B96; - int GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50; - int GL_POINT_SMOOTH = 0x0B10; - int GL_POINT_SMOOTH_HINT = 0x0C51; - int GL_POINTS = 0x0000; - int GL_POINT_FADE_THRESHOLD_SIZE = 0x8128; - int GL_POINT_SIZE = 0x0B11; - int GL_POLYGON_OFFSET_FILL = 0x8037; - int GL_POLYGON_SMOOTH_HINT = 0x0C53; - int GL_POSITION = 0x1203; - int GL_PROJECTION = 0x1701; - int GL_QUADRATIC_ATTENUATION = 0x1209; - int GL_RED_BITS = 0x0D52; - int GL_RENDERER = 0x1F01; - int GL_REPEAT = 0x2901; - int GL_REPLACE = 0x1E01; - int GL_RESCALE_NORMAL = 0x803A; - int GL_RGB = 0x1907; - int GL_RGBA = 0x1908; - int GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E; - int GL_SAMPLE_ALPHA_TO_ONE = 0x809F; - int GL_SAMPLE_COVERAGE = 0x80A0; - int GL_SCISSOR_TEST = 0x0C11; - int GL_SET = 0x150F; - int GL_SHININESS = 0x1601; - int GL_SHORT = 0x1402; - int GL_SMOOTH = 0x1D01; - int GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22; - int GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12; - int GL_SPECULAR = 0x1202; - int GL_SPOT_CUTOFF = 0x1206; - int GL_SPOT_DIRECTION = 0x1204; - int GL_SPOT_EXPONENT = 0x1205; - int GL_SRC_ALPHA = 0x0302; - int GL_SRC_ALPHA_SATURATE = 0x0308; - int GL_SRC_COLOR = 0x0300; - int GL_STACK_OVERFLOW = 0x0503; - int GL_STACK_UNDERFLOW = 0x0504; - int GL_STENCIL_BITS = 0x0D57; - int GL_STENCIL_BUFFER_BIT = 0x0400; - int GL_STENCIL_TEST = 0x0B90; - int GL_SUBPIXEL_BITS = 0x0D50; - int GL_TEXTURE = 0x1702; - int GL_TEXTURE_2D = 0x0DE1; - int GL_TEXTURE_COORD_ARRAY = 0x8078; - int GL_TEXTURE_ENV = 0x2300; - int GL_TEXTURE_ENV_COLOR = 0x2201; - int GL_TEXTURE_ENV_MODE = 0x2200; - int GL_TEXTURE_MAG_FILTER = 0x2800; - int GL_TEXTURE_MIN_FILTER = 0x2801; - int GL_TEXTURE_WRAP_S = 0x2802; - int GL_TEXTURE_WRAP_T = 0x2803; - int GL_TEXTURE0 = 0x84C0; - int GL_TEXTURE1 = 0x84C1; - int GL_TEXTURE2 = 0x84C2; - int GL_TEXTURE3 = 0x84C3; - int GL_TEXTURE4 = 0x84C4; - int GL_TEXTURE5 = 0x84C5; - int GL_TEXTURE6 = 0x84C6; - int GL_TEXTURE7 = 0x84C7; - int GL_TEXTURE8 = 0x84C8; - int GL_TEXTURE9 = 0x84C9; - int GL_TEXTURE10 = 0x84CA; - int GL_TEXTURE11 = 0x84CB; - int GL_TEXTURE12 = 0x84CC; - int GL_TEXTURE13 = 0x84CD; - int GL_TEXTURE14 = 0x84CE; - int GL_TEXTURE15 = 0x84CF; - int GL_TEXTURE16 = 0x84D0; - int GL_TEXTURE17 = 0x84D1; - int GL_TEXTURE18 = 0x84D2; - int GL_TEXTURE19 = 0x84D3; - int GL_TEXTURE20 = 0x84D4; - int GL_TEXTURE21 = 0x84D5; - int GL_TEXTURE22 = 0x84D6; - int GL_TEXTURE23 = 0x84D7; - int GL_TEXTURE24 = 0x84D8; - int GL_TEXTURE25 = 0x84D9; - int GL_TEXTURE26 = 0x84DA; - int GL_TEXTURE27 = 0x84DB; - int GL_TEXTURE28 = 0x84DC; - int GL_TEXTURE29 = 0x84DD; - int GL_TEXTURE30 = 0x84DE; - int GL_TEXTURE31 = 0x84DF; - int GL_TRIANGLE_FAN = 0x0006; - int GL_TRIANGLE_STRIP = 0x0005; - int GL_TRIANGLES = 0x0004; - int GL_TRUE = 1; - int GL_UNPACK_ALIGNMENT = 0x0CF5; - int GL_UNSIGNED_BYTE = 0x1401; - int GL_UNSIGNED_SHORT = 0x1403; - int GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033; - int GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034; - int GL_UNSIGNED_SHORT_5_6_5 = 0x8363; - int GL_VENDOR = 0x1F00; - int GL_VERSION = 0x1F02; - int GL_VERTEX_ARRAY = 0x8074; - int GL_XOR = 0x1506; - int GL_ZERO = 0; - - void glActiveTexture( - int texture - ); - - void glAlphaFunc( - int func, - float ref - ); - - void glAlphaFuncx( - int func, - int ref - ); - - void glBindTexture( - int target, - int texture - ); - - void glBlendFunc( - int sfactor, - int dfactor - ); - - void glClear( - int mask - ); - - void glClearColor( - float red, - float green, - float blue, - float alpha - ); - - void glClearColorx( - int red, - int green, - int blue, - int alpha - ); - - void glClearDepthf( - float depth - ); - - void glClearDepthx( - int depth - ); - - void glClearStencil( - int s - ); - - void glClientActiveTexture( - int texture - ); - - void glColor4f( - float red, - float green, - float blue, - float alpha - ); - - void glColor4x( - int red, - int green, - int blue, - int alpha - ); - - void glColorMask( - boolean red, - boolean green, - boolean blue, - boolean alpha - ); - - void glColorPointer( - int size, - int type, - int stride, - java.nio.Buffer pointer - ); - - void glCompressedTexImage2D( - int target, - int level, - int internalformat, - int width, - int height, - int border, - int imageSize, - java.nio.Buffer data - ); - - void glCompressedTexSubImage2D( - int target, - int level, - int xoffset, - int yoffset, - int width, - int height, - int format, - 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 glCopyTexSubImage2D( - int target, - int level, - int xoffset, - int yoffset, - int x, - int y, - int width, - int height - ); - - void glCullFace( - int mode - ); - - void glDeleteTextures( - int n, - int[] textures, - int offset - ); - - void glDeleteTextures( - int n, - java.nio.IntBuffer textures - ); - - void glDepthFunc( - int func - ); - - void glDepthMask( - boolean flag - ); - - void glDepthRangef( - float zNear, - float zFar - ); - - void glDepthRangex( - int zNear, - int zFar - ); - - void glDisable( - int cap - ); - - void glDisableClientState( - int array - ); - - void glDrawArrays( - int mode, - int first, - int count - ); - - void glDrawElements( - int mode, - int count, - int type, - java.nio.Buffer indices - ); - - void glEnable( - int cap - ); - - void glEnableClientState( - int array - ); - - void glFinish( - ); - - void glFlush( - ); - - void glFogf( - int pname, - float param - ); - - void glFogfv( - int pname, - float[] params, - int offset - ); - - void glFogfv( - int pname, - java.nio.FloatBuffer params - ); - - void glFogx( - int pname, - int param - ); - - void glFogxv( - int pname, - int[] params, - int offset - ); - - void glFogxv( - int pname, - java.nio.IntBuffer params - ); - - void glFrontFace( - int mode - ); - - void glFrustumf( - float left, - float right, - float bottom, - float top, - float zNear, - float zFar - ); - - void glFrustumx( - int left, - int right, - int bottom, - int top, - int zNear, - int zFar - ); - - void glGenTextures( - int n, - int[] textures, - int offset - ); - - void glGenTextures( - int n, - java.nio.IntBuffer textures - ); - - int glGetError( - ); - - void glGetIntegerv( - int pname, - int[] params, - int offset - ); - - void glGetIntegerv( - int pname, - java.nio.IntBuffer params - ); - - public String glGetString( - int name - ); - - void glHint( - int target, - int mode - ); - - void glLightModelf( - int pname, - float param - ); - - void glLightModelfv( - int pname, - float[] params, - int offset - ); - - void glLightModelfv( - int pname, - java.nio.FloatBuffer params - ); - - void glLightModelx( - int pname, - int param - ); - - void glLightModelxv( - int pname, - int[] params, - int offset - ); - - void glLightModelxv( - int pname, - java.nio.IntBuffer params - ); - - void glLightf( - int light, - int pname, - float param - ); - - void glLightfv( - int light, - int pname, - float[] params, - int offset - ); - - void glLightfv( - int light, - int pname, - java.nio.FloatBuffer params - ); - - void glLightx( - int light, - int pname, - int param - ); - - void glLightxv( - int light, - int pname, - int[] params, - int offset - ); - - void glLightxv( - int light, - int pname, - java.nio.IntBuffer params - ); - - void glLineWidth( - float width - ); - - void glLineWidthx( - int width - ); - - void glLoadIdentity( - ); - - void glLoadMatrixf( - float[] m, - int offset - ); - - void glLoadMatrixf( - java.nio.FloatBuffer m - ); - - void glLoadMatrixx( - int[] m, - int offset - ); - - void glLoadMatrixx( - java.nio.IntBuffer m - ); - - void glLogicOp( - int opcode - ); - - void glMaterialf( - int face, - int pname, - float param - ); - - void glMaterialfv( - int face, - int pname, - float[] params, - int offset - ); - - void glMaterialfv( - int face, - int pname, - java.nio.FloatBuffer params - ); - - void glMaterialx( - int face, - int pname, - int param - ); - - void glMaterialxv( - int face, - int pname, - int[] params, - int offset - ); - - void glMaterialxv( - int face, - int pname, - java.nio.IntBuffer params - ); - - void glMatrixMode( - int mode - ); - - void glMultMatrixf( - float[] m, - int offset - ); - - void glMultMatrixf( - java.nio.FloatBuffer m - ); - - void glMultMatrixx( - int[] m, - int offset - ); - - void glMultMatrixx( - java.nio.IntBuffer m - ); - - void glMultiTexCoord4f( - int target, - float s, - float t, - float r, - float q - ); - - void glMultiTexCoord4x( - int target, - int s, - int t, - int r, - int q - ); - - void glNormal3f( - float nx, - float ny, - float nz - ); - - void glNormal3x( - int nx, - int ny, - int nz - ); - - void glNormalPointer( - int type, - int stride, - java.nio.Buffer pointer - ); - - void glOrthof( - float left, - float right, - float bottom, - float top, - float zNear, - float zFar - ); - - void glOrthox( - int left, - int right, - int bottom, - int top, - int zNear, - int zFar - ); - - void glPixelStorei( - int pname, - int param - ); - - void glPointSize( - float size - ); - - void glPointSizex( - int size - ); - - void glPolygonOffset( - float factor, - float units - ); - - void glPolygonOffsetx( - int factor, - int units - ); - - void glPopMatrix( - ); - - void glPushMatrix( - ); - - void glReadPixels( - int x, - int y, - int width, - int height, - int format, - int type, - java.nio.Buffer pixels - ); - - void glRotatef( - float angle, - float x, - float y, - float z - ); - - void glRotatex( - int angle, - int x, - int y, - int z - ); - - void glSampleCoverage( - float value, - boolean invert - ); - - void glSampleCoveragex( - int value, - boolean invert - ); - - void glScalef( - float x, - float y, - float z - ); - - void glScalex( - int x, - int y, - int z - ); - - void glScissor( - int x, - int y, - int width, - int height - ); - - void glShadeModel( - int mode - ); - - void glStencilFunc( - int func, - int ref, - int mask - ); - - void glStencilMask( - int mask - ); - - void glStencilOp( - int fail, - int zfail, - int zpass - ); - - void glTexCoordPointer( - int size, - int type, - int stride, - java.nio.Buffer pointer - ); - - 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 glTexImage2D( - int target, - int level, - int internalformat, - int width, - int height, - int border, - int format, - int type, - java.nio.Buffer pixels - ); - - void glTexParameterf( - int target, - int pname, - float param - ); - - void glTexParameterx( - int target, - int pname, - int param - ); - - void glTexSubImage2D( - int target, - int level, - int xoffset, - int yoffset, - int width, - int height, - int format, - int type, - java.nio.Buffer pixels - ); - - void glTranslatef( - float x, - float y, - float z - ); - - void glTranslatex( - int x, - int y, - int z - ); - - void glVertexPointer( - int size, - int type, - int stride, - java.nio.Buffer pointer - ); - - void glViewport( - int x, - int y, - int width, - int height - ); - -} diff --git a/opengl/java/javax/microedition/khronos/opengles/GL10Ext.java b/opengl/java/javax/microedition/khronos/opengles/GL10Ext.java deleted file mode 100644 index 562b20a..0000000 --- a/opengl/java/javax/microedition/khronos/opengles/GL10Ext.java +++ /dev/null @@ -1,36 +0,0 @@ -/* //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 - ); - -} diff --git a/opengl/java/javax/microedition/khronos/opengles/GL11.java b/opengl/java/javax/microedition/khronos/opengles/GL11.java deleted file mode 100644 index 3ba110c..0000000 --- a/opengl/java/javax/microedition/khronos/opengles/GL11.java +++ /dev/null @@ -1,550 +0,0 @@ -/* //device/java/android/javax/microedition/khronos/opengles/GL11.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. -*/ - -// This source file is automatically generated - -package javax.microedition.khronos.opengles; - -public interface GL11 extends GL10 { - int GL_ACTIVE_TEXTURE = 0x84E0; - int GL_ADD_SIGNED = 0x8574; - int GL_ALPHA_SCALE = 0x0D1C; - int GL_ALPHA_TEST_FUNC = 0x0BC1; - int GL_ALPHA_TEST_REF = 0x0BC2; - int GL_ARRAY_BUFFER = 0x8892; - int GL_ARRAY_BUFFER_BINDING = 0x8894; - int GL_BLEND_DST = 0x0BE0; - int GL_BLEND_SRC = 0x0BE1; - int GL_BUFFER_ACCESS = 0x88BB; - int GL_BUFFER_SIZE = 0x8764; - int GL_BUFFER_USAGE = 0x8765; - int GL_CLIENT_ACTIVE_TEXTURE = 0x84E1; - int GL_CLIP_PLANE0 = 0x3000; - int GL_CLIP_PLANE1 = 0x3001; - int GL_CLIP_PLANE2 = 0x3002; - int GL_CLIP_PLANE3 = 0x3003; - int GL_CLIP_PLANE4 = 0x3004; - int GL_CLIP_PLANE5 = 0x3005; - int GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898; - int GL_COLOR_ARRAY_POINTER = 0x8090; - int GL_COLOR_ARRAY_SIZE = 0x8081; - int GL_COLOR_ARRAY_STRIDE = 0x8083; - int GL_COLOR_ARRAY_TYPE = 0x8082; - int GL_COLOR_CLEAR_VALUE = 0x0C22; - int GL_COLOR_WRITEMASK = 0x0C23; - int GL_COMBINE = 0x8570; - int GL_COMBINE_ALPHA = 0x8572; - int GL_COMBINE_RGB = 0x8571; - int GL_CONSTANT = 0x8576; - int GL_COORD_REPLACE_OES = 0x8862; - int GL_CULL_FACE_MODE = 0x0B45; - int GL_CURRENT_COLOR = 0x0B00; - int GL_CURRENT_NORMAL = 0x0B02; - int GL_CURRENT_TEXTURE_COORDS = 0x0B03; - int GL_DEPTH_CLEAR_VALUE = 0x0B73; - int GL_DEPTH_FUNC = 0x0B74; - int GL_DEPTH_RANGE = 0x0B70; - int GL_DEPTH_WRITEMASK = 0x0B72; - int GL_DOT3_RGB = 0x86AE; - int GL_DOT3_RGBA = 0x86AF; - int GL_DYNAMIC_DRAW = 0x88E8; - int GL_ELEMENT_ARRAY_BUFFER = 0x8893; - int GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; - int GL_FRONT_FACE = 0x0B46; - int GL_GENERATE_MIPMAP = 0x8191; - int GL_GENERATE_MIPMAP_HINT = 0x8192; - int GL_INTERPOLATE = 0x8575; - int GL_LINE_WIDTH = 0x0B21; - int GL_LOGIC_OP_MODE = 0x0BF0; - int GL_MATRIX_MODE = 0x0BA0; - int GL_MAX_CLIP_PLANES = 0x0D32; - int GL_MODELVIEW_MATRIX = 0x0BA6; - int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898D; - int GL_MODELVIEW_STACK_DEPTH = 0x0BA3; - int GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897; - int GL_NORMAL_ARRAY_POINTER = 0x808F; - int GL_NORMAL_ARRAY_STRIDE = 0x807F; - int GL_NORMAL_ARRAY_TYPE = 0x807E; - int GL_OPERAND0_ALPHA = 0x8598; - int GL_OPERAND0_RGB = 0x8590; - int GL_OPERAND1_ALPHA = 0x8599; - int GL_OPERAND1_RGB = 0x8591; - int GL_OPERAND2_ALPHA = 0x859A; - int GL_OPERAND2_RGB = 0x8592; - int GL_POINT_DISTANCE_ATTENUATION = 0x8129; - int GL_POINT_FADE_THRESHOLD_SIZE = 0x8128; - int GL_POINT_SIZE = 0x0B11; - int GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES = 0x8B9F; - int GL_POINT_SIZE_ARRAY_OES = 0x8B9C; - int GL_POINT_SIZE_ARRAY_POINTER_OES = 0x898C; - int GL_POINT_SIZE_ARRAY_STRIDE_OES = 0x898B; - int GL_POINT_SIZE_ARRAY_TYPE_OES = 0x898A; - int GL_POINT_SIZE_MAX = 0x8127; - int GL_POINT_SIZE_MIN = 0x8126; - int GL_POINT_SPRITE_OES = 0x8861; - int GL_POLYGON_OFFSET_FACTOR = 0x8038; - int GL_POLYGON_OFFSET_UNITS = 0x2A00; - int GL_PREVIOUS = 0x8578; - int GL_PRIMARY_COLOR = 0x8577; - int GL_PROJECTION_MATRIX = 0x0BA7; - int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E; - int GL_PROJECTION_STACK_DEPTH = 0x0BA4; - int GL_RGB_SCALE = 0x8573; - int GL_SAMPLE_BUFFERS = 0x80A8; - int GL_SAMPLE_COVERAGE_INVERT = 0x80AB; - int GL_SAMPLE_COVERAGE_VALUE = 0x80AA; - int GL_SAMPLES = 0x80A9; - int GL_SCISSOR_BOX = 0x0C10; - int GL_SHADE_MODEL = 0x0B54; - int GL_SRC0_ALPHA = 0x8588; - int GL_SRC0_RGB = 0x8580; - int GL_SRC1_ALPHA = 0x8589; - int GL_SRC1_RGB = 0x8581; - int GL_SRC2_ALPHA = 0x858A; - int GL_SRC2_RGB = 0x8582; - int GL_STATIC_DRAW = 0x88E4; - int GL_STENCIL_CLEAR_VALUE = 0x0B91; - int GL_STENCIL_FAIL = 0x0B94; - int GL_STENCIL_FUNC = 0x0B92; - int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95; - int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96; - int GL_STENCIL_REF = 0x0B97; - int GL_STENCIL_VALUE_MASK = 0x0B93; - int GL_STENCIL_WRITEMASK = 0x0B98; - int GL_SUBTRACT = 0x84E7; - int GL_TEXTURE_BINDING_2D = 0x8069; - int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A; - int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092; - int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088; - int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A; - int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089; - int GL_TEXTURE_MATRIX = 0x0BA8; - int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898F; - int GL_TEXTURE_STACK_DEPTH = 0x0BA5; - int GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896; - int GL_VERTEX_ARRAY_POINTER = 0x808E; - int GL_VERTEX_ARRAY_SIZE = 0x807A; - int GL_VERTEX_ARRAY_STRIDE = 0x807C; - int GL_VERTEX_ARRAY_TYPE = 0x807B; - int GL_VIEWPORT = 0x0BA2; - int GL_WRITE_ONLY = 0x88B9; - - void glGetPointerv(int pname, java.nio.Buffer[] params); - void glBindBuffer( - int target, - int buffer - ); - - void glBufferData( - int target, - int size, - java.nio.Buffer data, - int usage - ); - - void glBufferSubData( - int target, - int offset, - int size, - java.nio.Buffer data - ); - - void glClipPlanef( - int plane, - float[] equation, - int offset - ); - - void glClipPlanef( - int plane, - java.nio.FloatBuffer equation - ); - - void glClipPlanex( - int plane, - int[] equation, - int offset - ); - - void glClipPlanex( - int plane, - java.nio.IntBuffer equation - ); - - void glColor4ub( - byte red, - byte green, - byte blue, - byte alpha - ); - - void glColorPointer( - int size, - int type, - int stride, - int offset - ); - - void glDeleteBuffers( - int n, - int[] buffers, - int offset - ); - - void glDeleteBuffers( - int n, - java.nio.IntBuffer buffers - ); - - void glDrawElements( - int mode, - int count, - int type, - int offset - ); - - void glGenBuffers( - int n, - int[] buffers, - int offset - ); - - void glGenBuffers( - int n, - java.nio.IntBuffer buffers - ); - - void glGetBooleanv( - int pname, - boolean[] params, - int offset - ); - - void glGetBooleanv( - int pname, - java.nio.IntBuffer params - ); - - void glGetBufferParameteriv( - int target, - int pname, - int[] params, - int offset - ); - - void glGetBufferParameteriv( - int target, - int pname, - java.nio.IntBuffer params - ); - - void glGetClipPlanef( - int pname, - float[] eqn, - int offset - ); - - void glGetClipPlanef( - int pname, - java.nio.FloatBuffer eqn - ); - - void glGetClipPlanex( - int pname, - int[] eqn, - int offset - ); - - void glGetClipPlanex( - int pname, - java.nio.IntBuffer eqn - ); - - void glGetFixedv( - int pname, - int[] params, - int offset - ); - - void glGetFixedv( - int pname, - java.nio.IntBuffer params - ); - - void glGetFloatv( - int pname, - float[] params, - int offset - ); - - void glGetFloatv( - int pname, - java.nio.FloatBuffer params - ); - - void glGetLightfv( - int light, - int pname, - float[] params, - int offset - ); - - void glGetLightfv( - int light, - int pname, - java.nio.FloatBuffer params - ); - - void glGetLightxv( - int light, - int pname, - int[] params, - int offset - ); - - void glGetLightxv( - int light, - int pname, - java.nio.IntBuffer params - ); - - void glGetMaterialfv( - int face, - int pname, - float[] params, - int offset - ); - - void glGetMaterialfv( - int face, - int pname, - java.nio.FloatBuffer params - ); - - void glGetMaterialxv( - int face, - int pname, - int[] params, - int offset - ); - - void glGetMaterialxv( - int face, - int pname, - java.nio.IntBuffer params - ); - - void glGetTexEnviv( - int env, - int pname, - int[] params, - int offset - ); - - void glGetTexEnviv( - int env, - int pname, - java.nio.IntBuffer params - ); - - void glGetTexEnvxv( - int env, - int pname, - int[] params, - int offset - ); - - void glGetTexEnvxv( - int env, - int pname, - java.nio.IntBuffer params - ); - - void glGetTexParameterfv( - int target, - int pname, - float[] params, - int offset - ); - - void glGetTexParameterfv( - int target, - int pname, - java.nio.FloatBuffer params - ); - - void glGetTexParameteriv( - int target, - int pname, - int[] params, - int offset - ); - - void glGetTexParameteriv( - int target, - int pname, - java.nio.IntBuffer params - ); - - void glGetTexParameterxv( - int target, - int pname, - int[] params, - int offset - ); - - void glGetTexParameterxv( - int target, - int pname, - java.nio.IntBuffer params - ); - - boolean glIsBuffer( - int buffer - ); - - boolean glIsEnabled( - int cap - ); - - boolean glIsTexture( - int texture - ); - - void glNormalPointer( - int type, - int stride, - int offset - ); - - void glPointParameterf( - int pname, - float param - ); - - void glPointParameterfv( - int pname, - float[] params, - int offset - ); - - void glPointParameterfv( - int pname, - java.nio.FloatBuffer params - ); - - void glPointParameterx( - int pname, - int param - ); - - void glPointParameterxv( - int pname, - int[] params, - int offset - ); - - void glPointParameterxv( - int pname, - java.nio.IntBuffer params - ); - - void glPointSizePointerOES( - int type, - int stride, - java.nio.Buffer pointer - ); - - void glTexCoordPointer( - int size, - int type, - int stride, - int offset - ); - - void glTexEnvi( - int target, - int pname, - int param - ); - - void glTexEnviv( - int target, - int pname, - int[] params, - int offset - ); - - void glTexEnviv( - int target, - int pname, - java.nio.IntBuffer params - ); - - void glTexParameterfv( - int target, - int pname, - float[] params, - int offset - ); - - void glTexParameterfv( - int target, - int pname, - java.nio.FloatBuffer params - ); - - void glTexParameteri( - int target, - int pname, - int param - ); - - void glTexParameteriv( - int target, - int pname, - int[] params, - int offset - ); - - void glTexParameteriv( - int target, - int pname, - java.nio.IntBuffer params - ); - - void glTexParameterxv( - int target, - int pname, - int[] params, - int offset - ); - - void glTexParameterxv( - int target, - int pname, - java.nio.IntBuffer params - ); - - void glVertexPointer( - int size, - int type, - int stride, - int offset - ); - -} diff --git a/opengl/java/javax/microedition/khronos/opengles/GL11Ext.java b/opengl/java/javax/microedition/khronos/opengles/GL11Ext.java deleted file mode 100644 index 459a1ab..0000000 --- a/opengl/java/javax/microedition/khronos/opengles/GL11Ext.java +++ /dev/null @@ -1,153 +0,0 @@ -/* //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 - ); - -} diff --git a/opengl/java/javax/microedition/khronos/opengles/GL11ExtensionPack.java b/opengl/java/javax/microedition/khronos/opengles/GL11ExtensionPack.java deleted file mode 100644 index 933c91e..0000000 --- a/opengl/java/javax/microedition/khronos/opengles/GL11ExtensionPack.java +++ /dev/null @@ -1,434 +0,0 @@ -/* //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 - ); - -} -- cgit v1.1