Lines Matching refs:rsc
25 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { in Sampler() argument
30 Sampler::Sampler(Context *rsc, in Sampler() argument
36 float aniso) : ObjectBase(rsc) { in Sampler()
71 void Sampler::serialize(Context *rsc, OStream *stream) const { in serialize() argument
74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { in createFromStream() argument
78 ObjectBaseRef<Sampler> Sampler::getSampler(Context *rsc, in getSampler() argument
87 for (uint32_t ct = 0; ct < rsc->mStateSampler.mAllSamplers.size(); ct++) { in getSampler()
88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct]; in getSampler()
101 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Sampler), 0); in getSampler()
103 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation"); in getSampler()
107 Sampler *s = new (allocMem) Sampler(rsc, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in getSampler()
116 rsc->mStateSampler.mAllSamplers.push(s); in getSampler()
135 RsSampler rsi_SamplerCreate(Context * rsc, in rsi_SamplerCreate() argument
142 ObjectBaseRef<Sampler> s = Sampler::getSampler(rsc, magFilter, minFilter, in rsi_SamplerCreate()