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

/frameworks/base/libs/hwui/utils/
H A DFatVector.h44 struct Allocation { struct in class:android::uirenderer::InlineStdAllocator
45 PREVENT_COPY_AND_ASSIGN(Allocation);
47 Allocation() {}; function in struct:android::uirenderer::InlineStdAllocator::Allocation
56 explicit InlineStdAllocator(Allocation& allocation)
79 Allocation& mAllocation;
101 typename InlineStdAllocator<T, SIZE>::Allocation mAllocation;
/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();
166 Allocation::Allocation( function in class:android::Allocation
177 Allocation::~Allocation()
246 memory = new Allocation(this, heap(), offset, size);
/frameworks/rs/cpp/
H A DAllocation.cpp20 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) : function in class:Allocation
76 void Allocation::validateIsInt64() {
84 void Allocation::validateIsInt32() {
92 void Allocation::validateIsInt16() {
100 void Allocation::validateIsInt8() {
108 void Allocation
[all...]
H A DrsCppStructs.h47 class Allocation;
560 * from RenderScript kernels. An Allocation provides the backing store for a
563 * An Allocation also contains a set of usage flags that denote how the
564 * Allocation could be used. For example, an Allocation may have usage flags
567 * syncAll(int) in order to ensure that different users of the Allocation have
568 * a consistent view of memory. For example, in the case where an Allocation is
573 class Allocation : public BaseObj { class in namespace:android::RSC
577 sp<Allocation> mAdaptedAllocation;
599 Allocation(voi
[all...]
/frameworks/rs/
H A DrsAllocation.h42 class Allocation : public ObjectBase { class in namespace:android::renderscript
73 // Allocation adapter state
74 const Allocation *baseAlloc;
91 } lod[android::renderscript::Allocation::MAX_LOD];
111 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
114 static Allocation * createAllocationStrided(Context *rsc, const Type *, uint32_t usages,
117 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type);
120 virtual ~Allocation();
127 void copyRange1D(Context *rsc, const Allocation *sr
[all...]
H A DrsAllocation.cpp28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, function in class:android::renderscript::Allocation
42 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) function in class:android::renderscript::Allocation
54 void Allocation::operator delete(void* ptr) {
56 Allocation *a = (Allocation*) ptr;
61 Allocation * Allocation
[all...]
/frameworks/rs/driver/runtime/
H A Drs_structs.h11 * internal members of the C++ class Allocation owned by librs. Unfortunately,
30 typedef struct Allocation { struct
52 // Allocation adapter state
69 } lod[16/*android::renderscript::Allocation::MAX_LOD*/];
/frameworks/base/rs/java/android/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
39 * different usages using {@link android.renderscript.Allocation#syncAll} in
40 * order to ensure that different users of the Allocation have a consistent view
41 * of memory. For example, in the case where an Allocation is used as the output
43 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the
46 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For
57 public class Allocation extend class in inherits:BaseObj
382 Allocation(long id, RenderScript rs, Type t, int usage) { method in class:Allocation
424 Allocation(long id, RenderScript rs, Type t, boolean owningType, int usage, MipmapControl mips) { method in class:Allocation
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DAllocation.java31 * and from RenderScript kernels. An Allocation provides the backing store for
34 * <p>An Allocation also contains a set of usage flags that denote how the
35 * Allocation could be used. For example, an Allocation may have usage flags
39 * {@link android.support.v8.renderscript.Allocation#syncAll} in
40 * order to ensure that different users of the Allocation have a consistent view
41 * of memory. For example, in the case where an Allocation is used as the output
43 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the
46 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For
58 public class Allocation extend class in inherits:BaseObj
350 Allocation(long id, RenderScript rs, Type t, int usage) { method in class:Allocation
[all...]

Completed in 151 milliseconds