Lines Matching refs:Sampler
24 Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { in Sampler() function in android::renderscript::Sampler
29 Sampler::Sampler(Context *rsc, in Sampler() function in android::renderscript::Sampler
46 Sampler::~Sampler() { in ~Sampler()
50 void Sampler::preDestroy() const { in preDestroy()
60 void Sampler::bindToContext(SamplerState *ss, uint32_t slot) { in bindToContext()
65 void Sampler::unbindFromContext(SamplerState *ss) { in unbindFromContext()
71 void Sampler::serialize(Context *rsc, OStream *stream) const { in serialize()
74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
78 ObjectBaseRef<Sampler> Sampler::getSampler(Context *rsc, in getSampler()
85 ObjectBaseRef<Sampler> returnRef; in getSampler()
88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct]; in getSampler()
101 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Sampler), 0); in getSampler()
107 Sampler *s = new (allocMem) Sampler(rsc, magFilter, minFilter, wrapS, wrapT, wrapR, aniso); in getSampler()
122 void Sampler::operator delete(void* ptr) { in operator delete()
124 Sampler *s = (Sampler*) ptr; in operator delete()
139 ObjectBaseRef<Sampler> s = Sampler::getSampler(rsc, magFilter, minFilter, in rsi_SamplerCreate()