Home | History | Annotate | Download | only in rs

Lines Matching full:allocation

40     mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount];
44 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount];
46 mHal.state.textures = new Allocation*[mHal.state.texturesCount];
51 mHal.state.constants = new Allocation*[mHal.state.constantsCount];
139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) {
144 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation");
150 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation");
168 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) {
204 p->bindAllocation(rsc, static_cast<Allocation *>(constants), slot);
209 p->bindTexture(rsc, slot, static_cast<Allocation *>(a));