/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/ |
D | ClearActivity.java | 25 import javax.microedition.khronos.opengles.GL10; 70 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() 74 public void onSurfaceChanged(GL10 gl, int w, int h) { in onSurfaceChanged() 76 gl.glMatrixMode(GL10.GL_PROJECTION); in onSurfaceChanged() 89 gl.glMatrixMode(GL10.GL_MODELVIEW); in onSurfaceChanged() 94 public void onDrawFrame(GL10 gl) { in onDrawFrame() 95 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() 113 gl.glDisable(GL10.GL_DITHER); in onDrawFrame() 115 gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_AMBIENT, lightAmbient, 0); in onDrawFrame() 116 gl.glLightfv(GL10.GL_LIGHT0, GL10.GL_DIFFUSE, lightDiffuse, 0); in onDrawFrame() [all …]
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
D | TriangleRenderer.java | 25 import javax.microedition.khronos.opengles.GL10; 37 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() 43 gl.glDisable(GL10.GL_DITHER); in onSurfaceCreated() 49 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, in onSurfaceCreated() 50 GL10.GL_FASTEST); in onSurfaceCreated() 53 gl.glShadeModel(GL10.GL_SMOOTH); in onSurfaceCreated() 56 public void onDrawFrame(GL10 gl) { in onDrawFrame() 62 gl.glDisable(GL10.GL_DITHER); in onDrawFrame() 70 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() 76 gl.glMatrixMode(GL10.GL_MODELVIEW); in onDrawFrame() [all …]
|
D | GLDualGL2View.java | 39 import javax.microedition.khronos.opengles.GL10; 286 public void onDrawFrame(GL10 gl) { in onDrawFrame() 290 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 294 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
D | CubeRenderer.java | 20 import javax.microedition.khronos.opengles.GL10; 44 public void onDrawFrame(GL10 gl) { in onDrawFrame() 51 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() 57 gl.glMatrixMode(GL10.GL_MODELVIEW); in onDrawFrame() 63 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in onDrawFrame() 64 gl.glEnableClientState(GL10.GL_COLOR_ARRAY); in onDrawFrame() 85 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 95 gl.glMatrixMode(GL10.GL_PROJECTION); in onSurfaceChanged() 100 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() 106 gl.glDisable(GL10.GL_DITHER); in onSurfaceCreated() [all …]
|
D | Cube.java | 23 import javax.microedition.khronos.opengles.GL10; 89 public void draw(GL10 gl) in draw() 91 gl.glFrontFace(GL10.GL_CW); in draw() 92 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); in draw() 93 gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer); in draw() 94 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer); in draw()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLU.java | 19 import javax.microedition.khronos.opengles.GL10; 37 case GL10.GL_NO_ERROR: in gluErrorString() 39 case GL10.GL_INVALID_ENUM: in gluErrorString() 41 case GL10.GL_INVALID_VALUE: in gluErrorString() 43 case GL10.GL_INVALID_OPERATION: in gluErrorString() 45 case GL10.GL_STACK_OVERFLOW: in gluErrorString() 47 case GL10.GL_STACK_UNDERFLOW: in gluErrorString() 49 case GL10.GL_OUT_OF_MEMORY: in gluErrorString() 71 public static void gluLookAt(GL10 gl, float eyeX, float eyeY, float eyeZ, in gluLookAt() 92 public static void gluOrtho2D(GL10 gl, float left, float right, in gluOrtho2D() [all …]
|
D | GLWrapperBase.java | 20 import javax.microedition.khronos.opengles.GL10; 31 implements GL, GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack { 33 mgl = (GL10) gl; in GLWrapperBase() 48 protected GL10 mgl;
|
D | GLSurfaceView.java | 30 import javax.microedition.khronos.opengles.GL10; 716 void onSurfaceCreated(GL10 gl, EGLConfig config); in onSurfaceCreated() 741 void onSurfaceChanged(GL10 gl, int width, int height); in onSurfaceChanged() 758 void onDrawFrame(GL10 gl); in onDrawFrame() 1290 GL10 gl = null; in guardedRun() 1507 gl = (GL10) mEglHelper.createGL(); in guardedRun() 1947 public synchronized void checkGLDriver(GL10 gl) { in checkGLDriver() 1950 String renderer = gl.glGetString(GL10.GL_RENDERER); in checkGLDriver()
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
D | TestView.java | 49 import javax.microedition.khronos.opengles.GL10; 209 public void draw(GL10 gl) { in draw() 212 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in draw() 215 gl11.glVertexPointer(3, GL10.GL_FLOAT, VERTEX_SIZE, 0); in draw() 218 gl11.glDrawElements(GL10.GL_TRIANGLES, mIndexCount, GL10.GL_UNSIGNED_SHORT, 0); in draw() 219 gl.glDisableClientState(GL10.GL_VERTEX_ARRAY); in draw() 230 public void onDrawFrame(GL10 gl) { in onDrawFrame() 232 gl.glClear(GL10.GL_COLOR_BUFFER_BIT); in onDrawFrame() 236 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 245 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() [all …]
|
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/ |
D | TestView.java | 44 import javax.microedition.khronos.opengles.GL10; 71 public void onDrawFrame(GL10 gl) { in onDrawFrame() 75 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
D | GLJNIView.java | 44 import javax.microedition.khronos.opengles.GL10; 71 public void onDrawFrame(GL10 gl) { in onDrawFrame() 75 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
D | TestFramerateView.java | 35 import javax.microedition.khronos.opengles.GL10; 72 public void onDrawFrame(GL10 gl) { in onDrawFrame() 83 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 87 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/ |
D | GL2JavaView.java | 34 import javax.microedition.khronos.opengles.GL10; 64 public void onDrawFrame(GL10 gl) { in onDrawFrame() 79 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 83 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
D | TestLatencyView.java | 34 import javax.microedition.khronos.opengles.GL10; 93 public void onDrawFrame(GL10 gl) { in onDrawFrame() 144 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 152 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/ |
D | GenImage.java | 31 import javax.microedition.khronos.opengles.GL10; 56 public void onSurfaceCreated(GL10 unused, EGLConfig config) { in onSurfaceCreated() 65 public void onDrawFrame(GL10 unused) { in onDrawFrame() 75 public void onSurfaceChanged(GL10 unused, int width, int height) { in onSurfaceChanged()
|
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
D | GL2JNIView.java | 46 import javax.microedition.khronos.opengles.GL10; 283 public void onDrawFrame(GL10 gl) { in onDrawFrame() 287 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 291 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
D | GLPerfView.java | 46 import javax.microedition.khronos.opengles.GL10; 283 public void onDrawFrame(GL10 gl) { in onDrawFrame() 287 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 291 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | MyGLSurfaceView.java | 27 import javax.microedition.khronos.opengles.GL10; 95 public void onDrawFrame(GL10 glUnused) { in onDrawFrame() 138 public void onSurfaceChanged(GL10 glUnused, int width, int height) { in onSurfaceChanged() 146 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 32 import javax.microedition.khronos.opengles.GL10; 248 public GL10 createGL() { in createGL() 249 return (GL10) mEglContext.getGL(); in createGL() 323 private GL10 mGL;
|
D | TiledImageView.java | 43 import javax.microedition.khronos.opengles.GL10; 286 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() 293 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() 299 public void onDrawFrame(GL10 gl) { in onDrawFrame()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GLDepthTestActivity.java | 43 import javax.microedition.khronos.opengles.GL10; 131 public void onDrawFrame(GL10 glUnused) { in onDrawFrame() 181 public void onSurfaceChanged(GL10 glUnused, int width, int height) { in onSurfaceChanged() 189 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | opengl.jd | 113 android.opengl.GLSurfaceView.Renderer#onSurfaceCreated(javax.microedition.khronos.opengles.GL10, 121 android.opengl.GLSurfaceView.Renderer#onDrawFrame(javax.microedition.khronos.opengles.GL10) 127 android.opengl.GLSurfaceView.Renderer#onSurfaceChanged(javax.microedition.khronos.opengles.GL10, 159 <li>{@link javax.microedition.khronos.opengles.GL10}</li> 289 android.opengl.GLSurfaceView.Renderer#onSurfaceChanged(javax.microedition.khronos.opengles.GL10, 295 public void onSurfaceChanged(GL10 gl, int width, int height) { 300 gl.glMatrixMode(GL10.GL_PROJECTION); // set matrix to projection mode 310 android.opengl.GLSurfaceView.Renderer#onDrawFrame(javax.microedition.khronos.opengles.GL10) 313 {@link android.opengl.GLU#gluLookAt(javax.microedition.khronos.opengles.GL10, float, float, float, 318 public void onDrawFrame(GL10 gl) { [all …]
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
D | GL2CameraEye.java | 25 import javax.microedition.khronos.opengles.GL10; 185 public void onDrawFrame(GL10 glUnused) { in onDrawFrame() 232 public void onSurfaceChanged(GL10 glUnused, int width, int height) { in onSurfaceChanged() 240 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) { in onSurfaceCreated()
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
D | GLImplHeader.java-impl | 29 import javax.microedition.khronos.opengles.GL10; 35 public class GLImpl implements GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack {
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
D | VideoDumpView.java | 38 import javax.microedition.khronos.opengles.GL10; 372 public void onDrawFrame(GL10 glUnused) { in onDrawFrame() 465 public void onSurfaceChanged(GL10 glUnused, int width, int height) { in onSurfaceChanged() 519 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) { in onSurfaceCreated()
|