Home
last modified time | relevance | path

Searched refs:ProgramFragment (Results 1 – 21 of 21) 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 std::vector<ProgramFragment *> mPrograms;
60 ObjectBaseRef<ProgramFragment> mLast;
DrsProgramFragment.cpp25 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, size_t shaderLength, in ProgramFragment() function in android::renderscript::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()
139 ProgramFragment *pf = new ProgramFragment(rsc, shaderText, shaderLength, in rsi_ProgramFragmentCreate()
DrsScriptC_LibGL.cpp45 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture()
51 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant()
63 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler()
74 void rsrBindProgramFragment(Context *rsc, ProgramFragment *pf) { in rsrBindProgramFragment()
132 void rsrPfConstantColor(Context *rsc, ProgramFragment *pf, in rsrPfConstantColor()
196 ProgramFragment *pf = rsc->getProgramFragment(); in rsrColor()
DrsContext.h101 ObjectBaseRef<ProgramFragment> mFragment;
132 void setProgramFragment(ProgramFragment *);
138 ProgramFragment * getProgramFragment() {return mFragment.get();} in getProgramFragment()
167 ProgramFragment * getDefaultProgramFragment() const { in getDefaultProgramFragment()
323 ObjectBaseRef<ProgramFragment> mFragment;
DrsRuntime.h33 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *);
34 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *);
36 void rsrBindSampler(Context *, ProgramFragment *, uint32_t slot, Sampler *);
38 void rsrBindProgramFragment(Context *, ProgramFragment *);
54 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
338 bool (*init)(const Context *rsc, const ProgramFragment *pf,
342 void (*setActive)(const Context *rsc, const ProgramFragment *pf);
343 void (*destroy)(const Context *rsc, const ProgramFragment *pf);
DrsScriptGroup.h31 class ProgramFragment; variable
DrsContext.cpp636 void Context::setProgramFragment(ProgramFragment *pf) { in setProgramFragment()
779 ProgramFragment *pf = static_cast<ProgramFragment *>(vpf); in rsi_ContextBindProgramFragment()
DrsFont.h210 ObjectBaseRef<ProgramFragment> mFontShaderF;
DrsFont.cpp525 ProgramFragment *pf = new ProgramFragment(mRSC, shaderString, strlen(shaderString), in initRenderState()
/frameworks/base/rs/java/android/renderscript/
DProgramFragment.java40 public class ProgramFragment extends Program { class
41 ProgramFragment(long id, RenderScript rs) { in ProgramFragment() method in ProgramFragment
67 public ProgramFragment create() { in create()
92 ProgramFragment pf = new ProgramFragment(id, mRS); in create()
DRenderScriptGL.java315 public void bindProgramFragment(ProgramFragment p) { in bindProgramFragment()
DProgramFragmentFixedFunction.java32 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.cpp36 using android::renderscript::ProgramFragment;
86 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit()
97 void rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentSetActive()
104 void rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentDestroy()
DrsdRuntimeStubs.cpp46 using android::renderscript::ProgramFragment;
940 rsrBindProgramFragment(rsc, (ProgramFragment *)pf.p);
961 rsrBindSampler(rsc, (ProgramFragment *)pf.p, slot, (Sampler *)s.p);
967 rsrBindTexture(rsc, (ProgramFragment *)pf.p, slot, (Allocation *)a.p);
973 rsrBindConstant(rsc, (ProgramFragment *)pf.p, slot, (Allocation *)a.p);
1005 rsrPfConstantColor(rsc, (ProgramFragment *)pf.p, r, g, b, a);
/frameworks/rs/script_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/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsRS.java37 private ProgramFragment mPFPoints;
/frameworks/rs/script_api/include/
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/config/
Dhiddenapi-greylist-max-o.txt60023 Landroid/renderscript/ProgramFragment;-><init>(JLandroid/renderscript/RenderScript;)V
60540 Landroid/renderscript/RenderScriptGL;->bindProgramFragment(Landroid/renderscript/ProgramFragment;)V