/frameworks/native/libs/binder/ |
H A D | MemoryDealer.cpp | 112 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 D | Allocation.cpp | 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) : 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 D | rsCppStructs.h | 43 class Allocation; 275 * from RenderScript kernels. An Allocation provides the backing store for a 278 * An Allocation also contains a set of usage flags that denote how the 279 * Allocation could be used. For example, an Allocation may have usage flags 282 * syncAll(int) in order to ensure that different users of the Allocation have 283 * a consistent view of memory. For example, in the case where an Allocation is 288 class Allocation : public BaseObj { class in namespace:android::RSC 292 sp<Allocation> mAdaptedAllocation; 313 Allocation(voi [all...] |
/frameworks/rs/ |
H A D | rsAllocation.h | 46 class Allocation : public ObjectBase { class in namespace:android::renderscript 82 } lod[android::renderscript::Allocation::MAX_LOD]; 99 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 102 virtual ~Allocation(); 109 void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len); 137 static Allocation *createFromStream(Context *rsc, IStream *stream); 178 const android::renderscript::Allocation *alloc; 190 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
|
H A D | rsAllocation.cpp | 30 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 D | rs_structs.h | 8 * internal members of the C++ class Allocation owned by librs. Unfortunately, 27 typedef struct Allocation { struct 53 } lod[16/*android::renderscript::Allocation::MAX_LOD*/];
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 32 * 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 218 Allocation(int id, RenderScript rs, Type t, int usage) { method in class:Allocation [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Allocation.java | 35 * and from RenderScript kernels. An Allocation provides the backing store for 38 * <p>An Allocation also contains a set of usage flags that denote how the 39 * Allocation could be used. For example, an Allocation may have usage flags 42 * different usages using {@link android.renderscript.Allocation#syncAll} in 43 * order to ensure that different users of the Allocation have a consistent view 44 * of memory. For example, in the case where an Allocation is used as the output 46 * {@link #syncAll syncAll(Allocation.USAGE_SCRIPT)} prior to launching the 49 * <p>An Allocation can be populated with the {@link #copyFrom} routines. For 59 public class Allocation extend class in inherits:BaseObj 247 Allocation(int id, RenderScript rs, Type t, int usage) { method in class:Allocation [all...] |