Searched defs:usages (Results 1 - 4 of 4) 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);
/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/
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...]

Completed in 1634 milliseconds