Home
last modified time | relevance | path

Searched refs:ProgramStore (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/rs/
DrsProgramStore.cpp24 ProgramStore::ProgramStore(Context *rsc, in ProgramStore() function in ProgramStore
44 void ProgramStore::preDestroy() const { in preDestroy()
53 ProgramStore::~ProgramStore() { in ~ProgramStore()
57 void ProgramStore::setup(const Context *rsc, ProgramStoreState *state) { in setup()
66 void ProgramStore::serialize(Context *rsc, OStream *stream) const { in serialize()
69 ProgramStore *ProgramStore::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
73 void ProgramStore::init() { in init()
83 ObjectBaseRef<ProgramStore> ProgramStore::getProgramStore(Context *rsc, in getProgramStore()
92 ObjectBaseRef<ProgramStore> returnRef; in getProgramStore()
95 ProgramStore *existing = rsc->mStateFragmentStore.mStorePrograms[ct]; in getProgramStore()
[all …]
DrsProgramStore.h36 class ProgramStore : public ProgramBase {
64 static ProgramStore *createFromStream(Context *rsc, IStream *stream);
65 static ObjectBaseRef<ProgramStore> getProgramStore(Context *,
74 virtual ~ProgramStore();
77 ProgramStore(Context *,
91 ObjectBaseRef<ProgramStore> mDefault;
92 ObjectBaseRef<ProgramStore> mLast;
95 Vector<ProgramStore *> mStorePrograms;
DrsContext.h107 ObjectBaseRef<ProgramStore> mStore;
137 void setProgramStore(ProgramStore *);
143 ProgramStore * getProgramStore() {return mFragmentStore.get();} in getProgramStore()
177 ProgramStore * getDefaultProgramStore() const { in getDefaultProgramStore()
276 ObjectBaseRef<ProgramStore> mFragmentStore;
DrsScript.h32 class ProgramStore; variable
97 ObjectBaseRef<ProgramStore> mFragmentStore;
/frameworks/base/rs/java/android/renderscript/
DProgramStore.java35 public class ProgramStore extends BaseObj { class
146 ProgramStore(long id, RenderScript rs) { in ProgramStore() method in ProgramStore
235 public static ProgramStore BLEND_NONE_DEPTH_TEST(RenderScript rs) { in BLEND_NONE_DEPTH_TEST()
237 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_TEST()
238 builder.setDepthFunc(ProgramStore.DepthFunc.LESS); in BLEND_NONE_DEPTH_TEST()
256 public static ProgramStore BLEND_NONE_DEPTH_NONE(RenderScript rs) { in BLEND_NONE_DEPTH_NONE()
258 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_NONE()
259 builder.setDepthFunc(ProgramStore.DepthFunc.ALWAYS); in BLEND_NONE_DEPTH_NONE()
280 public static ProgramStore BLEND_ALPHA_DEPTH_TEST(RenderScript rs) { in BLEND_ALPHA_DEPTH_TEST()
282 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ALPHA_DEPTH_TEST()
[all …]
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesRS.java25 import android.renderscript.ProgramStore.DepthFunc;
26 import android.renderscript.ProgramStore.BlendSrcFunc;
27 import android.renderscript.ProgramStore.BlendDstFunc;
71 private ProgramStore mProgStoreBlendNoneDepth;
72 private ProgramStore mProgStoreBlendNone;
73 private ProgramStore mProgStoreBlendAlpha;
74 private ProgramStore mProgStoreBlendAdd;
131 ProgramStore BLEND_ADD_DEPTH_NONE(RenderScript rs) { in BLEND_ADD_DEPTH_NONE()
132 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ADD_DEPTH_NONE()
133 builder.setDepthFunc(ProgramStore.DepthFunc.ALWAYS); in BLEND_ADD_DEPTH_NONE()
[all …]
/frameworks/rs/driver/
DrsdProgramStore.h24 const android::renderscript::ProgramStore *ps);
26 const android::renderscript::ProgramStore *ps);
28 const android::renderscript::ProgramStore *ps);
DrsdProgramStore.cpp40 bool rsdProgramStoreInit(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreInit()
156 void rsdProgramStoreSetActive(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreSetActive()
199 void rsdProgramStoreDestroy(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreDestroy()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DRenderState.java28 import android.renderscript.ProgramStore;
41 ProgramStore mStore;
48 ProgramStore ps, in RenderState()
73 public void setProgramStore(ProgramStore ps) { in setProgramStore()
DSceneManager.java193 public static ProgramStore BLEND_ADD_DEPTH_NONE(RenderScript rs) { in BLEND_ADD_DEPTH_NONE()
194 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ADD_DEPTH_NONE()
195 builder.setDepthFunc(ProgramStore.DepthFunc.ALWAYS); in BLEND_ADD_DEPTH_NONE()
196 builder.setBlendFunc(ProgramStore.BlendSrcFunc.ONE, ProgramStore.BlendDstFunc.ONE); in BLEND_ADD_DEPTH_NONE()
493 mRenderLoop.set_gPFSBackground(ProgramStore.BLEND_NONE_DEPTH_TEST(mRS)); in initRS()
DRenderableBase.java24 import android.renderscript.ProgramStore;
DPointLight.java24 import android.renderscript.ProgramStore;
DRenderableGroup.java24 import android.renderscript.ProgramStore;
DSceneGraphBase.java28 import android.renderscript.ProgramStore;
DTextureParam.java27 import android.renderscript.ProgramStore;
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBallsRS.java80 ProgramStore BLEND_ADD_DEPTH_NONE(RenderScript rs) { in BLEND_ADD_DEPTH_NONE()
81 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ADD_DEPTH_NONE()
82 builder.setDepthFunc(ProgramStore.DepthFunc.ALWAYS); in BLEND_ADD_DEPTH_NONE()
83 builder.setBlendFunc(ProgramStore.BlendSrcFunc.ONE, ProgramStore.BlendDstFunc.ONE); in BLEND_ADD_DEPTH_NONE()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelRS.java23 import android.renderscript.ProgramStore.DepthFunc;
46 private ProgramStore mPSBackground;
78 ProgramStore.Builder b = new ProgramStore.Builder(mRS); in initPFS()
80 b.setDepthFunc(ProgramStore.DepthFunc.LESS); in initPFS()
DSceneGraphRS.java27 import android.renderscript.ProgramStore.DepthFunc;
54 private ProgramStore mPSBackground;
94 ProgramStore.Builder b = new ProgramStore.Builder(mRS); in initPFS()
96 b.setDepthFunc(ProgramStore.DepthFunc.LESS); in initPFS()
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
DFBOTestRS.java25 import android.renderscript.ProgramStore.DepthFunc;
49 private ProgramStore mPSBackground;
79 ProgramStore.Builder b = new ProgramStore.Builder(mRS); in initPFS()
81 b.setDepthFunc(ProgramStore.DepthFunc.LESS); in initPFS()
DFBOSyncRS.java25 import android.renderscript.ProgramStore.DepthFunc;
49 private ProgramStore mPSBackground;
80 ProgramStore.Builder b = new ProgramStore.Builder(mRS); in initPFS()
82 b.setDepthFunc(ProgramStore.DepthFunc.LESS); in initPFS()
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestRS.java29 import android.renderscript.ProgramStore;
30 import android.renderscript.ProgramStore.DepthFunc;
57 private ProgramStore mPSBackground;
86 ProgramStore.Builder b = new ProgramStore.Builder(mRS); in initPFS()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DUiTest.java28 import android.renderscript.ProgramStore.DepthFunc;
29 import android.renderscript.ProgramStore.BlendSrcFunc;
30 import android.renderscript.ProgramStore.BlendDstFunc;
228 mUiScript.set_gProgStoreBlendAlpha(ProgramStore.BLEND_ALPHA_DEPTH_NONE(mRS)); in initUiScript()
238 ProgramStore.Builder psb = new ProgramStore.Builder(mRS); in initUiScript()
DTorusTest.java42 private ProgramStore mProgStoreBlendNoneDepth;
43 private ProgramStore mProgStoreBlendNone;
44 private ProgramStore mProgStoreBlendAlpha;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFullscreenBlur.java33 import android.renderscript.ProgramStore.DepthFunc;
100 ProgramStore blendAdd = SceneManager.BLEND_ADD_DEPTH_NONE(rs); in addBlurPasses()
101 ProgramStore blendNone = ProgramStore.BLEND_NONE_DEPTH_NONE(rs); in addBlurPasses()
DTestAppLoadingScreen.java35 import android.renderscript.ProgramStore.DepthFunc;
80 mScript.set_gPFSBackground(ProgramStore.BLEND_NONE_DEPTH_TEST(mRS)); in doInBackground()

123