Searched refs:mPool (Results 1 – 10 of 10) sorted by relevance
44 : mDevice(reinterpret_cast<VkDevice>(0x2222'0000)), mPool(&mMockDispatch, mDevice) {} in VkDecoderGlobalStateExternalFenceTest()47 mPool.popAll(); in ~VkDecoderGlobalStateExternalFenceTest()52 ExternalFencePool<MockDispatch> mPool; member in gfxstream::vk::__anon414568c20111::VkDecoderGlobalStateExternalFenceTest63 ASSERT_EQ(VK_NULL_HANDLE, mPool.pop(&createInfo)); in TEST_F()79 mPool.add(fence); in TEST_F()80 VkFence reusedFence = mPool.pop(&createInfo); in TEST_F()98 mPool.add(fence); in TEST_F()99 VkFence reusedFence = mPool.pop(&createInfo); in TEST_F()117 mPool.add(fence); in TEST_F()119 ASSERT_EQ(VK_NULL_HANDLE, mPool.pop(&createInfo)); in TEST_F()[all …]
50 if (!mPool.empty()) { in ~ExternalFencePool()53 << " destroyed but " << mPool.size() << " fences still not destroyed."; in ~ExternalFencePool()59 mPool.push_back(fence); in add()60 if (mPool.size() > mMaxSize) { in add()61 INFO("External fence pool for %p has increased to size %d", mDevice, mPool.size()); in add()62 mMaxSize = mPool.size(); in add()70 auto it = std::find_if(mPool.begin(), mPool.end(), [this](const VkFence& fence) { in pop()82 if (it == mPool.end()) { in pop()87 mPool.erase(it); in pop()99 std::vector<VkFence> popped = mPool; in popAll()[all …]
59 *ptrAddr = mPool.alloc(bytes); in alloc()170 void VulkanStream::clearPool() { mPool.freeAll(); } in clearPool()182 android::base::BumpPool* VulkanStream::pool() { return &mPool; } in pool()
84 android::base::BumpPool mPool; variable
942 android::base::BumpPool* mPool = nullptr; variable
8979 mPool = pool;8984 *mPreserveBufPtr = (uint64_t*)mPool->alloc(count * sizeof(uint64_t)); in allocPreserve()
41 void SetUp() override { mPool = std::make_unique<PendingRequestPool>(TEST_TIMEOUT); } in SetUp()44 if (mPool != nullptr) { in TearDown()45 ASSERT_EQ(mPool->countPendingRequests(getTestClientId()), static_cast<size_t>(0)) in TearDown()50 PendingRequestPool* getPool() { return mPool.get(); } in getPool()52 void destroyPool() { mPool.reset(); } in destroyPool()62 std::unique_ptr<PendingRequestPool> mPool; member in android::hardware::automotive::vehicle::PendingRequestPoolTest
44 mPool = std::make_shared<PendingRequestPool>(timeout); in SetUp()51 std::shared_ptr<PendingRequestPool> getPool() { return mPool; } in getPool()60 std::shared_ptr<PendingRequestPool> mPool; member in android::hardware::automotive::vehicle::ConnectedClientTest
36 *ptrAddr = mPool.alloc(bytes); in alloc()120 void VulkanStreamGuest::clearPool() { mPool.freeAll(); } in clearPool()
75 gfxstream::guest::BumpPool mPool;