Home
last modified time | relevance | path

Searched refs:pv (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/rs/driver/
DrsdProgram.cpp36 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()
DrsdShaderCache.h40 void setActiveVertex(RsdShader *pv) { in setActiveVertex() argument
42 mVertex = pv; in setActiveVertex()
DrsdRuntimeStubs.cpp107 static void SC_BindProgramVertex(ProgramVertex *pv) { in SC_BindProgramVertex() argument
109 rsrBindProgramVertex(rsc, sc, pv); in SC_BindProgramVertex()
/frameworks/base/graphics/java/android/graphics/
DColor.java265 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/
DProgramVertex.java122 ProgramVertex pv = new ProgramVertex(id, mRS); in create() local
123 initProgram(pv); in create()
124 return pv; in create()
DProgramVertexFixedFunction.java93 ProgramVertexFixedFunction pv = new ProgramVertexFixedFunction(id, mRS); in create() local
94 initProgram(pv); in create()
95 return pv; in create()
DRenderScript.java157 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/
DrsProgramVertex.cpp194 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()
Drs_hal.h172 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);
DrsContext.cpp516 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()
DrsScriptC_LibGL.cpp69 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/
Drs_graphics.rsh89 * @param pv
92 rsgBindProgramVertex(rs_program_vertex pv);