Home
last modified time | relevance | path

Searched refs:renderer (Results 1 – 13 of 13) sorted by relevance

/cts/suite/cts/deviceTests/opengl/jni/reference/
DGLReference.cpp36 ReferenceRenderer* renderer = new ReferenceRenderer(nativeWindow); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark() local
37 bool success = renderer->eglSetUp(); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
38 success = renderer->setUp(0) && success; in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
40 setUpTimes, 0, ReferenceRenderer::NUM_SETUP_TIMES, renderer->mSetUpTimes); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
46 success = renderer->update(i); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
48 success = success && renderer->draw(); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
57 success = renderer->tearDown() && success; in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
58 renderer->eglTearDown(); in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
59 delete renderer; in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
60 renderer = NULL; in Java_com_android_cts_opengl_reference_GLGameActivity_startBenchmark()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DGLESSurfaceView.java61 String renderer; in onSurfaceCreated() local
65 renderer = GLES20.glGetString(GLES20.GL_RENDERER); in onSurfaceCreated()
69 renderer = GLES30.glGetString(GLES30.GL_RENDERER); in onSurfaceCreated()
73 renderer = gl.glGetString(GL10.GL_RENDERER); in onSurfaceCreated()
77 Log.i(TAG, "renderer : " + renderer); in onSurfaceCreated()
78 mParent.setGraphicsInfo(vendor, renderer); in onSurfaceCreated()
DDeviceInfoActivity.java103 public void setGraphicsInfo(String vendor, String renderer) { in setGraphicsInfo() argument
105 mGraphicsRenderer = renderer; in setGraphicsInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
DCubePresentation.java48 final CubeRenderer renderer = new CubeRenderer(true); in onCreate() local
49 cubeView.setRenderer(renderer); in onCreate()
55 renderer.explode(); in onCreate()
/cts/tests/tests/textureview/src/android/textureview/cts/
DGLProducerThread.java58 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, AtomicBoolean shouldRender, in GLProducerThread() argument
65 mRenderer = renderer; in GLProducerThread()
68 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, int frames, int delayMs, in GLProducerThread() argument
70 this(surfaceTexture, renderer, null, frames, delayMs, semaphore); in GLProducerThread()
73 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, AtomicBoolean shouldRender, in GLProducerThread() argument
75 this(surfaceTexture, renderer, shouldRender, 0, delayMs, semaphore); in GLProducerThread()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DAccelerometerTestActivity.java51 GLArrowSensorTestRenderer renderer = in onCreate() local
53 mListener = renderer; in onCreate()
59 mGLSurfaceView.setRenderer(renderer); in onCreate()
DRotationVectorTestActivity.java177 GLArrowSensorTestRenderer renderer = in onCreate() local
179 mListener = renderer; in onCreate()
181 initializeGlSurfaceView(renderer); in onCreate()
/cts/tests/tests/hardware/src/android/hardware/cts/
DGLSurfaceViewCtsActivity.java57 public static void setRenderer(GLSurfaceView.Renderer renderer) { in setRenderer() argument
58 mRenderer = renderer; in setRenderer()
/cts/tests/tests/graphics/src/android/opengl/cts/
DGLSurfaceViewCtsActivity.java57 public static void setRenderer(GLSurfaceView.Renderer renderer) { in setRenderer() argument
58 mRenderer = renderer; in setRenderer()
/cts/tests/tests/view/src/android/view/cts/
DGLSurfaceViewCtsActivity.java57 public static void setRenderer(GLSurfaceView.Renderer renderer) { in setRenderer() argument
58 mRenderer = renderer; in setRenderer()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java297 Renderer renderer = null; in doTestRenderingOutput() local
303 renderer = mRemotePresentation; in doTestRenderingOutput()
309 renderer = mLocalPresentation; in doTestRenderingOutput()
315 renderColorAndCheckResult(renderer, w, h, COLOR_RED); in doTestRenderingOutput()
316 renderColorAndCheckResult(renderer, w, h, COLOR_BLUE); in doTestRenderingOutput()
317 renderColorAndCheckResult(renderer, w, h, COLOR_GREEN); in doTestRenderingOutput()
318 renderColorAndCheckResult(renderer, w, h, COLOR_GREY); in doTestRenderingOutput()
349 private void renderColorAndCheckResult(Renderer renderer, int w, int h, in renderColorAndCheckResult() argument
353 renderer.doRendering(color); in renderColorAndCheckResult()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java350 public void setRenderer(Renderer renderer) { in setRenderer() argument
361 mRenderer = renderer; in setRenderer()
1881 String renderer = gl.glGetString(GL10.GL_RENDERER); in checkGLDriver() local
1884 ! renderer.startsWith(kMSM7K_RENDERER_PREFIX); in checkGLDriver()
1889 … Log.w(TAG, "checkGLDriver renderer = \"" + renderer + "\" multipleContextsAllowed = " in checkGLDriver()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java335 protected void initializeGlSurfaceView(final GLSurfaceView.Renderer renderer) { in initializeGlSurfaceView() argument
340 mGLSurfaceView.setRenderer(renderer); in initializeGlSurfaceView()