Home
last modified time | relevance | path

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

/hardware/google/gfxstream/host/vulkan/
DVkDecoderGlobalState_unittest.cpp44 : 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::VkDecoderGlobalStateExternalFenceTest
63 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 …]
DVkDecoderInternalStructs.h50 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 …]
DVulkanStream.cpp59 *ptrAddr = mPool.alloc(bytes); in alloc()
170 void VulkanStream::clearPool() { mPool.freeAll(); } in clearPool()
182 android::base::BumpPool* VulkanStream::pool() { return &mPool; } in pool()
DVulkanStream.h84 android::base::BumpPool mPool; variable
DVkDecoderGlobalState.h942 android::base::BumpPool* mPool = nullptr; variable
DVkDecoderGlobalState.cpp8979 mPool = pool;
8984 *mPreserveBufPtr = (uint64_t*)mPool->alloc(count * sizeof(uint64_t)); in allocPreserve()
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DPendingRequestPoolTest.cpp41 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
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DConnectedClientTest.cpp44 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
/hardware/google/gfxstream/guest/vulkan_enc/
DVulkanStreamGuest.cpp36 *ptrAddr = mPool.alloc(bytes); in alloc()
120 void VulkanStreamGuest::clearPool() { mPool.freeAll(); } in clearPool()
DVulkanStreamGuest.h75 gfxstream::guest::BumpPool mPool;