Home | History | Annotate | Download | only in driver

Lines Matching refs:pf

83 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf,
87 RsdShader *drv = new RsdShader(pf, GL_FRAGMENT_SHADER, shader, shaderLen,
89 pf->mHal.drv = drv;
94 void rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) {
97 SyncProgramConstants(rsc, pf);
98 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv);
101 void rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) {
105 if(pf->mHal.drv) {
106 drv = (RsdShader*)pf->mHal.drv;
108 ALOGV("Destroying fragment shader with ID %u", (uint32_t)pf);