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

/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/cpp/
H A DAllocation.cpp23 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) : function in class:Allocation
75 void Allocation::validateIsInt32() {
83 void Allocation::validateIsInt16() {
91 void Allocation::validateIsInt8() {
99 void Allocation::validateIsFloat32() {
107 void Allocation::validateIsObject() {
124 void Allocation
[all...]
H A DrsCppStructs.h44 class Allocation;
281 * from RenderScript kernels. An Allocation provides the backing store for a
284 * An Allocation also contains a set of usage flags that denote how the
285 * Allocation could be used. For example, an Allocation may have usage flags
288 * syncAll(int) in order to ensure that different users of the Allocation have
289 * a consistent view of memory. For example, in the case where an Allocation is
294 class Allocation : public BaseObj { class in namespace:android::RSC
298 sp<Allocation> mAdaptedAllocation;
319 Allocation(voi
[all...]
/frameworks/rs/
H A DrsAllocation.h46 class Allocation : public ObjectBase { class in namespace:android::renderscript
82 } lod[android::renderscript::Allocation::MAX_LOD];
101 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
104 virtual ~Allocation();
111 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len);
139 static Allocation *createFromStream(Context *rsc, IStream *stream);
172 bool hasSameDims(const Allocation *Other) const;
186 const android::renderscript::Allocation *alloc;
198 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
H A DrsAllocation.cpp30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, function in class:Allocation
44 void Allocation::operator delete(void* ptr) {
46 Allocation *a = (Allocation*) ptr;
51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
53 // Allocation objects must use allocator specified by the driver
54 void* allocMem = rsc->mHal.funcs.allocRuntimeMem(sizeof(Allocation), 0);
57 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation");
[all...]
/frameworks/rs/driver/runtime/
H A Drs_structs.h8 * internal members of the C++ class Allocation owned by librs. Unfortunately,
27 typedef struct Allocation { struct
57 } lod[16/*android::renderscript::Allocation::MAX_LOD*/];
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java32 * and from RenderScript kernels. An Allocation provides the backing store for
35 * <p>An Allocation also contains a set of usage flags that denote how the
36 * Allocation could be used. For example, an Allocation may have usage flags
40 * {@link android.support.v8.renderscript.Allocation#syncAll} in
41 * order to ensure that different users of the Allocation have a consistent view
42 * of memory. For example, in the case where an Allocation is used as the output
44 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the
47 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For
59 public class Allocation extend class in inherits:BaseObj
221 Allocation(int id, RenderScript rs, Type t, int usage) { method in class:Allocation
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java30 * and from RenderScript kernels. An Allocation provides the backing store for
33 * <p>An Allocation also contains a set of usage flags that denote how the
34 * Allocation could be used. For example, an Allocation may have usage flags
37 * different usages using {@link android.renderscript.Allocation#syncAll} in
38 * order to ensure that different users of the Allocation have a consistent view
39 * of memory. For example, in the case where an Allocation is used as the output
41 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the
44 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For
54 public class Allocation extend class in inherits:BaseObj
304 Allocation(long id, RenderScript rs, Type t, int usage) { method in class:Allocation
[all...]

Completed in 180 milliseconds