Home
last modified time | relevance | path

Searched refs:mPool (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/utils/
DScopedAutoreleasePool.mm21 ScopedAutoreleasePool::ScopedAutoreleasePool() : mPool([[NSAutoreleasePool alloc] init]) {
25 if (mPool != nullptr) {
26 [static_cast<NSAutoreleasePool*>(mPool) release];
27 mPool = nullptr;
32 mPool = rhs.mPool;
33 rhs.mPool = nullptr;
38 mPool = rhs.mPool;
39 rhs.mPool = nullptr;
DScopedAutoreleasePool.cpp21 ScopedAutoreleasePool::ScopedAutoreleasePool() : mPool(nullptr) { in ScopedAutoreleasePool()
22 DAWN_UNUSED(mPool); in ScopedAutoreleasePool()
DScopedAutoreleasePool.h56 void* mPool = nullptr;
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DPooledResourceMemoryAllocator.cpp26 for (auto& resourceHeap : mPool) { in DestroyPool()
31 mPool.clear(); in DestroyPool()
40 if (!mPool.empty()) { in AllocateResourceHeap()
41 memory = std::move(mPool.front()); in AllocateResourceHeap()
42 mPool.pop_front(); in AllocateResourceHeap()
54 mPool.push_front(std::move(allocation)); in DeallocateResourceHeap()
58 return mPool.size(); in GetPoolSizeForTesting()
DPooledResourceMemoryAllocator.h48 std::deque<std::unique_ptr<ResourceHeapBase>> mPool; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DStagingDescriptorAllocatorD3D12.cpp37 for (auto& buffer : mPool) { in ~StagingDescriptorAllocator()
40 ASSERT(mAvailableHeaps.size() == mPool.size()); in ~StagingDescriptorAllocator()
52 NonShaderVisibleBuffer& buffer = mPool[heapIndex]; in AllocateCPUDescriptors()
92 mAvailableHeaps.push_back(mPool.size()); in AllocateCPUHeap()
93 mPool.emplace_back(std::move(newBuffer)); in AllocateCPUHeap()
103 ASSERT(heapIndex < mPool.size()); in Deallocate()
109 std::vector<Index>& freeBlockIndices = mPool[heapIndex].freeBlockIndices; in Deallocate()
115 mPool[heapIndex].heap->GetCPUDescriptorHandleForHeapStart(); in Deallocate()
DShaderVisibleDescriptorAllocatorD3D12.cpp189 mPool.push_back({mDevice->GetPendingCommandSerial(), std::move(mHeap)}); in AllocateAndSwitchShaderVisibleHeap()
190 if (mPool.front().heapSerial <= mDevice->GetCompletedCommandSerial()) { in AllocateAndSwitchShaderVisibleHeap()
191 descriptorHeap = std::move(mPool.front().heap); in AllocateAndSwitchShaderVisibleHeap()
192 mPool.pop_front(); in AllocateAndSwitchShaderVisibleHeap()
224 return mPool.size(); in GetShaderVisiblePoolSizeForTesting()
232 ASSERT(!mPool.empty()); in IsLastShaderVisibleHeapInLRUForTesting()
233 return mPool.back().heap->IsInResidencyLRUCache(); in IsLastShaderVisibleHeapInLRUForTesting()
DStagingDescriptorAllocatorD3D12.h70 std::vector<NonShaderVisibleBuffer> mPool; variable
DShaderVisibleDescriptorAllocatorD3D12.h87 std::list<SerialDescriptorHeap> mPool; variable
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupVk.cpp44 if (device->fn.CreateDescriptorPool(device->GetVkDevice(), &createInfo, nullptr, &mPool) != in BindGroup()
55 allocateInfo.descriptorPool = mPool; in BindGroup()
128 if (mPool != VK_NULL_HANDLE) { in ~BindGroup()
129 ToBackend(GetDevice())->GetFencedDeleter()->DeleteWhenUnused(mPool); in ~BindGroup()
130 mPool = VK_NULL_HANDLE; in ~BindGroup()
DBindGroupVk.h34 VkDescriptorPool mPool = VK_NULL_HANDLE;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DConcurrentCacheTests.cpp52 ConcurrentCacheTest() : mPool(mPlatform.CreateWorkerTaskPool()), mTaskManager(mPool.get()) { in ConcurrentCacheTest()
57 std::unique_ptr<dawn_platform::WorkerTaskPool> mPool; member in ConcurrentCacheTest
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DWorkerThread.h46 void setWorkerThreadPool(std::shared_ptr<WorkerThreadPool> pool) { mPool = pool; } in setWorkerThreadPool()
59 std::shared_ptr<WorkerThreadPool> mPool;
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DWorkerThread.h46 void setWorkerThreadPool(std::shared_ptr<WorkerThreadPool> pool) { mPool = pool; } in setWorkerThreadPool()
59 std::shared_ptr<WorkerThreadPool> mPool;