Home
last modified time | relevance | path

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

/frameworks/rs/
DrsProgramFragment.h28 class ProgramFragment : public Program {
30 ProgramFragment(Context *rsc, const char * shaderText, size_t shaderLength,
33 virtual ~ProgramFragment();
39 static ProgramFragment *createFromStream(Context *rsc, IStream *stream);
53 ProgramFragment *mPF;
57 ObjectBaseRef<ProgramFragment> mDefault;
58 Vector<ProgramFragment *> mPrograms;
60 ObjectBaseRef<ProgramFragment> mLast;
DrsProgramFragment.cpp25 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, size_t shaderLength, in ProgramFragment() function in ProgramFragment
38 ProgramFragment::~ProgramFragment() { in ~ProgramFragment()
42 void ProgramFragment::setConstantColor(Context *rsc, float r, float g, float b, float a) { in setConstantColor()
63 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { in setup()
80 void ProgramFragment::serialize(Context *rsc, OStream *stream) const { in serialize()
83 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
120 ProgramFragment *pf = new ProgramFragment(rsc, shaderString, strlen(shaderString), in init()
142 ProgramFragment *pf = new ProgramFragment(rsc, shaderText, shaderLength, in rsi_ProgramFragmentCreate()
DrsScriptC_LibGL.cpp49 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture()
55 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant()
67 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler()
78 void rsrBindProgramFragment(Context *rsc, ProgramFragment *pf) { in rsrBindProgramFragment()
136 void rsrPfConstantColor(Context *rsc, ProgramFragment *pf, in rsrPfConstantColor()
200 ProgramFragment *pf = rsc->getProgramFragment(); in rsrColor()
DrsContext.h110 ObjectBaseRef<ProgramFragment> mFragment;
141 void setProgramFragment(ProgramFragment *);
147 ProgramFragment * getProgramFragment() {return mFragment.get();} in getProgramFragment()
176 ProgramFragment * getDefaultProgramFragment() const { in getDefaultProgramFragment()
332 ObjectBaseRef<ProgramFragment> mFragment;
DrsRuntime.h37 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *);
38 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *);
40 void rsrBindSampler(Context *, ProgramFragment *, uint32_t slot, Sampler *);
42 void rsrBindProgramFragment(Context *, ProgramFragment *);
58 void rsrPfConstantColor(Context *, ProgramFragment *, float r, float g, float b, float a);
DrsScript.h31 class ProgramFragment; variable
110 ObjectBaseRef<ProgramFragment> mFragment;
Drs_hal.h93 class ProgramFragment; variable
335 bool (*init)(const Context *rsc, const ProgramFragment *pf,
339 void (*setActive)(const Context *rsc, const ProgramFragment *pf);
340 void (*destroy)(const Context *rsc, const ProgramFragment *pf);
DrsScriptGroup.h31 class ProgramFragment; variable
DrsContext.cpp675 void Context::setProgramFragment(ProgramFragment *pf) { in setProgramFragment()
821 ProgramFragment *pf = static_cast<ProgramFragment *>(vpf); in rsi_ContextBindProgramFragment()
DrsFont.h210 ObjectBaseRef<ProgramFragment> mFontShaderF;
DrsFont.cpp526 ProgramFragment *pf = new ProgramFragment(mRSC, shaderString, strlen(shaderString), in initRenderState()
/frameworks/base/rs/java/android/renderscript/
DProgramFragment.java38 public class ProgramFragment extends Program { class
39 ProgramFragment(long id, RenderScript rs) { in ProgramFragment() method in ProgramFragment
63 public ProgramFragment create() { in create()
88 ProgramFragment pf = new ProgramFragment(id, mRS); in create()
DRenderScriptGL.java308 public void bindProgramFragment(ProgramFragment p) { in bindProgramFragment()
DProgramFragmentFixedFunction.java30 public class ProgramFragmentFixedFunction extends ProgramFragment {
/frameworks/rs/driver/
DrsdProgramFragment.h24 const android::renderscript::ProgramFragment *,
29 const android::renderscript::ProgramFragment *);
31 const android::renderscript::ProgramFragment *);
DrsdProgram.cpp83 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit()
94 void rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentSetActive()
101 void rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentDestroy()
DrsdRuntimeStubs.cpp879 rsrBindProgramFragment(rsc, (ProgramFragment *)pf.p);
900 rsrBindSampler(rsc, (ProgramFragment *)pf.p, slot, (Sampler *)s.p);
906 rsrBindTexture(rsc, (ProgramFragment *)pf.p, slot, (Allocation *)a.p);
912 rsrBindConstant(rsc, (ProgramFragment *)pf.p, slot, (Allocation *)a.p);
944 rsrPfConstantColor(rsc, (ProgramFragment *)pf.p, r, g, b, a);
/frameworks/rs/api/
Drs_graphics.spec145 summary: Handle to a ProgramFragment
147 Opaque handle to a RenderScript ProgramFragment object.
148 See: android.renderscript.ProgramFragment
261 Bind a new Allocation object to a ProgramFragment or ProgramVertex.
306 summary: Bind a ProgramFragment
308 Bind a new ProgramFragment to the rendering context.
358 Bind a new Sampler object to a ProgramFragment. The sampler will
373 Bind a new Allocation object to a ProgramFragment. The
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBallsRS.java37 private ProgramFragment mPFPoints;
/frameworks/rs/scriptc/
Drs_graphics.rsh199 * rs_program_fragment: Handle to a ProgramFragment
203 * Opaque handle to a RenderScript ProgramFragment object.
204 * See: android.renderscript.ProgramFragment
476 * Bind a new Allocation object to a ProgramFragment or ProgramVertex.
547 * rsgBindProgramFragment: Bind a ProgramFragment
551 * Bind a new ProgramFragment to the rendering context.
623 * Bind a new Sampler object to a ProgramFragment. The sampler will
642 * Bind a new Allocation object to a ProgramFragment. The
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_graphics.jd73 <b>Deprecated</b>. Handle to a ProgramFragment
148 <b>Deprecated</b>. Bind a ProgramFragment
656 <span class='normal'>: Handle to a ProgramFragment</span>
662 <p> Opaque handle to a RenderScript ProgramFragment object.
663 See: android.renderscript.ProgramFragment
808 <p> Bind a new Allocation object to a ProgramFragment or ProgramVertex.
869 <span class='normal'>: Bind a ProgramFragment</span>
883 <p> Bind a new ProgramFragment to the rendering context.
975 <p> Bind a new Sampler object to a ProgramFragment. The sampler will
999 <p> Bind a new Allocation object to a ProgramFragment. The
Dindex.jd2550 <b>Deprecated</b>. Handle to a ProgramFragment
2649 <b>Deprecated</b>. Bind a ProgramFragment