Lines Matching defs:usages
30 Allocation::Allocation(Context *rsc, const Type *type, uint32_t usages,
36 mHal.state.usageFlags = usages;
63 Allocation * Allocation::createAllocation(Context *rsc, const Type *type, uint32_t usages,
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, 0);
754 const void *data, size_t sizeBytes, uint32_t usages) {
760 RsAllocation vTexAlloc = rsi_AllocationCreateTyped(rsc, vtype, mipmaps, usages, 0);