Home | History | Annotate | Download | only in rs

Lines Matching refs:pf

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