Definition at line 22 of file command_pool_vk.cc.
◆ BackgroundCommandPoolVK() [1/2]
◆ BackgroundCommandPoolVK() [2/2]
impeller::BackgroundCommandPoolVK::BackgroundCommandPoolVK |
( |
vk::UniqueCommandPool && |
pool, |
|
|
std::vector< vk::UniqueCommandBuffer > && |
buffers, |
|
|
size_t |
unused_count, |
|
|
std::weak_ptr< CommandPoolRecyclerVK > |
recycler |
|
) |
| |
|
inlineexplicit |
Definition at line 30 of file command_pool_vk.cc.
35 : pool_(std::move(pool)),
36 buffers_(std::move(buffers)),
37 unused_count_(unused_count),
38 recycler_(std::move(recycler)) {}
◆ ~BackgroundCommandPoolVK()
impeller::BackgroundCommandPoolVK::~BackgroundCommandPoolVK |
( |
| ) |
|
|
inline |
Definition at line 40 of file command_pool_vk.cc.
41 auto const recycler = recycler_.lock();
53 recycler->Reclaim(std::move(pool_), std::move(buffers_),
static constexpr size_t kUnusedCommandBufferLimit
References kUnusedCommandBufferLimit.
◆ kUnusedCommandBufferLimit
constexpr size_t impeller::BackgroundCommandPoolVK::kUnusedCommandBufferLimit = 16u |
|
staticconstexpr |
The documentation for this class was generated from the following file: