Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/renderscript/
DProgramStore.java37 public class ProgramStore extends BaseObj { class
139 ProgramStore(int id, RenderScript rs) { in ProgramStore() method in ProgramStore
154 public static ProgramStore BLEND_NONE_DEPTH_TEST(RenderScript rs) { in BLEND_NONE_DEPTH_TEST()
156 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_TEST()
157 builder.setDepthFunc(ProgramStore.DepthFunc.LESS); in BLEND_NONE_DEPTH_TEST()
175 public static ProgramStore BLEND_NONE_DEPTH_NONE(RenderScript rs) { in BLEND_NONE_DEPTH_NONE()
177 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_NONE()
178 builder.setDepthFunc(ProgramStore.DepthFunc.ALWAYS); in BLEND_NONE_DEPTH_NONE()
199 public static ProgramStore BLEND_ALPHA_DEPTH_TEST(RenderScript rs) { in BLEND_ALPHA_DEPTH_TEST()
201 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ALPHA_DEPTH_TEST()
[all …]
DRenderScriptGL.java271 public void bindProgramStore(ProgramStore p) { in bindProgramStore()
DRenderScript.java670 ProgramStore mProgramStore_BLEND_NONE_DEPTH_TEST;
671 ProgramStore mProgramStore_BLEND_NONE_DEPTH_NO_DEPTH;
672 ProgramStore mProgramStore_BLEND_ALPHA_DEPTH_TEST;
673 ProgramStore mProgramStore_BLEND_ALPHA_DEPTH_NO_DEPTH;
/frameworks/base/libs/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(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.h29 class ProgramStore : public ProgramBase {
35 static ProgramStore *createFromStream(Context *rsc, IStream *stream);
36 static ObjectBaseRef<ProgramStore> getProgramStore(Context *,
69 virtual ~ProgramStore();
72 ProgramStore(Context *,
86 ObjectBaseRef<ProgramStore> mDefault;
87 ObjectBaseRef<ProgramStore> mLast;
90 Vector<ProgramStore *> mStorePrograms;
DrsContext.h92 ObjectBaseRef<ProgramStore> mStore;
117 void setProgramStore(ProgramStore *);
123 ProgramStore * getProgramStore() {return mFragmentStore.get();} in getProgramStore()
154 ProgramStore * getDefaultProgramStore() const { in getDefaultProgramStore()
239 ObjectBaseRef<ProgramStore> mFragmentStore;
DrsScript.h30 class ProgramStore; variable
67 ObjectBaseRef<ProgramStore> mFragmentStore;
Drs_hal.h33 class ProgramStore; variable
160 bool (*init)(const Context *rsc, const ProgramStore *ps);
161 void (*setActive)(const Context *rsc, const ProgramStore *ps);
162 void (*destroy)(const Context *rsc, const ProgramStore *ps);
DrsContext.cpp489 void Context::setProgramStore(ProgramStore *pfs) { in setProgramStore()
614 ProgramStore *pfs = static_cast<ProgramStore *>(vpfs); in rsi_ContextBindProgramStore()
DrsFont.h211 ObjectBaseRef<ProgramStore> mFontProgramStore;
DrsRuntime.h34 void rsrBindProgramStore(Context *, Script *, ProgramStore *);
DrsScriptC_LibGL.cpp59 void rsrBindProgramStore(Context *rsc, Script *sc, ProgramStore *ps) { in rsrBindProgramStore()
/frameworks/base/libs/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()
DrsdRuntimeStubs.cpp97 static void SC_BindProgramStore(ProgramStore *ps) { in SC_BindProgramStore()
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselRS.java446 final ProgramStore.DepthFunc depthFunc = mForceBlendCardsWithZ ? in initProgramStore()
447 ProgramStore.DepthFunc.LESS : ProgramStore.DepthFunc.ALWAYS; in initProgramStore()
450 mScript.set_programStoreBackground(new ProgramStore.Builder(mRS) in initProgramStore()
451 .setBlendFunc(ProgramStore.BlendSrcFunc.ONE, ProgramStore.BlendDstFunc.ZERO) in initProgramStore()
458 setProgramStoreCard(0, new ProgramStore.Builder(mRS) in initProgramStore()
459 .setBlendFunc(ProgramStore.BlendSrcFunc.ONE, in initProgramStore()
460 ProgramStore.BlendDstFunc.ONE_MINUS_SRC_ALPHA) in initProgramStore()
467 mScript.set_programStoreDetail(new ProgramStore.Builder(mRS) in initProgramStore()
468 .setBlendFunc(ProgramStore.BlendSrcFunc.ONE, in initProgramStore()
469 ProgramStore.BlendDstFunc.ONE_MINUS_SRC_ALPHA) in initProgramStore()
[all …]
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchRS.java36 import android.renderscript.ProgramStore.DepthFunc;
37 import android.renderscript.ProgramStore.BlendSrcFunc;
38 import android.renderscript.ProgramStore.BlendDstFunc;
87 private ProgramStore mProgStoreBlendNoneDepth;
88 private ProgramStore mProgStoreBlendNone;
89 private ProgramStore mProgStoreBlendAlpha;
90 private ProgramStore mProgStoreBlendAdd;
228 ProgramStore BLEND_ADD_DEPTH_NONE(RenderScript rs) { in BLEND_ADD_DEPTH_NONE()
229 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_ADD_DEPTH_NONE()
230 builder.setDepthFunc(ProgramStore.DepthFunc.ALWAYS); in BLEND_ADD_DEPTH_NONE()
[all …]
/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()
DSgTransform.java26 import android.renderscript.ProgramStore.DepthFunc;
/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/libs/rs/scriptc/
Drs_types.rsh159 * \brief Opaque handle to a Renderscript ProgramStore object.
161 * See: android.renderscript.ProgramStore
Drs_graphics.rsh79 * Bind a new ProgramStore to the rendering context.

12