Lines Matching refs:mHal
45 pv->mHal.drv = drv; in rsdProgramVertexInit()
51 for (uint32_t ct=0; ct < p->mHal.state.texturesCount; ct++) { in SyncProgramConstants()
52 const Allocation *a = p->mHal.state.textures[ct]; in SyncProgramConstants()
56 DrvAllocation *drvAlloc = (DrvAllocation *)a->mHal.drv; in SyncProgramConstants()
64 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexSetActive()
67 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive()
71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexDestroy()
74 if(pv->mHal.drv) { in rsdProgramVertexDestroy()
75 drv = (RsdShader*)pv->mHal.drv; in rsdProgramVertexDestroy()
92 pf->mHal.drv = drv; in rsdProgramFragmentInit()
98 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramFragmentSetActive()
101 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); in rsdProgramFragmentSetActive()
105 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramFragmentDestroy()
108 if(pf->mHal.drv) { in rsdProgramFragmentDestroy()
109 drv = (RsdShader*)pf->mHal.drv; in rsdProgramFragmentDestroy()