Home
last modified time | relevance | path

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

/frameworks/rs/
DrsProgramStore.cpp23 ProgramStore::ProgramStore(Context *rsc, in ProgramStore() function in android::renderscript::ProgramStore
43 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.h38 class ProgramStore : public ProgramBase {
66 static ProgramStore *createFromStream(Context *rsc, IStream *stream);
67 static ObjectBaseRef<ProgramStore> getProgramStore(Context *,
76 virtual ~ProgramStore();
79 ProgramStore(Context *,
93 ObjectBaseRef<ProgramStore> mDefault;
94 ObjectBaseRef<ProgramStore> mLast;
97 std::vector<ProgramStore *> mStorePrograms;
DrsContext.h103 ObjectBaseRef<ProgramStore> mStore;
133 void setProgramStore(ProgramStore *);
139 ProgramStore * getProgramStore() {return mFragmentStore.get();} in getProgramStore()
173 ProgramStore * getDefaultProgramStore() const { in getDefaultProgramStore()
325 ObjectBaseRef<ProgramStore> mFragmentStore;
DrsScript.h33 class ProgramStore; variable
112 ObjectBaseRef<ProgramStore> mFragmentStore;
Drs_hal.h90 class ProgramStore; variable
317 bool (*init)(const Context *rsc, const ProgramStore *ps);
318 void (*setActive)(const Context *rsc, const ProgramStore *ps);
319 void (*destroy)(const Context *rsc, const ProgramStore *ps);
DrsScriptGroup.h33 class ProgramStore; variable
DrsContext.cpp628 void Context::setProgramStore(ProgramStore *pfs) { in setProgramStore()
775 ProgramStore *pfs = static_cast<ProgramStore *>(vpfs); in rsi_ContextBindProgramStore()
DrsFont.h212 ObjectBaseRef<ProgramStore> mFontProgramStore;
DrsRuntime.h37 void rsrBindProgramStore(Context *, ProgramStore *);
DrsScriptC_LibGL.cpp69 void rsrBindProgramStore(Context *rsc, ProgramStore *ps) { in rsrBindProgramStore()
DrsFont.cpp536 mFontProgramStore.set(ProgramStore::getProgramStore(mRSC, true, true, true, true, in initRenderState()
/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 …]
DRenderScriptGL.java296 public void bindProgramStore(ProgramStore p) { in bindProgramStore()
DRenderScript.java1124 ProgramStore mProgramStore_BLEND_NONE_DEPTH_TEST;
1125 ProgramStore mProgramStore_BLEND_NONE_DEPTH_NO_DEPTH;
1126 ProgramStore mProgramStore_BLEND_ALPHA_DEPTH_TEST;
1127 ProgramStore mProgramStore_BLEND_ALPHA_DEPTH_NO_DEPTH;
/frameworks/rs/driver/
DrsdProgramStore.h24 const android::renderscript::ProgramStore *ps);
26 const android::renderscript::ProgramStore *ps);
28 const android::renderscript::ProgramStore *ps);
DrsdProgramStore.cpp28 using android::renderscript::ProgramStore;
39 bool rsdProgramStoreInit(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreInit()
155 void rsdProgramStoreSetActive(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreSetActive()
198 void rsdProgramStoreDestroy(const Context *rsc, const ProgramStore *ps) { in rsdProgramStoreDestroy()
DrsdRuntimeStubs.cpp48 using android::renderscript::ProgramStore;
945 rsrBindProgramStore(rsc, (ProgramStore *)ps.p);
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsRS.java86 ProgramStore BLEND_ADD_DEPTH_NONE(RenderScript rs) { in BLEND_ADD_DEPTH_NONE()
87 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ADD_DEPTH_NONE()
88 builder.setDepthFunc(ProgramStore.DepthFunc.ALWAYS); in BLEND_ADD_DEPTH_NONE()
89 builder.setBlendFunc(ProgramStore.BlendSrcFunc.ONE, ProgramStore.BlendDstFunc.ONE); in BLEND_ADD_DEPTH_NONE()
/frameworks/rs/driver/runtime/
Drs_structs.h103 typedef struct ProgramStore { struct
/frameworks/rs/script_api/
Drs_graphics.spec178 summary: Handle to a ProgramStore
180 Opaque handle to a RenderScript ProgramStore object.
181 See: android.renderscript.ProgramStore
330 summary: Bind a ProgramStore
332 Bind a new ProgramStore to the rendering context.
/frameworks/rs/script_api/include/
Drs_graphics.rsh253 * rs_program_store: Handle to a ProgramStore
257 * Opaque handle to a RenderScript ProgramStore object.
258 * See: android.renderscript.ProgramStore
583 * rsgBindProgramStore: Bind a ProgramStore
587 * Bind a new ProgramStore to the rendering context.