Lines Matching defs: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() {
83 void Allocation::validateIsInt16() {
91 void Allocation::validateIsInt8() {
99 void Allocation::validateIsFloat32() {
107 void Allocation::validateIsObject() {
124 void Allocation::updateFromNative() {
137 void Allocation::syncAll(RsAllocationUsageType srcLocation) {
152 void Allocation::ioSendOutput() {
162 void Allocation::ioGetInput() {
172 void * Allocation::getPointer(size_t *stride) {
175 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Allocation does not support USAGE_SHARED.");
188 mRS->throwError(RS_ERROR_RUNTIME_ERROR, "Allocation lock failed");
194 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const void *data) {
210 void Allocation::copy1DRangeTo(uint32_t off, size_t count, void *data) {
225 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data,
234 void Allocation::copy1DFrom(const void* data) {
238 void Allocation::copy1DTo(void* data) {
243 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) {
253 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
262 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
263 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff) {
271 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
280 void Allocation::copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
288 void Allocation::copy2DStridedFrom(const void* data, size_t stride) {
292 void Allocation::copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h,
300 void Allocation::copy2DStridedTo(void* data, size_t stride) {
304 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w,
315 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w,
324 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t h, uint32_t d,
325 sp<const Allocation> data, uint32_t dataXoff, uint32_t dataYoff, uint32_t dataZoff) {
333 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
340 rs->throwError(RS_ERROR_RUNTIME_ERROR, "Allocation creation failed");
343 return new Allocation(id, rs, type, usage);
346 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
355 rs->throwError(RS_ERROR_RUNTIME_ERROR, "Allocation creation failed");
358 return new Allocation(id, rs, type, usage);
361 sp<Allocation> Allocation::createTyped(sp<RS> rs, sp<const Type> type,
366 sp<Allocation> Allocation::createSized(sp<RS> rs, sp<const Element> e,
375 sp<Allocation> Allocation::createSized2D(sp<RS> rs, sp<const Element> e,