Home
last modified time | relevance | path

Searched refs:ProgramVertex (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/rs/
DrsProgramVertex.cpp25 ProgramVertex::ProgramVertex(Context *rsc, const char * shaderText, size_t shaderLength, in ProgramVertex() function in ProgramVertex
34 ProgramVertex::~ProgramVertex() { in ~ProgramVertex()
38 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { in setup()
65 void ProgramVertex::setProjectionMatrix(Context *rsc, const rsc_Matrix *m) const { in setProjectionMatrix()
81 void ProgramVertex::setModelviewMatrix(Context *rsc, const rsc_Matrix *m) const { in setModelviewMatrix()
97 void ProgramVertex::setTextureMatrix(Context *rsc, const rsc_Matrix *m) const { in setTextureMatrix()
113 void ProgramVertex::getProjectionMatrix(Context *rsc, rsc_Matrix *m) const { in getProjectionMatrix()
128 void ProgramVertex::transformToScreen(Context *rsc, float *v4out, const float *v3in) const { in transformToScreen()
139 void ProgramVertex::serialize(OStream *stream) const { in serialize()
142 ProgramVertex *ProgramVertex::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
[all …]
DrsProgramVertex.h28 class ProgramVertex : public Program {
30 ProgramVertex(Context *,const char * shaderText, size_t shaderLength,
33 virtual ~ProgramVertex();
46 static ProgramVertex *createFromStream(Context *rsc, IStream *stream);
58 ObjectBaseRef<ProgramVertex> mDefault;
59 ObjectBaseRef<ProgramVertex> mLast;
DrsContext.h83 ObjectBaseRef<ProgramVertex> mVertex;
107 void setProgramVertex(ProgramVertex *);
117 ProgramVertex * getProgramVertex() {return mVertex.get();} in getProgramVertex()
143 ProgramVertex * getDefaultProgramVertex() const { in getDefaultProgramVertex()
234 ObjectBaseRef<ProgramVertex> mVertex;
DrsScript.h27 class ProgramVertex; variable
63 ObjectBaseRef<ProgramVertex> mVertex;
Drs_hal.h38 class ProgramVertex; variable
187 bool (*init)(const Context *rsc, const ProgramVertex *pv,
191 void (*setActive)(const Context *rsc, const ProgramVertex *pv);
192 void (*destroy)(const Context *rsc, const ProgramVertex *pv);
DrsScriptC_LibGL.cpp61 void rsrBindConstant(Context *rsc, Script *sc, ProgramVertex *pv, uint32_t slot, Allocation *a) { in rsrBindConstant()
83 void rsrBindProgramVertex(Context *rsc, Script *sc, ProgramVertex *pv) { in rsrBindProgramVertex()
196 ObjectBaseRef<const ProgramVertex> tmp(rsc->getProgramVertex()); in rsrDrawSpriteScreenspace()
209 rsc->setProgramVertex((ProgramVertex *)tmp.get()); in rsrDrawSpriteScreenspace()
DrsRuntime.h34 void rsrBindConstant(Context *, Script *, ProgramVertex*, uint32_t slot, Allocation *);
38 void rsrBindProgramVertex(Context *, Script *, ProgramVertex *);
/frameworks/base/graphics/java/android/renderscript/
DProgramVertex.java52 public class ProgramVertex extends Program { class
54 ProgramVertex(int id, RenderScript rs) { in ProgramVertex() method in ProgramVertex
124 public ProgramVertex create() { in create()
149 ProgramVertex pv = new ProgramVertex(id, mRS); in create()
/frameworks/rs/driver/
DrsdProgramVertex.h23 const android::renderscript::ProgramVertex *,
28 const android::renderscript::ProgramVertex *);
30 const android::renderscript::ProgramVertex *);
DrsdProgram.cpp36 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, in rsdProgramVertexInit()
60 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexSetActive()
67 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexDestroy()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DVertexShader.java30 ProgramVertex mProgram;
35 ProgramVertex.Builder mBuilder;
39 mBuilder = new ProgramVertex.Builder(rs); in Builder()
79 public ProgramVertex getProgram() { in getProgram()
DRenderableBase.java25 import android.renderscript.ProgramVertex;
DPointLight.java25 import android.renderscript.ProgramVertex;
DRenderableGroup.java25 import android.renderscript.ProgramVertex;
DSceneGraphBase.java29 import android.renderscript.ProgramVertex;
DTextureParam.java28 import android.renderscript.ProgramVertex;
DTransformParam.java26 import android.renderscript.ProgramVertex;
DRenderState.java29 import android.renderscript.ProgramVertex;
DFloat4Param.java30 import android.renderscript.ProgramVertex;
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DTorusTest.java49 private ProgramVertex mProgVertex;
54 private ProgramVertex mProgVertexCustom;
57 private ProgramVertex mProgVertexPixelLight;
58 private ProgramVertex mProgVertexPixelLightMove;
163 ProgramVertex.Builder pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
185 pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
192 pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
DUiTest.java296 ProgramVertex pvbp = pvb.create(); in initUiScript()
302 ProgramVertex.Builder sb = new ProgramVertex.Builder(mRS); in initUiScript()
326 ProgramVertex pvs = sb.create(); in initUiScript()
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
DBallsRS.java35 private ProgramVertex mPV;
53 ProgramVertex.Builder sb = new ProgramVertex.Builder(mRS); in createProgramVertex()
65 ProgramVertex pvs = sb.create(); in createProgramVertex()
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesRS.java79 private ProgramVertex mProgVertex;
83 private ProgramVertex mProgVertexCustom;
91 private ProgramVertex mProgVertexCustom2;
94 private ProgramVertex mProgVertexCube;
233 ProgramVertex.Builder pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
255 pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
270 pvbCustom = new ProgramVertex.Builder(mRS); in initCustomShaders()
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTestRS.java31 import android.renderscript.ProgramVertex;
59 private ProgramVertex mPVBackground;
/frameworks/rs/scriptc/
Drs_graphics.rsh90 * Bind a new ProgramVertex to the rendering context.
182 * Bind a new Allocation object to a ProgramVertex. The
304 * function uses the default passthough ProgramVertex. Any bound ProgramVertex

12