/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | TextureTestRenderer.java | 80 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 82 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() 84 gl.glTexEnvx(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE, in onDrawFrame() 88 gl.glMatrixMode(GL10.GL_MODELVIEW); in onDrawFrame() 89 gl.glLoadIdentity(); // reset the matrix to its default state in onDrawFrame() 92 GLU.gluLookAt(gl, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f); in onDrawFrame() 94 gl.glActiveTexture(GL10.GL_TEXTURE0); in onDrawFrame() 95 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in onDrawFrame() 96 gl.glEnable(GL10.GL_TEXTURE_2D); in onDrawFrame() 99 gl.glColor4f(1.0f, 0f, 0f, 1.0f); in onDrawFrame() [all …]
|
D | GLSurfaceViewCustom.java | 648 GL wrap(GL gl); in wrap() argument 712 void onSurfaceCreated(GL10 gl, EGLConfig config); in onSurfaceCreated() argument 737 void onSurfaceChanged(GL10 gl, int width, int height); in onSurfaceChanged() argument 754 void onDrawFrame(GL10 gl); in onDrawFrame() argument 1123 GL gl = mEglContext.getGL(); in createGL() local 1127 gl = view.mGLWrapper.wrap(gl); in createGL() 1142 return gl; in createGL() 1285 GL10 gl = null; in guardedRun() local 1492 gl = (GL10) mEglHelper.createGL(); in guardedRun() 1494 sGLThreadManager.checkGLDriver(gl); in guardedRun() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
D | CubeRenderer.java | 46 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 53 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() 59 gl.glMatrixMode(GL10.GL_MODELVIEW); in onDrawFrame() 60 gl.glLoadIdentity(); in onDrawFrame() 61 gl.glTranslatef(0, 0, -3.0f); in onDrawFrame() 62 gl.glRotatef(mAngle, 0, 1, 0); in onDrawFrame() 63 gl.glRotatef(mAngle*0.25f, 1, 0, 0); in onDrawFrame() 65 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in onDrawFrame() 66 gl.glEnableClientState(GL10.GL_COLOR_ARRAY); in onDrawFrame() 68 gl.glScalef(mScale, mScale, mScale); in onDrawFrame() [all …]
|
D | Cube.java | 89 public void draw(GL10 gl) in draw() argument 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()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
D | GLRotationGuideRenderer.java | 64 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 65 clearBackground(gl); in onDrawFrame() 66 gl.glMatrixMode(GL10.GL_MODELVIEW); in onDrawFrame() 67 gl.glLoadIdentity(); in onDrawFrame() 68 gl.glRotatef(mAngle, mRotateX, mRotateY, mRotateZ); in onDrawFrame() 69 mMonolith.draw(gl); in onDrawFrame() 77 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 78 gl.glViewport(0, 0, width, height); in onSurfaceChanged() 79 gl.glMatrixMode(GL10.GL_PROJECTION); in onSurfaceChanged() 80 gl.glLoadIdentity(); in onSurfaceChanged() [all …]
|
D | GLArrowSensorTestRenderer.java | 74 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 76 gl.glTexEnvx(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE, GL10.GL_MODULATE); in onDrawFrame() 77 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in onDrawFrame() 78 gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY); in onDrawFrame() 79 gl.glActiveTexture(GL10.GL_TEXTURE0); in onDrawFrame() 80 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID); in onDrawFrame() 81 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, GL10.GL_REPEAT); in onDrawFrame() 82 gl.glTexParameterx(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, GL10.GL_REPEAT); in onDrawFrame() 85 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() 86 gl.glMatrixMode(GL10.GL_MODELVIEW); in onDrawFrame() [all …]
|
D | Wedge.java | 139 public void draw(GL10 gl) { in draw() argument 140 gl.glFrontFace(GL10.GL_CCW); in draw() 141 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mFVertexBuffer); in draw() 142 gl.glEnable(GL10.GL_TEXTURE_2D); in draw() 143 gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, mTexBuffer); in draw() 144 gl.glDrawElements(GL10.GL_TRIANGLE_STRIP, 24, GL10.GL_UNSIGNED_SHORT, mIndexBuffer); in draw()
|
D | Monolith.java | 113 public void draw(GL10 gl) { in draw() argument 114 gl.glColor4f(0.5f, 0.5f, 0.5f, 1f); in draw() 115 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer); in draw() 116 gl.glDrawElements(GL10.GL_TRIANGLES, NUM_INDICES, GL10.GL_UNSIGNED_SHORT, mIndexBuffer); in draw()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | EglConfigGLSurfaceView.java | 82 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument 97 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in onSurfaceCreated() 100 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 101 gl.glClear(GL10.GL_COLOR_BUFFER_BIT); in onDrawFrame() 102 gl.glColor4f(1.0f, 0, 0, 0); in onDrawFrame() 103 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mFloatBuffer); in onDrawFrame() 104 gl.glDrawArrays(GL10.GL_TRIANGLES, 0, 3); in onDrawFrame() 111 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 112 gl.glViewport(0, 0, width, height); in onSurfaceChanged() 137 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument [all …]
|
D | RendererBase.java | 48 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 61 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 66 doOnDrawFrame(gl); in onDrawFrame() 71 public void doOnDrawFrame(GL10 gl) { in doOnDrawFrame() argument
|
D | GLSurfaceViewCtsActivity.java | 35 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 39 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 43 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
D | OpenGlEsVersionCtsActivity.java | 189 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument 192 mVersionString = gl.glGetString(GL10.GL_VERSION); in onSurfaceCreated() 193 mExtensionsString = gl.glGetString(GL10.GL_EXTENSIONS); in onSurfaceCreated() 202 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 205 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument
|
D | OpenGLES20NativeActivityOne.java | 123 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 127 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 137 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
D | RendererOneShaderTest.java | 46 public void doOnDrawFrame(GL10 gl) { in doOnDrawFrame() argument 60 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
D | RendererThreeShaderTest.java | 45 public void doOnDrawFrame(GL10 gl) { in doOnDrawFrame() argument 59 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
D | RendererNineShaderTest.java | 30 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
/cts/tests/tests/view/src/android/view/cts/ |
D | DisplayRefreshRateCtsActivity.java | 84 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 120 gl.glClearColor(0.0f, 0.0f, 0.0f, 0.0f); in onDrawFrame() 121 gl.glClear(gl.GL_COLOR_BUFFER_BIT); in onDrawFrame() 124 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 128 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
D | PixelCopyGLProducerCtsActivity.java | 54 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument 58 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 64 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | GLESSurfaceView.java | 58 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument 71 extensions = gl.glGetString(GL10.GL_EXTENSIONS); in onSurfaceCreated() 72 vendor = gl.glGetString(GL10.GL_VENDOR); in onSurfaceCreated() 73 renderer = gl.glGetString(GL10.GL_RENDERER); in onSurfaceCreated() 96 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 101 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument
|
/cts/tests/vr/src/android/vr/cts/ |
D | RendererBasicTest.java | 60 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 71 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 76 doOnDrawFrame(gl); in onDrawFrame() 80 public void doOnDrawFrame(GL10 gl) { in doOnDrawFrame() argument 94 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
D | RendererRefreshRateTest.java | 28 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 29 doOnDrawFrame(gl); in onDrawFrame()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | GLSurfaceViewCtsActivity.java | 35 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 39 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 43 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CameraGpuCtsActivity.java | 48 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 54 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 58 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | GlesStubActivity.java | 411 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument 426 extensions = gl.glGetString(GL10.GL_EXTENSIONS); in onSurfaceCreated() 427 vendor = gl.glGetString(GL10.GL_VENDOR); in onSurfaceCreated() 428 renderer = gl.glGetString(GL10.GL_RENDERER); in onSurfaceCreated() 451 public void onSurfaceChanged(GL10 gl, int width, int height) {} in onSurfaceChanged() argument 454 public void onDrawFrame(GL10 gl) {} in onDrawFrame() argument
|
/cts/hostsidetests/sustainedperf/shadertoy_android/src/ |
D | GLtestView.java | 327 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 331 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 335 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|