Home
last modified time | relevance | path

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

12

/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.h111 ObjectBaseRef<ProgramFragment> mFragment;
142 void setProgramFragment(ProgramFragment *);
148 ProgramFragment * getProgramFragment() {return mFragment.get();} in getProgramFragment()
177 ProgramFragment * getDefaultProgramFragment() const { in getDefaultProgramFragment()
327 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
108 ObjectBaseRef<ProgramFragment> mFragment;
Drs_hal.h72 class ProgramFragment; variable
306 bool (*init)(const Context *rsc, const ProgramFragment *pf,
310 void (*setActive)(const Context *rsc, const ProgramFragment *pf);
311 void (*destroy)(const Context *rsc, const ProgramFragment *pf);
/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()
/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()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DFillTest.java36 private ProgramFragment mProgFragmentMultitex;
37 private ProgramFragment mProgFragmentSingletex;
38 private ProgramFragment mProgFragmentSingletexModulate;
110 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
117 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
122 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
DTorusTest.java46 private ProgramFragment mProgFragmentTexture;
47 private ProgramFragment mProgFragmentColor;
55 private ProgramFragment mProgFragmentCustom;
56 private ProgramFragment mProgFragmentMultitex;
59 private ProgramFragment mProgFragmentPixelLight;
174 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
199 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
206 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DFragmentShader.java26 import android.renderscript.ProgramFragment.Builder;
33 ProgramFragment mProgram;
39 ProgramFragment.Builder mBuilder;
43 mBuilder = new ProgramFragment.Builder(rs); in Builder()
99 public ProgramFragment getProgram() { in getProgram()
DRenderableBase.java23 import android.renderscript.ProgramFragment;
DPointLight.java23 import android.renderscript.ProgramFragment;
DRenderableGroup.java23 import android.renderscript.ProgramFragment;
DSceneGraphBase.java27 import android.renderscript.ProgramFragment;
DTextureParam.java26 import android.renderscript.ProgramFragment;
DShader.java27 import android.renderscript.ProgramFragment.Builder;
DRenderable.java36 import android.renderscript.ProgramFragment;
149 ProgramFragment pf = mRenderState.mFragment.mProgram; in updateTextures()
DTransformParam.java24 import android.renderscript.ProgramFragment;
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesRS.java76 private ProgramFragment mProgFragmentTexture;
77 private ProgramFragment mProgFragmentColor;
84 private ProgramFragment mProgFragmentCustom;
85 private ProgramFragment mProgFragmentMultitex;
92 private ProgramFragment mProgFragmentCustom2;
95 private ProgramFragment mProgFragmentCube;
244 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
262 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
277 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
282 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestRS.java27 import android.renderscript.ProgramFragment;
58 private ProgramFragment mPFBackground;
62 private ProgramFragment mPFVignette;
113 ProgramFragment.Builder fs; in initPF()
115 fs = new ProgramFragment.Builder(mRS); in initPF()
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
DFountainFboRS.java23 import android.renderscript.ProgramFragment;
38 private ProgramFragment mProgramFragment;
39 private ProgramFragment mTextureProgramFragment;
/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

12