Home
last modified time | relevance | path

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

/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DTexture2D.java21 import com.android.scenegraph.SceneManager;
68 mData.texture = tex != null ? tex : SceneManager.getDefaultTex2D(); in setTexture()
75 RenderScriptGL rs = SceneManager.getRS(); in load()
76 Resources res = SceneManager.getRes(); in load()
79 setTexture(SceneManager.loadTexture2D(mFileDir + shortName, rs, res)); in load()
81 setTexture(SceneManager.loadTexture2D(mResourceID, rs, res)); in load()
90 RenderScriptGL rs = SceneManager.getRS(); in getRsData()
91 Resources res = SceneManager.getRes(); in getRsData()
101 mData.texture = SceneManager.getDefaultTex2D(); in getRsData()
DTextureCube.java21 import com.android.scenegraph.SceneManager;
69 mData.texture = tex != null ? tex : SceneManager.getDefaultTexCube(); in setTexture()
76 RenderScriptGL rs = SceneManager.getRS(); in load()
77 Resources res = SceneManager.getRes(); in load()
80 setTexture(SceneManager.loadCubemap(mFileDir + shortName, rs, res)); in load()
82 setTexture(SceneManager.loadCubemap(mResourceID , rs, res)); in load()
91 RenderScriptGL rs = SceneManager.getRS(); in getRsData()
92 Resources res = SceneManager.getRes(); in getRsData()
102 mData.texture = SceneManager.getDefaultTexCube(); in getRsData()
DShaderParam.java23 import com.android.scenegraph.SceneManager;
64 RenderScriptGL rs = SceneManager.getRS(); in fillInParams()
141 RenderScriptGL rs = SceneManager.getRS(); in getRSData()
145 mData.paramName = SceneManager.getCachedAlloc(mParamName); in getRSData()
147 mData.paramName = SceneManager.getStringAsAllocation(rs, mParamName); in getRSData()
148 SceneManager.cacheAlloc(mParamName, mData.paramName); in getRSData()
DCompoundTransform.java22 import com.android.scenegraph.SceneManager;
47 RenderScriptGL rs = SceneManager.getRS(); in setNameAlloc()
51 mData.name = SceneManager.getCachedAlloc(getName()); in setNameAlloc()
53 mData.name = SceneManager.getStringAsAllocation(rs, getName()); in setNameAlloc()
54 SceneManager.cacheAlloc(getName(), mData.name); in setNameAlloc()
197 RenderScriptGL rs = SceneManager.getRS(); in initLocalData()
DScene.java29 import com.android.scenegraph.SceneManager;
238 SceneManager sceneManager = SceneManager.getInstance(); in destroyRS()
259 public void initRenderPassRS(RenderScriptGL rs, SceneManager sceneManager) { in initRenderPassRS()
270 private void addDrawables(RenderScriptGL rs, Resources res, SceneManager sceneManager) { in addDrawables()
286 private void addShaders(RenderScriptGL rs, Resources res, SceneManager sceneManager) { in addShaders()
313 SceneManager sceneManager = SceneManager.getInstance(); in initRS()
314 mRS = SceneManager.getRS(); in initRS()
315 mRes = SceneManager.getRes(); in initRS()
DCamera.java22 import com.android.scenegraph.SceneManager;
81 RenderScriptGL rs = SceneManager.getRS(); in setName()
93 RenderScriptGL rs = SceneManager.getRS(); in getRSData()
DRenderable.java26 import com.android.scenegraph.SceneManager;
71 RenderScriptGL rs = SceneManager.getRS(); in setRenderState()
100 RenderScriptGL rs = SceneManager.getRS(); in setTransform()
205 mRenderState = SceneManager.getDefaultState(); in updateFieldItem()
208 mTransform = SceneManager.getDefaultTransform(); in updateFieldItem()
DFragmentShader.java104 RenderScriptGL rs = SceneManager.getRS(); in getTextureParams()
105 Resources res = SceneManager.getRes(); in getTextureParams()
144 RenderScriptGL rs = SceneManager.getRS(); in getRSData()
145 Resources res = SceneManager.getRes(); in getRSData()
DTextureRenderTarget.java21 import com.android.scenegraph.SceneManager;
55 RenderScriptGL rs = SceneManager.getRS(); in getRsData()
DSceneGraphBase.java22 import com.android.scenegraph.SceneManager;
52 mNameAlloc = SceneManager.getStringAsAllocation(rs, getName()); in getNameAlloc()
DTransform.java53 RenderScriptGL rs = SceneManager.getRS(); in updateRSChildData()
76 RenderScriptGL rs = SceneManager.getRS(); in getRSData()
DLightBase.java75 RenderScriptGL rs = SceneManager.getRS(); in updateRSData()
93 RenderScriptGL rs = SceneManager.getRS(); in getRSData()
DVertexShader.java88 RenderScriptGL rs = SceneManager.getRS(); in getRSData()
89 Resources res = SceneManager.getRes(); in getRSData()
DFloat4Param.java23 import com.android.scenegraph.SceneManager;
104 Scene parentScene = SceneManager.getInstance().getActiveScene(); in findLight()
DSceneManager.java52 public class SceneManager extends SceneGraphBase { class
73 private static SceneManager sSceneManager;
413 public static SceneManager getInstance() { in getInstance()
415 sSceneManager = new SceneManager(); in getInstance()
420 protected SceneManager() { in SceneManager() method in SceneManager
DColladaScene.java41 import com.android.scenegraph.SceneManager.SceneLoadedCallback;
62 mLoadFromSD = SceneManager.isSDCardPath(modelName); in init()
DTextureBase.java21 import com.android.scenegraph.SceneManager;
DRenderState.java101 RenderScriptGL rs = SceneManager.getRS(); in getRSData()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DSimpleAppRS.java25 import com.android.scenegraph.SceneManager.SceneLoadedCallback;
37 SceneManager mSceneManager;
50 mSceneManager = SceneManager.getInstance(); in init()
96 VertexShader genericV = SceneManager.getDefaultVS(); in setupColoredQuad()
98 FragmentShader colorF = SceneManager.getColorFS(); in setupColoredQuad()
112 VertexShader genericV = SceneManager.getDefaultVS(); in setupTexturedQuad()
114 FragmentShader textureF = SceneManager.getTextureFS(); in setupTexturedQuad()
152 VertexShader genericV = SceneManager.getDefaultVS(); in setupShadedGeometry()
DFullscreenBlur.java95 SceneManager sceneManager = SceneManager.getInstance(); in addBlurPasses()
100 ProgramStore blendAdd = SceneManager.BLEND_ADD_DEPTH_NONE(rs); in addBlurPasses()
149 SceneManager sceneManager = SceneManager.getInstance(); in addCompositePass()
151 SceneManager.BLEND_ADD_DEPTH_NONE(rs), in addCompositePass()
DTestAppRS.java25 import com.android.scenegraph.SceneManager.SceneLoadedCallback;
57 SceneManager mSceneManager;
103 mSceneManager = SceneManager.getInstance(); in init()
153 mGenericV = SceneManager.getDefaultVS(); in initPaintShaders()
170 mTextureF = SceneManager.getTextureFS(); in initPaintShaders()
DTestAppLoadingScreen.java24 import com.android.scenegraph.SceneManager;
60 mRS.bindRootScript(SceneManager.getInstance().getRenderLoop()); in showLoadingScreen()