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

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

Completed in 170 milliseconds