Lines Matching refs:Allocation
26 Allocation::Allocation(Context *rsc, const Type *type) : ObjectBase(rsc)
32 LOGE("Allocation::Allocation, alloc failure");
36 Allocation::Allocation(Context *rsc, const Type *type, void *bmp,
47 void Allocation::init(Context *rsc, const Type *type)
76 Allocation::~Allocation()
97 void Allocation::setCpuWritable(bool)
101 void Allocation::setGpuWritable(bool)
105 void Allocation::setCpuReadable(bool)
109 void Allocation::setGpuReadable(bool)
113 bool Allocation::fixAllocation()
118 void Allocation::deferedUploadToTexture(const Context *rsc, bool genMipmap, uint32_t lodOffset)
127 void Allocation::uploadToTexture(const Context *rsc)
175 void Allocation::deferedUploadToBufferObject(const Context *rsc)
181 void Allocation::uploadToBufferObject(const Context *rsc)
206 void Allocation::uploadCheck(const Context *rsc)
220 void Allocation::data(const void *data, uint32_t sizeBytes)
224 LOGE("Allocation::data called with mismatched size expected %i, got %i", size, sizeBytes);
232 void Allocation::read(void *data)
237 void Allocation::subData(uint32_t xoff, uint32_t count, const void *data, uint32_t sizeBytes)
245 LOGE("Allocation::subData called with mismatched size expected %i, got %i", size, sizeBytes);
254 void Allocation::subData(uint32_t xoff, uint32_t yoff,
266 rsAssert(!"Allocation::subData called with mismatched size");
280 void Allocation::subData(uint32_t xoff, uint32_t yoff, uint32_t zoff,
285 void Allocation::addProgramToDirty(const Program *p)
290 void Allocation::removeProgramToDirty(const Program *p)
301 void Allocation::dumpLOGV(const char *prefix) const
311 LOGV("%s allocation ptr=%p mCpuWrite=%i, mCpuRead=%i, mGpuWrite=%i, mGpuRead=%i",
314 LOGV("%s allocation mIsTexture=%i mTextureID=%i, mIsVertexBuffer=%i, mBufferID=%i",
319 void Allocation::sendDirty() const
337 Allocation * alloc = new Allocation(rsc, type);
353 Allocation *alloc = static_cast<Allocation *>(va);
359 Allocation *alloc = static_cast<Allocation *>(va);
519 Allocation * alloc = new Allocation(rsc, type, bmp, callbackData, callback);
542 Allocation *texAlloc = static_cast<Allocation *>(vTexAlloc);
544 LOGE("Memory allocation failure");
594 Allocation *a = static_cast<Allocation *>(va);
600 Allocation *a = static_cast<Allocation *>(va);
606 Allocation *a = static_cast<Allocation *>(va);
612 Allocation *a = static_cast<Allocation *>(va);