Searched refs:mPool (Results 1 – 14 of 14) sorted by relevance
21 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;
21 ScopedAutoreleasePool::ScopedAutoreleasePool() : mPool(nullptr) { in ScopedAutoreleasePool()22 DAWN_UNUSED(mPool); in ScopedAutoreleasePool()
56 void* mPool = nullptr;
26 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()
48 std::deque<std::unique_ptr<ResourceHeapBase>> mPool; variable
37 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()
189 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()
70 std::vector<NonShaderVisibleBuffer> mPool; variable
87 std::list<SerialDescriptorHeap> mPool; variable
44 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()
34 VkDescriptorPool mPool = VK_NULL_HANDLE;
52 ConcurrentCacheTest() : mPool(mPlatform.CreateWorkerTaskPool()), mTaskManager(mPool.get()) { in ConcurrentCacheTest()57 std::unique_ptr<dawn_platform::WorkerTaskPool> mPool; member in ConcurrentCacheTest
46 void setWorkerThreadPool(std::shared_ptr<WorkerThreadPool> pool) { mPool = pool; } in setWorkerThreadPool()59 std::shared_ptr<WorkerThreadPool> mPool;