Home
last modified time | relevance | path

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

12

/frameworks/base/libs/rs/
DrsProgramFragment.h28 class ProgramFragment : public Program {
30 ProgramFragment(Context *rsc, const char * shaderText,
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.cpp23 ProgramFragment::ProgramFragment(Context *rsc, const char * shaderText, in ProgramFragment() function in ProgramFragment
35 ProgramFragment::~ProgramFragment() { in ~ProgramFragment()
39 void ProgramFragment::setConstantColor(Context *rsc, float r, float g, float b, float a) { in setConstantColor()
58 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { in setup()
75 void ProgramFragment::serialize(OStream *stream) const { in serialize()
78 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
113 ProgramFragment *pf = new ProgramFragment(rsc, shaderString.string(), in init()
132 ProgramFragment *pf = new ProgramFragment(rsc, shaderText, shaderLength, params, paramLength); in rsi_ProgramFragmentCreate()
DrsContext.h90 ObjectBaseRef<ProgramFragment> mFragment;
116 void setProgramFragment(ProgramFragment *);
122 ProgramFragment * getProgramFragment() {return mFragment.get();} in getProgramFragment()
148 ProgramFragment * getDefaultProgramFragment() const { in getDefaultProgramFragment()
237 ObjectBaseRef<ProgramFragment> mFragment;
DrsScript.h28 class ProgramFragment; variable
65 ObjectBaseRef<ProgramFragment> mFragment;
Drs_hal.h36 class ProgramFragment; variable
179 bool (*init)(const Context *rsc, const ProgramFragment *pf,
181 void (*setActive)(const Context *rsc, const ProgramFragment *pf);
182 void (*destroy)(const Context *rsc, const ProgramFragment *pf);
DrsScriptC_LibGL.cpp47 void rsrBindTexture(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture()
53 void rsrBindSampler(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler()
64 void rsrBindProgramFragment(Context *rsc, Script *sc, ProgramFragment *pf) { in rsrBindProgramFragment()
117 void rsrPfConstantColor(Context *rsc, Script *sc, ProgramFragment *pf, in rsrPfConstantColor()
243 ProgramFragment *pf = rsc->getProgramFragment(); in rsrColor()
DrsRuntime.h32 void rsrBindTexture(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *);
33 void rsrBindSampler(Context *, Script *, ProgramFragment *, uint32_t slot, Sampler *);
35 void rsrBindProgramFragment(Context *, Script *, ProgramFragment *);
51 void rsrPfConstantColor(Context *, Script *, ProgramFragment *, float r, float g, float b, float a);
DrsContext.cpp498 void Context::setProgramFragment(ProgramFragment *pf) { in setProgramFragment()
619 ProgramFragment *pf = static_cast<ProgramFragment *>(vpf); in rsi_ContextBindProgramFragment()
DrsFont.h209 ObjectBaseRef<ProgramFragment> mFontShaderF;
DrsFont.cpp510 ProgramFragment *pf = new ProgramFragment(mRSC, shaderString.string(), in initRenderState()
/frameworks/base/graphics/java/android/renderscript/
DProgramFragment.java39 public class ProgramFragment extends Program { class
40 ProgramFragment(int id, RenderScript rs) { in ProgramFragment() method in ProgramFragment
59 public ProgramFragment create() { in create()
82 ProgramFragment pf = new ProgramFragment(id, mRS); in create()
DRenderScriptGL.java282 public void bindProgramFragment(ProgramFragment p) { in bindProgramFragment()
DProgramFragmentFixedFunction.java31 public class ProgramFragmentFixedFunction extends ProgramFragment {
/frameworks/base/libs/rs/driver/
DrsdProgramFragment.h24 const android::renderscript::ProgramFragment *,
27 const android::renderscript::ProgramFragment *);
29 const android::renderscript::ProgramFragment *);
DrsdProgram.cpp80 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit()
88 void rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentSetActive()
95 void rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentDestroy()
DrsdRuntimeStubs.cpp87 static void SC_BindTexture(ProgramFragment *pf, uint32_t slot, Allocation *a) { in SC_BindTexture()
92 static void SC_BindSampler(ProgramFragment *pf, uint32_t slot, Sampler *s) { in SC_BindSampler()
102 static void SC_BindProgramFragment(ProgramFragment *pf) { in SC_BindProgramFragment()
162 static void SC_PfConstantColor(ProgramFragment *pf, float r, float g, float b, float a) { in SC_PfConstantColor()
/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/ex/carousel/java/com/android/ex/carousel/
DCarouselRS.java73 private ProgramFragment mSingleTextureFragmentProgram;
74 private ProgramFragment mSingleTextureBlendingFragmentProgram;
75 private ProgramFragment mMultiTextureFragmentProgram;
76 private ProgramFragment mMultiTextureBlendingFragmentProgram;
375 ProgramFragment.Builder pfbSingle = new ProgramFragment.Builder(mRS); in initFragmentProgram()
389 ProgramFragment.Builder pfbSingleBlend = new ProgramFragment.Builder(mRS); in initFragmentProgram()
404 ProgramFragment.Builder pfbMulti = new ProgramFragment.Builder(mRS); in initFragmentProgram()
421 ProgramFragment.Builder pfbMultiBlend = new ProgramFragment.Builder(mRS); in initFragmentProgram()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBenchRS.java92 private ProgramFragment mProgFragmentTexture;
93 private ProgramFragment mProgFragmentColor;
101 private ProgramFragment mProgFragmentCustom;
102 private ProgramFragment mProgFragmentMultitex;
105 private ProgramFragment mProgFragmentPixelLight;
342 ProgramFragment pfb = builder.create(); in initProgramFragment()
351 ProgramFragment pfs = builder.create(); in initProgramFragment()
464 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
489 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
496 pfbCustom = new ProgramFragment.Builder(mRS); in initCustomShaders()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelRS.java47 private ProgramFragment mPFBackground;
DSceneGraphRS.java55 private ProgramFragment mPFBackground;
/frameworks/base/libs/rs/scriptc/
Drs_graphics.rsh71 * Bind a new ProgramFragment to the rendering context.
103 * Bind a new Sampler object to a ProgramFragment. The sampler will
112 * Bind a new Allocation object to a ProgramFragment. The
Drs_types.rsh141 * \brief Opaque handle to a Renderscript ProgramFragment object.
143 * See: android.renderscript.ProgramFragment
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
DFBOTestRS.java50 private ProgramFragment mPFBackground;
DFBOSyncRS.java50 private ProgramFragment mPFBackground;

12