Home
last modified time | relevance | path

Searched refs:GL10 (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
DClearActivity.java25 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/
DTriangleRenderer.java25 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 …]
DGLDualGL2View.java39 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/
DCubeRenderer.java20 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 …]
DCube.java23 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/
DGLU.java19 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 …]
DGLWrapperBase.java20 import javax.microedition.khronos.opengles.GL10;
31 implements GL, GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack {
33 mgl = (GL10) gl; in GLWrapperBase()
48 protected GL10 mgl;
DGLSurfaceView.java30 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/
DTestView.java49 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/
DTestView.java44 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/
DGLJNIView.java44 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/
DTestFramerateView.java35 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/
DGL2JavaView.java34 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/
DTestLatencyView.java34 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/
DGenImage.java31 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/
DGL2JNIView.java46 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/
DGLPerfView.java46 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/
DMyGLSurfaceView.java27 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/
DBlockingGLTextureView.java32 import javax.microedition.khronos.opengles.GL10;
248 public GL10 createGL() { in createGL()
249 return (GL10) mEglContext.getGL(); in createGL()
323 private GL10 mGL;
DTiledImageView.java43 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/
DGLDepthTestActivity.java43 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/
Dopengl.jd113 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/
DGL2CameraEye.java25 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/
DGLImplHeader.java-impl29 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/
DVideoDumpView.java38 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()

12