Lines Matching defs:maxQueuedFrames
1337 const size_t maxQueuedFrames = swapchainImages.size()*2;
1341 const vector<FenceSp> imageReadyFences (createFences(vkd, device, maxQueuedFrames));
1343 // We need maxQueuedFrames+1 for imageReadySemaphores pool as we need to pass
1345 const vector<SemaphoreSp> imageReadySemaphores (createSemaphores(vkd, device, maxQueuedFrames+1));
1347 // For rest we simply need maxQueuedFrames as we will wait for image
1348 // from frameNdx-maxQueuedFrames to become available to us, guaranteeing that
1350 const vector<SemaphoreSp> renderingCompleteSemaphores (createSemaphores(vkd, device, maxQueuedFrames));
1351 const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY, maxQueuedFrames));
1434 FrameStreamObjects (const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkCommandPool cmdPool, size_t maxQueuedFrames)
1435 : renderingCompleteFences(createFences(vkd, device, maxQueuedFrames))
1436 , renderingCompleteSemaphores(createSemaphores(vkd, device, maxQueuedFrames))
1437 , imageAvailableSemaphores(createSemaphores(vkd, device, maxQueuedFrames))
1438 , commandBuffers(allocateCommandBuffers(vkd, device, cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY, maxQueuedFrames))
1439 , m_maxQueuedFrames(maxQueuedFrames)
1583 const size_t maxQueuedFrames = swapchainImages.front().size()*2; // Limit in-flight frames.
1587 frameStreamObjects.emplace_back(vkd, device, commandPool.get(), maxQueuedFrames);
1775 const size_t maxQueuedFrames = swapchainImages.size()*2;
1779 const vector<FenceSp> imageReadyFences (createFences(vkd, *groupDevice, maxQueuedFrames));
1781 // We need maxQueuedFrames+1 for imageReadySemaphores pool as we need to
1783 const vector<SemaphoreSp> imageReadySemaphores (createSemaphores(vkd, *groupDevice, maxQueuedFrames+1));
1785 // For rest we simply need maxQueuedFrames as we will wait for image from frameNdx-maxQueuedFrames
1787 const vector<SemaphoreSp> renderingCompleteSemaphores (createSemaphores(vkd, *groupDevice, maxQueuedFrames));
1788 const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY, maxQueuedFrames));
2158 const size_t maxQueuedFrames = rawImagesSfr.size()*2;
2162 const vector<FenceSp> imageReadyFences (createFences(vkd, *groupDevice, maxQueuedFrames));
2164 // We need maxQueuedFrames+1 for imageReadySemaphores pool as we need to
2166 const vector<SemaphoreSp> imageReadySemaphores (createSemaphores(vkd, *groupDevice, maxQueuedFrames+1));
2168 // For rest we simply need maxQueuedFrames as we will wait for image from frameNdx-maxQueuedFrames
2170 const vector<SemaphoreSp> renderingCompleteSemaphores (createSemaphores(vkd, *groupDevice, maxQueuedFrames));
2171 const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY, maxQueuedFrames));
2338 const size_t maxQueuedFrames = swapchainImages.size()*2;
2342 const vector<FenceSp> imageReadyFences (createFences(vkd, device, maxQueuedFrames));
2344 // We need maxQueuedFrames+1 for imageReadySemaphores pool as we need to pass
2346 const vector<SemaphoreSp> imageReadySemaphores (createSemaphores(vkd, device, maxQueuedFrames+1));
2348 // For rest we simply need maxQueuedFrames as we will wait for image
2349 // from frameNdx-maxQueuedFrames to become available to us, guaranteeing that
2351 const vector<SemaphoreSp> renderingCompleteSemaphores (createSemaphores(vkd, device, maxQueuedFrames));
2352 const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY, maxQueuedFrames));