Lines Matching refs:rsc
39 bool rsdProgramVertexInit(const Context *rsc, const ProgramVertex *pv, in rsdProgramVertexInit() argument
50 static void SyncProgramConstants(const Context *rsc, const Program *p) { in SyncProgramConstants() argument
58 rsdAllocationSyncAll(rsc, a, RS_ALLOCATION_USAGE_SCRIPT); in SyncProgramConstants()
63 void rsdProgramVertexSetActive(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexSetActive() argument
64 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexSetActive()
66 SyncProgramConstants(rsc, pv); in rsdProgramVertexSetActive()
70 void rsdProgramVertexDestroy(const Context *rsc, const ProgramVertex *pv) { in rsdProgramVertexDestroy() argument
71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexDestroy()
76 if (rsc->props.mLogShaders) { in rsdProgramVertexDestroy()
86 bool rsdProgramFragmentInit(const Context *rsc, const ProgramFragment *pf, in rsdProgramFragmentInit() argument
97 void rsdProgramFragmentSetActive(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentSetActive() argument
98 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramFragmentSetActive()
100 SyncProgramConstants(rsc, pf); in rsdProgramFragmentSetActive()
104 void rsdProgramFragmentDestroy(const Context *rsc, const ProgramFragment *pf) { in rsdProgramFragmentDestroy() argument
105 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramFragmentDestroy()
110 if (rsc->props.mLogShaders) { in rsdProgramFragmentDestroy()