Lines Matching refs:usages

28 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,  in Allocation()  argument
34 mHal.state.usageFlags = usages; in Allocation()
61 Allocation * Allocation::createAllocationStrided(Context *rsc, const Type *type, uint32_t usages, in createAllocationStrided() argument
74 if (usages & RS_ALLOCATION_USAGE_OEM) { in createAllocationStrided()
76 a = new (allocMem) Allocation(rsc, type, usages, mc, nullptr); in createAllocationStrided()
83 } else if (usages & RS_ALLOCATION_USAGE_INCREMENTAL_SUPPORT){ in createAllocationStrided()
84 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocationStrided()
88 a = new (allocMem) Allocation(rsc, type, usages, mc, ptr); in createAllocationStrided()
101 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages, in createAllocation() argument
103 return Allocation::createAllocationStrided(rsc, type, usages, mc, ptr, kMinimumRSAlignment); in createAllocation()
741 uint32_t usages, uintptr_t ptr) { in rsi_AllocationCreateTyped() argument
742 …Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps… in rsi_AllocationCreateTyped()
752 uint32_t usages, uintptr_t ptr, in rsi_AllocationCreateStrided() argument
754 …ion * alloc = Allocation::createAllocationStrided(rsc, static_cast<Type *>(vtype), usages, mipmaps, in rsi_AllocationCreateStrided()
765 const void *data, size_t sizeBytes, uint32_t usages) { in rsi_AllocationCreateFromBitmap() argument
768 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mipmaps, usages, 0); in rsi_AllocationCreateFromBitmap()
787 … const void *data, size_t sizeBytes, uint32_t usages) { in rsi_AllocationCubeCreateFromBitmap() argument
793 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mipmaps, usages, 0); in rsi_AllocationCubeCreateFromBitmap()