Home | History | Annotate | Download | only in cpp

Lines Matching full:allocation

24 void * Allocation::getIDSafe() const {
28 void Allocation::updateCacheInfo(sp<const Type> t) {
41 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) :
76 void Allocation::validateIsInt64() {
81 ALOGE("64 bit integer source does not match allocation type %i", dt);
84 void Allocation::validateIsInt32() {
89 ALOGE("32 bit integer source does not match allocation type %i", dt);
92 void Allocation::validateIsInt16() {
97 ALOGE("16 bit integer source does not match allocation type %i", dt);
100 void Allocation::validateIsInt8() {
105 ALOGE("8 bit integer source does not match allocation type %i", dt);
108 void Allocation::validateIsFloat32() {
113 ALOGE("32 bit float source does not match allocation type %i", dt);
116 void Allocation::validateIsFloat64() {
121 ALOGE("64 bit float source does not match allocation type %i", dt);
124 void Allocation::validateIsObject() {
138 ALOGE("Object source does not match allocation type %i", dt);
141 void Allocation::updateFromNative() {
153 void Allocation::syncAll(RsAllocationUsageType srcLocation) {
168 void * Allocation::getPointer(size_t *stride) {
171 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Allocation does not support USAGE_SHARED.");
184 mRS->throwError(RS_ERROR_RUNTIME_ERROR, "Allocation lock failed");
217 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const void *data) {
241 void Allocation::copy1DRangeTo(uint32_t off, size_t count, void *data) {
264 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data,
273 void Allocation::copy1DFrom(const void* data) {
277 void Allocation::copy1DTo(void* data) {
282 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) {
287 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Updated region larger than allocation.");
292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
312 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
313 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff) {
321 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
341 void Allocation::copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
349 void Allocation::copy2DStridedFrom(const void* data, size_t stride) {
353 void Allocation::copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
361 void Allocation::copy2DStridedTo(void* data, size_t stride) {
365 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w,
371 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Updated region larger than allocation.");
376 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w,
396 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d,
397 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff, uint32_t dataZoff) {
404 void Allocation::copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w,
424 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
431 rs->throwError(RS_ERROR_RUNTIME_ERROR, "Allocation creation failed");
434 return new Allocation(id, rs, type, usage);
437 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
446 rs->throwError(RS_ERROR_RUNTIME_ERROR, "Allocation creation failed");
449 return new Allocation(id, rs, type, usage);
452 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
457 sp<Allocation> Allocation::createSized(sp<RS> rs, sp<const Element> e,
466 sp<Allocation> Allocation::createSized2D(sp<RS> rs, sp<const Element> e,
476 void Allocation::ioSendOutput() {
486 void Allocation::ioGetInput() {
499 RSC::sp<Surface> Allocation::getSurface() {
512 void Allocation::setSurface(RSC::sp<Surface> s) {