Lines Matching defs:rsc
32 RsdMeshObj::RsdMeshObj(const Context *rsc, const Mesh *rsMesh) {
71 bool RsdMeshObj::init(const Context *rsc) {
73 updateGLPrimitives(rsc);
128 void RsdMeshObj::renderPrimitiveRange(const Context *rsc, uint32_t primIndex,
131 rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid mesh or parameters");
139 rsdAllocationSyncAll(rsc, alloc, RS_ALLOCATION_USAGE_SCRIPT);
159 va.setup(rsc);
165 rsdAllocationSyncAll(rsc, idxAlloc, RS_ALLOCATION_USAGE_SCRIPT);
181 rsdGLCheckError(rsc, "Mesh::renderPrimitiveRange");
184 void RsdMeshObj::updateGLPrimitives(const Context *rsc) {
194 default: rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid mesh primitive"); break;