Home
last modified time | relevance | path

Searched refs:mainPass (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DSimpleAppRS.java196 RenderPass mainPass = mScene.appendNewRenderPass(); in setupRenderPass() local
197 mainPass.setClearColor(new Float4(1.0f, 1.0f, 1.0f, 1.0f)); in setupRenderPass()
198 mainPass.setShouldClearColor(true); in setupRenderPass()
199 mainPass.setClearDepth(1.0f); in setupRenderPass()
200 mainPass.setShouldClearDepth(true); in setupRenderPass()
201 mainPass.setCamera(mScene.getCameras().get(0)); in setupRenderPass()
204 mainPass.appendRenderable((Renderable)renderable); in setupRenderPass()
DTestAppRS.java193 RenderPass mainPass = new RenderPass(); in initRenderPasses() local
194 mainPass.setClearColor(new Float4(1.0f, 1.0f, 1.0f, 1.0f)); in initRenderPasses()
195 mainPass.setShouldClearColor(true); in initRenderPasses()
196 mainPass.setClearDepth(1.0f); in initRenderPasses()
197 mainPass.setShouldClearDepth(true); in initRenderPasses()
198 mainPass.setCamera(mTouchHandler.getCamera()); in initRenderPasses()
200 mainPass.appendRenderable((Renderable)allDraw.get(i)); in initRenderPasses()
202 mActiveScene.appendRenderPass(mainPass); in initRenderPasses()