Home | History | Annotate | Download | only in cpp

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) :
75 void Allocation::validateIsInt32() {
80 ALOGE("32 bit integer source does not match allocation type %i", dt);
83 void Allocation::validateIsInt16() {
88 ALOGE("16 bit integer source does not match allocation type %i", dt);
91 void Allocation::validateIsInt8() {
96 ALOGE("8 bit integer source does not match allocation type %i", dt);
99 void Allocation::validateIsFloat32() {
104 ALOGE("32 bit float source does not match allocation type %i", dt);
107 void Allocation::validateIsObject() {
121 ALOGE("Object source does not match allocation type %i", dt);
124 void Allocation::updateFromNative() {
137 void Allocation::syncAll(RsAllocationUsageType srcLocation) {
152 void Allocation::ioSendOutput() {
162 void Allocation::ioGetInput() {
172 void Allocation::generateMipmaps() {
176 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const void *data) {
192 void Allocation::copy1DRangeTo(uint32_t off, size_t count, void *data) {
207 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data,
216 void Allocation::copy1DFrom(const void* data) {
220 void Allocation::copy1DTo(void* data) {
225 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) {
230 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Updated region larger than allocation.");
235 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
244 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
245 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff) {
253 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
262 void Allocation::copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
270 void Allocation::copy2DStridedFrom(const void* data, size_t stride) {
274 void Allocation::copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
282 void Allocation::copy2DStridedTo(void* data, size_t stride) {
286 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w,
292 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Updated region larger than allocation.");
297 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w,
306 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d,
307 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff, uint32_t dataZoff) {
315 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
322 rs->throwError(RS_ERROR_RUNTIME_ERROR, "Allocation creation failed");
325 return new Allocation(id, rs, type, usage);
328 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
337 rs->throwError(RS_ERROR_RUNTIME_ERROR, "Allocation creation failed");
340 return new Allocation(id, rs, type, usage);
343 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
348 sp<Allocation> Allocation::createSized(sp<RS> rs, sp<const Element> e,
357 sp<Allocation> Allocation::createSized2D(sp<RS> rs, sp<const Element> e,