Searched defs:Allocation (Results 1 - 10 of 10) sorted by relevance

/frameworks/rs/cpp/
H A DAllocation.h30 class Allocation : public BaseObj { class in namespace:android::renderscriptCpp
34 android::sp<Allocation> mAdaptedAllocation;
56 Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage);
94 void copy1DRangeFrom(uint32_t off, size_t count, const Allocation *data, uint32_t dataOff);
105 const Allocation *data, size_t dataLen,
115 static sp<Allocation> createTyped(RenderScript *rs, sp<const Type> type,
117 static sp<Allocation> createTyped(RenderScript *rs, sp<const Type> type,
120 static sp<Allocation> createTyped(RenderScript *rs, sp<const Type> type,
122 static sp<Allocation> createSized(RenderScript *rs, sp<const Element> e, size_t count,
H A DAllocation.cpp25 #include "Allocation.h"
30 void * Allocation::getIDSafe() const {
37 void Allocation::updateCacheInfo(sp<const Type> t) {
50 Allocation::Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage) : function in class:Allocation
80 void Allocation::validateIsInt32() {
88 void Allocation::validateIsInt16() {
96 void Allocation::validateIsInt8() {
104 void Allocation::validateIsFloat32() {
112 void Allocation
[all...]
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp112 class Allocation : public MemoryBase { class in namespace:android
114 Allocation(const sp<MemoryDealer>& dealer,
116 virtual ~Allocation();
164 Allocation::Allocation( function in class:android::Allocation
175 Allocation::~Allocation()
244 memory = new Allocation(this, heap(), offset, size);
/frameworks/rs/
H A DrsAllocation.h40 class Allocation : public ObjectBase { class in namespace:android::renderscript
80 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
83 virtual ~Allocation();
90 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
118 static Allocation *createFromStream(Context *rsc, IStream *stream);
158 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
H A DrsAllocation.cpp28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, function in class:Allocation
41 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
43 Allocation *a = new Allocation(rsc, type, usages, mc, ptr);
46 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
54 void Allocation::updateCache() {
66 Allocation
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.h37 class Allocation : public ObjectBase { class in namespace:android::renderscript
77 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
80 virtual ~Allocation();
87 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
115 static Allocation *createFromStream(Context *rsc, IStream *stream);
149 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
H A DrsAllocation.cpp25 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, function in class:Allocation
38 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
40 Allocation *a = new Allocation(rsc, type, usages, mc, ptr);
43 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure");
51 void Allocation::updateCache() {
62 Allocation
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java57 * memory types. A {@link android.renderscript.Allocation#syncAll syncAll()}
61 * <p>Allocation data is uploaded in one of two primary ways. For simple
73 public class Allocation extends BaseObj { class in inherits:BaseObj
77 Allocation mAdaptedAllocation;
192 * Get the element of the type of the Allocation.
203 * Get the usage flags of the Allocation.
214 * Get the size of the Allocation in bytes.
216 * @return size of the Allocation in bytes.
236 Allocation(int id, RenderScript rs, Type t, int usage) { method in class:Allocation
330 * Get the type of the Allocation
[all...]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_structs.h8 * internal members of the C++ class Allocation owned by librs. Unfortunately,
27 typedef struct Allocation { struct
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DAllocation.java55 * memory types. A {@link android.renderscript.Allocation#syncAll syncAll()}
59 * <p>Allocation data is uploaded in one of two primary ways. For simple
71 public class Allocation extends BaseObj { class in inherits:BaseObj
75 Allocation mAdaptedAllocation;
152 * Get the element of the type of the Allocation.
163 * Get the usage flags of the Allocation.
174 * Get the size of the Allocation in bytes.
176 * @return size of the Allocation in bytes.
196 Allocation(int id, RenderScript rs, Type t, int usage) { method in class:Allocation
258 * Get the type of the Allocation
[all...]

Completed in 357 milliseconds