Searched refs:GL10 (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
H A DCubeRenderer.java20 import javax.microedition.khronos.opengles.GL10;
44 public void onDrawFrame(GL10 gl) {
51 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
57 gl.glMatrixMode(GL10.GL_MODELVIEW);
63 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
64 gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
85 public void onSurfaceChanged(GL10 gl, int width, int height) {
95 gl.glMatrixMode(GL10.GL_PROJECTION);
100 public void onSurfaceCreated(GL10 g
[all...]
H A DCube.java23 import javax.microedition.khronos.opengles.GL10;
89 public void draw(GL10 gl)
91 gl.glFrontFace(GL10.GL_CW);
92 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer);
93 gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer);
94 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer);
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DTriangleRenderer.java25 import javax.microedition.khronos.opengles.GL10;
37 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
43 gl.glDisable(GL10.GL_DITHER);
49 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT,
50 GL10.GL_FASTEST);
53 gl.glShadeModel(GL10.GL_SMOOTH);
56 public void onDrawFrame(GL10 gl) {
62 gl.glDisable(GL10.GL_DITHER);
70 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10
[all...]
H A DGLDualGL2View.java39 import javax.microedition.khronos.opengles.GL10;
286 public void onDrawFrame(GL10 gl) {
290 public void onSurfaceChanged(GL10 gl, int width, int height) {
294 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
H A DClearActivity.java25 import javax.microedition.khronos.opengles.GL10;
70 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
74 public void onSurfaceChanged(GL10 gl, int w, int h) {
76 gl.glMatrixMode(GL10.GL_PROJECTION);
89 gl.glMatrixMode(GL10.GL_MODELVIEW);
94 public void onDrawFrame(GL10 gl) {
95 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
113 gl.glDisable(GL10.GL_DITHER);
115 gl.glLightfv(GL10
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLWrapperBase.java20 import javax.microedition.khronos.opengles.GL10;
31 implements GL, GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack {
33 mgl = (GL10) gl;
48 protected GL10 mgl;
H A DGLU.java19 import javax.microedition.khronos.opengles.GL10;
37 case GL10.GL_NO_ERROR:
39 case GL10.GL_INVALID_ENUM:
41 case GL10.GL_INVALID_VALUE:
43 case GL10.GL_INVALID_OPERATION:
45 case GL10.GL_STACK_OVERFLOW:
47 case GL10.GL_STACK_UNDERFLOW:
49 case GL10.GL_OUT_OF_MEMORY:
60 * @param gl a GL10 interface
71 public static void gluLookAt(GL10 g
[all...]
H A DGLSurfaceView.java30 import javax.microedition.khronos.opengles.GL10;
627 * static class MyGLImplementation implements GL,GL10,GL11,... {
673 * that it still needs. The {@link #onSurfaceCreated(GL10, EGLConfig)} method
704 void onSurfaceCreated(GL10 gl, EGLConfig config);
715 * void onSurfaceChanged(GL10 gl, int width, int height) {
719 * gl.glMatrixMode(GL10.GL_PROJECTION);
729 void onSurfaceChanged(GL10 gl, int width, int height);
738 * void onDrawFrame(GL10 gl) {
739 * gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10
[all...]
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
H A DTestView.java44 import javax.microedition.khronos.opengles.GL10;
71 public void onDrawFrame(GL10 gl) {
75 public void onSurfaceChanged(GL10 gl, int width, int height) {
79 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNIView.java44 import javax.microedition.khronos.opengles.GL10;
71 public void onDrawFrame(GL10 gl) {
75 public void onSurfaceChanged(GL10 gl, int width, int height) {
79 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
H A DTestFramerateView.java35 import javax.microedition.khronos.opengles.GL10;
72 public void onDrawFrame(GL10 gl) {
83 public void onSurfaceChanged(GL10 gl, int width, int height) {
87 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java49 import javax.microedition.khronos.opengles.GL10;
209 public void draw(GL10 gl) {
212 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
215 gl11.glVertexPointer(3, GL10.GL_FLOAT, VERTEX_SIZE, 0);
218 gl11.glDrawElements(GL10.GL_TRIANGLES, mIndexCount, GL10.GL_UNSIGNED_SHORT, 0);
219 gl.glDisableClientState(GL10.GL_VERTEX_ARRAY);
230 public void onDrawFrame(GL10 gl) {
232 gl.glClear(GL10.GL_COLOR_BUFFER_BIT);
236 public void onSurfaceChanged(GL10 g
[all...]
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
H A DGL2JavaView.java34 import javax.microedition.khronos.opengles.GL10;
64 public void onDrawFrame(GL10 gl) {
79 public void onSurfaceChanged(GL10 gl, int width, int height) {
83 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java46 import javax.microedition.khronos.opengles.GL10;
283 public void onDrawFrame(GL10 gl) {
287 public void onSurfaceChanged(GL10 gl, int width, int height) {
291 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.java46 import javax.microedition.khronos.opengles.GL10;
283 public void onDrawFrame(GL10 gl) {
287 public void onSurfaceChanged(GL10 gl, int width, int height) {
291 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java34 import javax.microedition.khronos.opengles.GL10;
93 public void onDrawFrame(GL10 gl) {
144 public void onSurfaceChanged(GL10 gl, int width, int height) {
152 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
H A DGenImage.java31 import javax.microedition.khronos.opengles.GL10;
56 public void onSurfaceCreated(GL10 unused, EGLConfig config) {
65 public void onDrawFrame(GL10 unused) {
75 public void onSurfaceChanged(GL10 unused, int width, int height) {
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java32 import javax.microedition.khronos.opengles.GL10;
248 public GL10 createGL() {
249 return (GL10) mEglContext.getGL();
323 private GL10 mGL;
H A DTiledImageView.java43 import javax.microedition.khronos.opengles.GL10;
286 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
293 public void onSurfaceChanged(GL10 gl, int width, int height) {
299 public void onDrawFrame(GL10 gl) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLDepthTestActivity.java43 import javax.microedition.khronos.opengles.GL10;
131 public void onDrawFrame(GL10 glUnused) {
133 // Ignore the passed-in GL10 interface, and use the GLES20
181 public void onSurfaceChanged(GL10 glUnused, int width, int height) {
182 // Ignore the passed-in GL10 interface, and use the GLES20
189 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) {
190 // Ignore the passed-in GL10 interface, and use the GLES20
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java27 import javax.microedition.khronos.opengles.GL10;
95 public void onDrawFrame(GL10 glUnused) {
105 // Ignore the passed-in GL10 interface, and use the GLES20
138 public void onSurfaceChanged(GL10 glUnused, int width, int height) {
139 // Ignore the passed-in GL10 interface, and use the GLES20
146 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) {
147 // Ignore the passed-in GL10 interface, and use the GLES20
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java25 import javax.microedition.khronos.opengles.GL10;
185 public void onDrawFrame(GL10 glUnused) {
198 // Ignore the passed-in GL10 interface, and use the GLES20
232 public void onSurfaceChanged(GL10 glUnused, int width, int height) {
233 // Ignore the passed-in GL10 interface, and use the GLES20
240 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) {
241 // Ignore the passed-in GL10 interface, and use the GLES20
/frameworks/native/opengl/tools/glgen/
H A Dgen98 javax/microedition/khronos/opengles/GL10.java \
152 for x in GL.java GL10.java GL10Ext.java GL11.java GL11Ext.java GL11ExtensionPack.java
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java38 import javax.microedition.khronos.opengles.GL10;
372 public void onDrawFrame(GL10 glUnused) {
465 public void onSurfaceChanged(GL10 glUnused, int width, int height) {
519 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) {
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java22 public interface GL11 extends GL10 {

Completed in 621 milliseconds

12