Home
last modified time | relevance | path

Searched refs:mRenderer (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/opengl/src/android/opengl/cts/
DOpenGLES20ActivityOne.java36 Renderer mRenderer; field in OpenGLES20ActivityOne
54 return ((RendererBase)mRenderer).mShaderCount[0]; in getNoOfAttachedShaders()
58 return ((RendererBase)mRenderer).mError; in glGetError()
95 mRenderer = new RendererOneShaderTest(latch); in OpenGLES20View()
97 mRenderer = new RendererTwoShaderTest(latch); in OpenGLES20View()
99 mRenderer = new RendererThreeShaderTest(latch); in OpenGLES20View()
101 mRenderer = new RendererFourShaderTest(latch); in OpenGLES20View()
103 mRenderer = new RendererFiveShaderTest(latch); in OpenGLES20View()
105 mRenderer = new RendererSixShaderTest(latch); in OpenGLES20View()
107 mRenderer = new RendererSevenShaderTest(latch); in OpenGLES20View()
[all …]
DNativeAttachShaderTest.java50 int shaderCount = mActivity.mRenderer.mShaderCount; in test_glAttachedShaders_validshader()
52 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachedShaders_validshader()
66 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachedShaders_invalidshader()
80 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachedShaders_attach_same_shader()
97 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachedShaders_noshader()
110 int error = mActivity.mRenderer.mAttachShaderError;; in test_glAttachShaders_emptyfragshader_emptyvertexshader()
123 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachShaders_programobject_attach_fragshaderobject()
130 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachShaders_invalidshader_attach_valid_handle()
136 int shaderCount = mActivity.mRenderer.mShaderCount; in test_glAttachShaders_successfulcompile_attach_frag()
138 int error = mActivity.mRenderer.mAttachShaderError; in test_glAttachShaders_successfulcompile_attach_frag()
[all …]
DOpenGLES20ActivityTwo.java31 Renderer mRenderer; field in OpenGLES20ActivityTwo
62 return ((RendererBase)mRenderer).mShaderCount[0]; in getNoOfAttachedShaders()
66 return ((RendererBase)mRenderer).mError; in glGetError()
86 return ((RendererBase) mRenderer).mColorOne; in getActualColor()
97 mRenderer = new RendererOneColorBufferTest(context, rgba, latch); in OpenGLES20View()
102 setRenderer(mRenderer); in OpenGLES20View()
DOpenGLES20NativeActivityTwo.java30 Renderer mRenderer; field in OpenGLES20NativeActivityTwo
60 return ((RendererBase)mRenderer).mShaderCount[0]; in getNoOfAttachedShaders()
64 return ((RendererBase)mRenderer).mError; in glGetError()
85 return ((RendererBase) mRenderer).mColorOne; in getActualColor()
106 mRenderer = new NativeRendererOneColorBufferTest(context, rgba, latch); in OpenGLES20View()
111 setRenderer(mRenderer); in OpenGLES20View()
DOpenGLES20NativeActivityOne.java42 GL2Renderer mRenderer; field in OpenGLES20NativeActivityOne
91 mRenderer = new GL2Renderer(category, testCase, latch); in OpenGLES20View()
92 setRenderer(mRenderer); in OpenGLES20View()
101 return mRenderer; in getRenderer()
/cts/libs/view/src/com/android/view/
DRenderedSurfaceView.java32 private SurfaceRenderer mRenderer; field in RenderedSurfaceView
39 mRenderer = null; in RenderedSurfaceView()
50 mRenderer = renderer; in setRenderer()
92 if (surfaceCanvas != null && mRenderer != null) { in run()
93 mRenderer.onDrawFrame(surfaceCanvas); in run()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DSurfaceTextureGLSurfaceView.java29 private SurfaceTextureRenderer mRenderer; field in SurfaceTextureGLSurfaceView
45 mRenderer = new SurfaceTextureRenderer(listener); in init()
46 setRenderer(mRenderer); in init()
50 return mRenderer.getSurfaceTexture(); in getSurfaceTexture()
/cts/tests/tests/graphics/src/android/opengl/cts/
DGLSurfaceViewCtsActivity.java56 private static GLSurfaceView.Renderer mRenderer = null; field in GLSurfaceViewCtsActivity
58 mRenderer = renderer; in setRenderer()
61 mRenderer = null; in resetRenderer()
95 if (mRenderer == null) { in onCreate()
98 mView.setRenderer(mRenderer); in onCreate()
DCompressedTextureSurfaceView.java55 CompressedTextureRender mRenderer; field in CompressedTextureSurfaceView
63 mRenderer = new CompressedTextureRender(context, base, compressed); in CompressedTextureSurfaceView()
64 setRenderer(mRenderer); in CompressedTextureSurfaceView()
74 return mRenderer.getTestPassed(); in getTestPassed()
/cts/tests/camera/src/android/hardware/cts/
DGLSurfaceViewCtsActivity.java56 private static GLSurfaceView.Renderer mRenderer = null; field in GLSurfaceViewCtsActivity
58 mRenderer = renderer; in setRenderer()
61 mRenderer = null; in resetRenderer()
95 if (mRenderer == null) { in onCreate()
98 mView.setRenderer(mRenderer); in onCreate()
DCameraGLTest.java85 Renderer mRenderer; field in CameraGLTest
97 mRenderer = this.new Renderer(); in setUp()
98 GLSurfaceViewCtsActivity.setRenderer(mRenderer); in setUp()
138 mSurfaceTexture = new SurfaceTexture(mRenderer.getTextureID()); in initializeMessageLooper()
389 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
407 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
451 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
468 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
485 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
555 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
[all …]
/cts/tests/tests/view/src/android/view/cts/
DGLSurfaceViewCtsActivity.java56 private static GLSurfaceView.Renderer mRenderer = null; field in GLSurfaceViewCtsActivity
58 mRenderer = renderer; in setRenderer()
61 mRenderer = null; in resetRenderer()
106 if (mRenderer == null) { in onCreate()
109 mView.setRenderer(mRenderer); in onCreate()
/cts/tests/tests/media/src/android/media/cts/
DVideoSurfaceView.java38 VideoRender mRenderer; field in VideoSurfaceView
46 mRenderer = new VideoRender(context); in VideoSurfaceView()
47 setRenderer(mRenderer); in VideoSurfaceView()
54 mRenderer.setMediaPlayer(mMediaPlayer); in onResume()
/cts/tests/tests/textureview/src/android/textureview/cts/
DGLProducerThread.java43 private final GLRenderer mRenderer; field in GLProducerThread
65 mRenderer = renderer; in GLProducerThread()
149 if (mRenderer != null) { in run()
150 mRenderer.drawFrame(frame); in run()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DGyroscopeTestActivity.java52 private GLRotationGuideRenderer mRenderer; field in GyroscopeTestActivity
81 mRenderer = new GLRotationGuideRenderer(); in onCreate()
82 mRenderer.setRotation(settings.mRotateX, settings.mRotateY, settings.mRotateZ); in onCreate()
83 mGLSurfaceView.setRenderer(mRenderer); in onCreate()
217 mRenderer.setBackgroundColor(backgroundColor); in updateWidgets()
DGyroscopeMeasurementTestActivity.java47 private final GLRotationGuideRenderer mRenderer = new GLRotationGuideRenderer(); field in GyroscopeMeasurementTestActivity
57 initializeGlSurfaceView(mRenderer); in activitySetUp()
214 mRenderer.setRotation(axis1, axis2, axis3); in setRendererRotation()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java58 Renderer mRenderer; field in OpenGLESActivity
81 return ((RendererBasicTest)mRenderer).mError; in glGetError()
202 mRenderer = new RendererBasicTest(latch); in OpenGLES20View()
204 mRenderer = new RendererProtectedTexturesTest(latch); in OpenGLES20View()
206 mRenderer = new RendererRefreshRateTest(latch); in OpenGLES20View()
210 setRenderer(mRenderer); in OpenGLES20View()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java361 mRenderer = renderer; in setRenderer()
588 if (mDetached && (mRenderer != null)) { in onAttachedToWindow()
1504 view.mRenderer.onSurfaceCreated(gl, mEglHelper.mEglConfig); in guardedRun()
1515 view.mRenderer.onSurfaceChanged(gl, w, h); in guardedRun()
1526 view.mRenderer.onDrawFrame(gl); in guardedRun()
1534 view.mRenderer.onEglSwapBuffers(); in guardedRun()
1934 private Renderer mRenderer; field in GLSurfaceViewCustom