Lines Matching refs:pf
45 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() argument
47 CHECK_OBJ(pf); in rsrBindTexture()
48 pf->bindTexture(rsc, slot, a); in rsrBindTexture()
51 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() argument
53 CHECK_OBJ(pf); in rsrBindConstant()
54 pf->bindAllocation(rsc, a, slot); in rsrBindConstant()
63 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() argument
66 pf->bindSampler(rsc, slot, s); in rsrBindSampler()
74 void rsrBindProgramFragment(Context *rsc, ProgramFragment *pf) { in rsrBindProgramFragment() argument
75 CHECK_OBJ_OR_NULL(pf); in rsrBindProgramFragment()
76 rsc->setProgramFragment(pf); in rsrBindProgramFragment()
132 void rsrPfConstantColor(Context *rsc, ProgramFragment *pf, in rsrPfConstantColor() argument
134 CHECK_OBJ(pf); in rsrPfConstantColor()
135 pf->setConstantColor(rsc, r, g, b, a); in rsrPfConstantColor()
196 ProgramFragment *pf = rsc->getProgramFragment(); in rsrColor() local
197 pf->setConstantColor(rsc, r, g, b, a); in rsrColor()