Lines Matching refs:usages
30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages, in Allocation() argument
36 mHal.state.usageFlags = usages; in Allocation()
63 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, in createAllocation() argument
75 if (usages & RS_ALLOCATION_USAGE_OEM) { in createAllocation()
77 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr); in createAllocation()
84 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocation()
721 uint32_t usages, uintptr_t ptr) { in rsi_AllocationCreateTyped() argument
722 …Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps… in rsi_AllocationCreateTyped()
732 const void *data, size_t sizeBytes, uint32_t usages) { in rsi_AllocationCreateFromBitmap() argument
735 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mipmaps, usages, 0); in rsi_AllocationCreateFromBitmap()
754 … const void *data, size_t sizeBytes, uint32_t usages) { in rsi_AllocationCubeCreateFromBitmap() argument
760 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mipmaps, usages, 0); in rsi_AllocationCubeCreateFromBitmap()