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];
150 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) {
155 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation");
161 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation");
179 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) {
215 p->bindAllocation(rsc, static_cast<Allocation *>(constants), slot);
220 p->bindTexture(rsc, slot, static_cast<Allocation *>(a));