Searched refs:usages (Results 1 - 8 of 8) sorted by relevance

/frameworks/rs/cpp/
H A DScript.cpp57 void Script::FieldBase::init(sp<RS> rs, uint32_t dimx, uint32_t usages) { argument
58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
H A DrsCppStructs.h293 * Sampler. A developer must synchronize across these different usages using
363 * Propagate changes from one usage of the Allocation to other usages of the Allocation.
1437 void init(sp<RS> rs, uint32_t dimx, uint32_t usages = 0);
/frameworks/rs/
H A DrsAllocation.cpp30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, argument
36 mHal.state.usageFlags = usages;
63 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument
75 if (usages & RS_ALLOCATION_USAGE_OEM) {
77 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr);
84 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr);
721 uint32_t usages, uintptr_t ptr) {
722 Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps, (void*)ptr);
732 const void *data, size_t sizeBytes, uint32_t usages) {
735 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mipmaps, usages,
719 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
730 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
752 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
[all...]
H A DrsAllocation.h111 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages,
229 Allocation(Context *rsc, const Type *, uint32_t usages, RsAllocationMipmapControl mc, void *ptr);
H A Drs.spec60 param uint32_t usages
70 param uint32_t usages
79 param uint32_t usages
/frameworks/base/rs/java/android/renderscript/
H A DScript.java448 protected void init(RenderScript rs, int dimx, int usages) { argument
451 Allocation.USAGE_SCRIPT | usages);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScript.java434 protected void init(RenderScript rs, int dimx, int usages) { argument
435 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
/frameworks/rs/api/
H A Drs_object_types.spec114 These values are ORed together to specify which usages or memory spaces are

Completed in 1913 milliseconds