Home
last modified time | relevance | path

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

/cts/tests/tests/opengl/src/android/opengl/cts/
DOpenGLES20ActivityOne.java36 Renderer mRenderer; field in OpenGLES20ActivityOne
57 return ((RendererBase)mRenderer).mShaderCount[0]; in getNoOfAttachedShaders()
61 return ((RendererBase)mRenderer).mError; in glGetError()
65 return ((RendererBase)mRenderer).mInfoLog; in glGetInfoLog()
102 mRenderer = new RendererOneShaderTest(latch); in OpenGLES20View()
104 mRenderer = new RendererTwoShaderTest(latch); in OpenGLES20View()
106 mRenderer = new RendererThreeShaderTest(latch); in OpenGLES20View()
108 mRenderer = new RendererFourShaderTest(latch); in OpenGLES20View()
110 mRenderer = new RendererFiveShaderTest(latch); in OpenGLES20View()
112 mRenderer = new RendererSixShaderTest(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.java33 Renderer mRenderer; field in OpenGLES20ActivityTwo
70 return ((RendererBase)mRenderer).mShaderCount[0]; in getNoOfAttachedShaders()
74 return ((RendererBase)mRenderer).mError; in glGetError()
94 return ((RendererBase) mRenderer).mColorOne; in getActualColor()
105 mRenderer = new RendererOneColorBufferTest(context, rgba, latch); in OpenGLES20View()
110 setRenderer(mRenderer); in OpenGLES20View()
DOpenGLES20NativeActivityTwo.java33 Renderer mRenderer; field in OpenGLES20NativeActivityTwo
70 return ((RendererBase)mRenderer).mShaderCount[0]; in getNoOfAttachedShaders()
74 return ((RendererBase)mRenderer).mError; in glGetError()
95 return ((RendererBase) mRenderer).mColorOne; in getActualColor()
116 mRenderer = new NativeRendererOneColorBufferTest(context, rgba, latch); in OpenGLES20View()
121 setRenderer(mRenderer); in OpenGLES20View()
DOpenGLES20NativeActivityOne.java42 GL2Renderer mRenderer; field in OpenGLES20NativeActivityOne
94 mRenderer = new GL2Renderer(category, testCase, latch); in OpenGLES20View()
95 setRenderer(mRenderer); in OpenGLES20View()
104 return mRenderer; in getRenderer()
DCompressedTextureSurfaceView.java38 CompressedTextureRender mRenderer; field in CompressedTextureSurfaceView
46 mRenderer = new CompressedTextureRender(base, compressed); in CompressedTextureSurfaceView()
47 setRenderer(mRenderer); in CompressedTextureSurfaceView()
52 return mRenderer.getTestPassed(); in getTestPassed()
/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/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.java86 Renderer mRenderer; field in CameraGLTest
95 mRenderer = new Renderer();
96 GLSurfaceViewCtsActivity.setRenderer(mRenderer);
145 mSurfaceTexture = new SurfaceTexture(mRenderer.getTextureID()); in initializeMessageLooper()
399 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
417 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
462 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
479 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
496 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
569 mRenderer.setCameraSizing(mCamera.getParameters().getPreviewSize());
[all …]
/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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DBaseUiFragment.java59 protected BaseRenderer mRenderer; field in BaseUiFragment
164 if (mRenderer != null) { in onDestroyUi()
165 mRenderer.onDestroy(); in onDestroyUi()
172 if (mRenderer != null) { in onPause()
173 mRenderer.disconnectCamera(); in onPause()
180 if (mRenderer != null) { in onResume()
181 mRenderer.connectCamera(mActivity.getPoseProvider(), getActivity()); in onResume()
DRobustnessFragment.java81 mRenderer = new RobustnessRenderer(getActivity()); in onActivityCreated()
82 surfaceView.setRenderer(mRenderer); in onActivityCreated()
230 if (mRenderer != null) { in onNewRotationData()
232 ((RobustnessRenderer) mRenderer).setLineColor(Colour.GREEN); in onNewRotationData()
234 ((RobustnessRenderer) mRenderer).setLineColor(Colour.RED); in onNewRotationData()
238 ((RobustnessRenderer) mRenderer).updateCurrentAngle(data.getCurrentAngle()); in onNewRotationData()
239 ((RobustnessRenderer) mRenderer).updateTargetAngle(data.getTargetAngle()); in onNewRotationData()
DComplexMovementFragment.java79 mRenderer = new ComplexMovementRenderer(getActivity(), mActivity.getRings()); in onActivityCreated()
80 surfaceView.setRenderer(mRenderer); in onActivityCreated()
189 …((ComplexMovementRenderer) mRenderer).onWaypointPlaced(mActivity.getUserGeneratedWaypoints(Manager… in onWaypointPlaced()
194 ((ComplexMovementRenderer) mRenderer).onRingEntered(ring); in onRingEntered()
DAccuracyFragment.java91 mRenderer = new AccuracyRenderer(getActivity()); in onActivityCreated()
92 surfaceView.setRenderer(mRenderer); in onActivityCreated()
/cts/tests/tests/media/src/android/media/cts/
DVideoSurfaceView.java40 VideoRender mRenderer; field in VideoSurfaceView
48 mRenderer = new VideoRender(context); in VideoSurfaceView()
49 setRenderer(mRenderer); in VideoSurfaceView()
56 mRenderer.setMediaPlayer(mMediaPlayer); in onResume()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyGLProducerCtsActivity.java96 private QuadColorGLRenderer mRenderer; field in PixelCopyGLProducerCtsActivity
101 mRenderer = new QuadColorGLRenderer( in configureGLSurfaceView()
103 mView.setRenderer(mRenderer); in configureGLSurfaceView()
109 mRenderer.mFence = swapFence; in setSwapFence()
DGLProducerThread.java38 private final GLRenderer mRenderer; field in GLProducerThread
60 mRenderer = renderer; in GLProducerThread()
147 if (mRenderer != null) { in run()
148 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()
212 mRenderer.setRotation(axis1, axis2, axis3); in setRendererRotation()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java62 Renderer mRenderer; field in OpenGLESActivity
85 return ((RendererBasicTest)mRenderer).mError; in glGetError()
206 mRenderer = new RendererBasicTest(latch); in OpenGLES20View()
208 mRenderer = new RendererProtectedTexturesTest(latch); in OpenGLES20View()
210 mRenderer = new RendererRefreshRateTest(latch); in OpenGLES20View()
214 setRenderer(mRenderer); in OpenGLES20View()
/cts/hostsidetests/angle/app/common/src/com/android/angleIntegrationTest/common/
DGlesView.java47 private String mRenderer = ""; field in GlesView
114 mRenderer = GLES20.glGetString(GLES20.GL_RENDERER); in surfaceCreated()
127 return mRenderer; in getRenderer()
/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