/frameworks/base/libs/rs/driver/ |
D | rsdProgram.cpp | 36 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, in rsdProgramVertexInit() argument 38 RsdShader *drv = new RsdShader(pv, GL_VERTEX_SHADER, shader, shaderLen); in rsdProgramVertexInit() 39 pv->mHal.drv = drv; in rsdProgramVertexInit() 57 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexSetActive() argument 60 SyncProgramConstants(rsc, pv); in rsdProgramVertexSetActive() 61 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive() 64 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexDestroy() argument 68 if(pv->mHal.drv) { in rsdProgramVertexDestroy() 69 drv = (RsdShader*)pv->mHal.drv; in rsdProgramVertexDestroy()
|
D | rsdShaderCache.h | 40 void setActiveVertex(RsdShader *pv) { in setActiveVertex() argument 42 mVertex = pv; in setActiveVertex()
|
D | rsdRuntimeStubs.cpp | 107 static void SC_BindProgramVertex(ProgramVertex *pv) { in SC_BindProgramVertex() argument 109 rsrBindProgramVertex(rsc, sc, pv); in SC_BindProgramVertex()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 265 final float pv = b * (1.0f - s); in HSBtoColor() local 273 blue = pv; in HSBtoColor() 278 blue = pv; in HSBtoColor() 281 red = pv; in HSBtoColor() 286 red = pv; in HSBtoColor() 292 green = pv; in HSBtoColor() 297 green = pv; in HSBtoColor()
|
/frameworks/base/graphics/java/android/renderscript/ |
D | ProgramVertex.java | 122 ProgramVertex pv = new ProgramVertex(id, mRS); in create() local 123 initProgram(pv); in create() 124 return pv; in create()
|
D | ProgramVertexFixedFunction.java | 93 ProgramVertexFixedFunction pv = new ProgramVertexFixedFunction(id, mRS); in create() local 94 initProgram(pv); in create() 95 return pv; in create()
|
D | RenderScript.java | 157 native void rsnContextBindProgramVertex(int con, int pv); in rsnContextBindProgramVertex() argument 158 synchronized void nContextBindProgramVertex(int pv) { in nContextBindProgramVertex() argument 160 rsnContextBindProgramVertex(mContext, pv); in nContextBindProgramVertex() 531 native void rsnProgramBindConstants(int con, int pv, int slot, int mID); in rsnProgramBindConstants() argument 532 synchronized void nProgramBindConstants(int pv, int slot, int mID) { in nProgramBindConstants() argument 534 rsnProgramBindConstants(mContext, pv, slot, mID); in nProgramBindConstants()
|
/frameworks/base/libs/rs/ |
D | rsProgramVertex.cpp | 194 ProgramVertex *pv = new ProgramVertex(rsc, shaderString.string(), in init() local 198 pv->bindAllocation(rsc, alloc, 0); in init() 201 mDefault.set(pv); in init() 232 ProgramVertex *pv = new ProgramVertex(rsc, shaderText, shaderLength, params, paramLength); in rsi_ProgramVertexCreate() local 233 pv->incUserRef(); in rsi_ProgramVertexCreate() 234 return pv; in rsi_ProgramVertexCreate()
|
D | rs_hal.h | 172 bool (*init)(const Context *rsc, const ProgramVertex *pv, 174 void (*setActive)(const Context *rsc, const ProgramVertex *pv); 175 void (*destroy)(const Context *rsc, const ProgramVertex *pv);
|
D | rsContext.cpp | 516 void Context::setProgramVertex(ProgramVertex *pv) { in setProgramVertex() argument 518 if (pv == NULL) { in setProgramVertex() 521 mVertex.set(pv); in setProgramVertex() 629 ProgramVertex *pv = static_cast<ProgramVertex *>(vpv); in rsi_ContextBindProgramVertex() local 630 rsc->setProgramVertex(pv); in rsi_ContextBindProgramVertex()
|
D | rsScriptC_LibGL.cpp | 69 void rsrBindProgramVertex(Context *rsc, Script *sc, ProgramVertex *pv) { in rsrBindProgramVertex() argument 70 CHECK_OBJ_OR_NULL(pv); in rsrBindProgramVertex() 71 rsc->setProgramVertex(pv); in rsrBindProgramVertex()
|
/frameworks/base/libs/rs/scriptc/ |
D | rs_graphics.rsh | 89 * @param pv 92 rsgBindProgramVertex(rs_program_vertex pv);
|