Home
last modified time | relevance | path

Searched refs:mMethod (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DBuddyMemoryAllocatorTests.cpp80 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/
DResourceAllocatorManagerD3D12.cpp205 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()
DResourceHeapAllocationD3D12.cpp28 ASSERT((info.mMethod == AllocationMethod::kExternal) == (heap == nullptr)); in ResourceHeapAllocation()
DStagingBufferD3D12.cpp59 if (mUploadHeap.GetInfo().mMethod == AllocationMethod::kInvalid) { in ~StagingBuffer()
DTextureD3D12.cpp575 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()
DBufferD3D12.cpp399 return mResourceAllocation.GetInfo().mMethod == allocationMethod; in CheckAllocationMethodForTesting()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DResourceMemoryAllocatorVk.cpp156 if (subAllocation.GetInfo().mMethod != AllocationMethod::kInvalid) { in Allocate()
178 info.mMethod = AllocationMethod::kDirect; in Allocate()
184 switch (allocation->GetInfo().mMethod) { in Deallocate()
221 ASSERT(allocation.GetInfo().mMethod == AllocationMethod::kSubAllocated); in Tick()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DResourceMemoryAllocation.cpp32 ASSERT(mInfo.mMethod != AllocationMethod::kInvalid); in GetResourceHeap()
37 ASSERT(mInfo.mMethod != AllocationMethod::kInvalid); in GetOffset()
DBuddyMemoryAllocator.cpp79 info.mMethod = AllocationMethod::kSubAllocated; in Allocate()
91 ASSERT(info.mMethod == AllocationMethod::kSubAllocated); in Deallocate()
DResourceMemoryAllocation.h49 AllocationMethod mMethod = AllocationMethod::kInvalid; member
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp117203 Method mMethod; member in mozilla::detail::RunnableMethodImpl
117212 , mMethod(aMethod) in RunnableMethodImpl()
117220 mArgs.apply(mReceiver.Get(), mMethod); in Run()