Lines Matching defs:rsc
48 static void Shutdown(Context *rsc);
49 static void SetPriority(const Context *rsc, int32_t priority);
179 Context *rsc = (Context*) c;
180 rsc->mHal.funcs = FunctionTable;
187 rsc->mHal.drv = dc;
189 dc->mCpuRef = RsdCpuReference::create(rsc, version_major, version_minor,
209 rsc->mHal.funcs.allocRuntimeMem,
210 rsc->mHal.funcs.freeRuntimeMem);
218 void SetPriority(const Context *rsc, int32_t priority) {
219 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
225 rsdGLSetPriority(rsc, priority);
230 void Shutdown(Context *rsc) {
231 RsdHal *dc = (RsdHal *)rsc->mHal.drv;
233 rsc->mHal.drv = NULL;