Lines Matching full:allocation
23 void * Allocation::getIDSafe() const {
27 void Allocation::updateCacheInfo(sp<const Type> t) {
40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) :
72 void Allocation::validateIsInt32() {
77 ALOGE("32 bit integer source does not match allocation type %i", dt);
80 void Allocation::validateIsInt16() {
85 ALOGE("16 bit integer source does not match allocation type %i", dt);
88 void Allocation::validateIsInt8() {
93 ALOGE("8 bit integer source does not match allocation type %i", dt);
96 void Allocation::validateIsFloat32() {
101 ALOGE("32 bit float source does not match allocation type %i", dt);
104 void Allocation::validateIsObject() {
118 ALOGE("Object source does not match allocation type %i", dt);
121 void Allocation::updateFromNative() {
134 void Allocation::syncAll(RsAllocationUsageType srcLocation) {
147 void Allocation::ioSendOutput() {
156 void Allocation::ioGetInput() {
165 void Allocation::generateMipmaps() {
169 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const void *data) {
184 void Allocation::copy1DRangeTo(uint32_t off, size_t count, void *data) {
198 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data,
207 void Allocation::copy1DFrom(const void* data) {
211 void Allocation::copy1DTo(void* data) {
216 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) {
221 ALOGE("Updated region larger than allocation.");
226 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
233 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
234 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff) {
242 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
249 void Allocation::copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
256 void Allocation::copy2DStridedFrom(const void* data, size_t stride) {
260 void Allocation::copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
267 void Allocation::copy2DStridedTo(void* data, size_t stride) {
306 android::sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
310 ALOGE("Allocation creation failed.");
313 return new Allocation(id, rs, type, usage);
316 android::sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
322 ALOGE("Allocation creation failed.");
324 return new Allocation(id, rs, type, usage);
327 android::sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
332 android::sp<Allocation> Allocation::createSized(sp<RS> rs, sp<const Element> e,
341 android::sp<Allocation> Allocation::createSized2D(sp<RS> rs, sp<const Element> e,