Searched refs:AllocationMethod (Results 1 – 12 of 12) sorted by relevance
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | BuddyMemoryAllocatorTests.cpp | 80 ASSERT_EQ(invalidAllocation.GetInfo().mMethod, AllocationMethod::kInvalid); in TEST() 85 ASSERT_EQ(allocation1.GetInfo().mMethod, AllocationMethod::kSubAllocated); in TEST() 91 ASSERT_EQ(invalidAllocation.GetInfo().mMethod, AllocationMethod::kInvalid); in TEST() 113 ASSERT_EQ(invalidAllocation.GetInfo().mMethod, AllocationMethod::kInvalid); in TEST() 117 ASSERT_EQ(invalidAllocation.GetInfo().mMethod, AllocationMethod::kInvalid); in TEST() 122 ASSERT_EQ(allocation1.GetInfo().mMethod, AllocationMethod::kSubAllocated); in TEST() 129 ASSERT_EQ(allocation2.GetInfo().mMethod, AllocationMethod::kSubAllocated); in TEST() 162 ASSERT_EQ(allocation1.GetInfo().mMethod, AllocationMethod::kSubAllocated); in TEST() 169 ASSERT_EQ(allocation2.GetInfo().mMethod, AllocationMethod::kSubAllocated); in TEST() 177 ASSERT_EQ(allocation3.GetInfo().mMethod, AllocationMethod::kSubAllocated); in TEST() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | ResourceAllocatorManagerD3D12.cpp | 205 if (subAllocation.GetInfo().mMethod != AllocationMethod::kInvalid) { in AllocateMemory() 214 if (directAllocation.GetInfo().mMethod != AllocationMethod::kInvalid) { in AllocateMemory() 225 if (allocation.GetInfo().mMethod == AllocationMethod::kSubAllocated) { in Tick() 233 if (allocation.GetInfo().mMethod == AllocationMethod::kInvalid) { in DeallocateMemory() 242 if (allocation.GetInfo().mMethod == AllocationMethod::kDirect) { in DeallocateMemory() 254 ASSERT(allocation.GetInfo().mMethod == AllocationMethod::kSubAllocated); in FreeMemory() 311 if (allocation.GetInfo().mMethod == AllocationMethod::kInvalid) { in CreatePlacedResource() 398 info.mMethod = AllocationMethod::kDirect; in CreateCommittedResource()
|
D | ResourceHeapAllocationD3D12.cpp | 28 ASSERT((info.mMethod == AllocationMethod::kExternal) == (heap == nullptr)); in ResourceHeapAllocation()
|
D | StagingBufferD3D12.cpp | 59 if (mUploadHeap.GetInfo().mMethod == AllocationMethod::kInvalid) { in ~StagingBuffer()
|
D | BufferD3D12.h | 42 bool CheckAllocationMethodForTesting(AllocationMethod allocationMethod) const;
|
D | TextureD3D12.cpp | 575 info.mMethod = AllocationMethod::kExternal; in InitializeAsExternalTexture() 637 info.mMethod = AllocationMethod::kExternal; in InitializeAsSwapChainTexture() 737 if (mResourceAllocation.GetInfo().mMethod != AllocationMethod::kExternal) { in TrackUsageAndTransitionNow() 891 if (mResourceAllocation.GetInfo().mMethod != AllocationMethod::kExternal) { in TrackUsageAndGetResourceBarrierForPass()
|
D | BufferD3D12.cpp | 398 bool Buffer::CheckAllocationMethodForTesting(AllocationMethod allocationMethod) const { in CheckAllocationMethodForTesting()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | ResourceMemoryAllocatorVk.cpp | 156 if (subAllocation.GetInfo().mMethod != AllocationMethod::kInvalid) { in Allocate() 178 info.mMethod = AllocationMethod::kDirect; in Allocate() 187 case AllocationMethod::kInvalid: in Deallocate() 192 case AllocationMethod::kDirect: { in Deallocate() 204 case AllocationMethod::kSubAllocated: in Deallocate() 221 ASSERT(allocation.GetInfo().mMethod == AllocationMethod::kSubAllocated); in Tick()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | ResourceMemoryAllocation.h | 26 enum class AllocationMethod { enum 49 AllocationMethod mMethod = AllocationMethod::kInvalid;
|
D | ResourceMemoryAllocation.cpp | 32 ASSERT(mInfo.mMethod != AllocationMethod::kInvalid); in GetResourceHeap() 37 ASSERT(mInfo.mMethod != AllocationMethod::kInvalid); in GetOffset()
|
D | BuddyMemoryAllocator.cpp | 79 info.mMethod = AllocationMethod::kSubAllocated; in Allocate() 91 ASSERT(info.mMethod == AllocationMethod::kSubAllocated); in Deallocate()
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
D | D3D12ResidencyTests.cpp | 95 dawn_native::AllocationMethod allocationMethod) const { in CheckAllocationMethod() 131 CheckAllocationMethod(bufferSet1[i], dawn_native::AllocationMethod::kSubAllocated)); in TEST_P() 169 EXPECT_TRUE(CheckAllocationMethod(bufferSet1[i], dawn_native::AllocationMethod::kDirect)); in TEST_P()
|