Lines Matching defs:Allocation

20 using android::RSC::Allocation;
24 void * Allocation::getIDSafe() const {
28 void Allocation::updateCacheInfo(const sp<const Type>& t) {
41 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) :
76 void Allocation::validateIsInt64() {
84 void Allocation::validateIsInt32() {
92 void Allocation::validateIsInt16() {
100 void Allocation::validateIsInt8() {
108 void Allocation::validateIsFloat32() {
116 void Allocation::validateIsFloat64() {
124 void Allocation::validateIsObject() {
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, const 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) {
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 const 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,
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 const 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(const sp<RS>& rs, const 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(const sp<RS>& rs, const 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(const sp<RS>& rs, const sp<const Type>& type,
457 sp<Allocation> Allocation::createSized(const sp<RS>& rs, const sp<const Element>& e,
466 sp<Allocation> Allocation::createSized2D(const sp<RS>& rs, const sp<const Element>& e,
476 void Allocation::ioSendOutput() {
486 void Allocation::ioGetInput() {
499 sp<Surface> Allocation::getSurface() {
510 void Allocation::setSurface(const sp<Surface>& s) {