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.java384 protected void init(RenderScript rs, int dimx, int usages) { argument
385 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScript.java442 protected void init(RenderScript rs, int dimx, int usages) { argument
443 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;
51 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, argument
61 Allocation *a = new (allocMem) Allocation(rsc, type, usages, mc, ptr);
637 uint32_t usages, uintptr_t ptr) {
638 Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps, (void*)ptr);
648 const void *data, size_t sizeBytes, uint32_t usages) {
651 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mipmaps, usages, 0);
670 const void *data, size_t sizeBytes, uint32_t usages) {
676 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mipmaps, usages,
635 rsi_AllocationCreateTyped(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, uint32_t usages, uintptr_t ptr) argument
646 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
668 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mipmaps, const void *data, size_t sizeBytes, uint32_t usages) argument
[all...]

Completed in 408 milliseconds