Lines Matching refs:frame_index
332 uint32_t frame_index; member
542 frame_index{0},
717 device.waitForFences(1, &fences[frame_index], VK_TRUE, UINT64_MAX); in draw()
718 device.resetFences(1, &fences[frame_index]); in draw()
722 … result = device.acquireNextImageKHR(swapchain, UINT64_MAX, image_acquired_semaphores[frame_index], in draw()
747 .setPWaitSemaphores(&image_acquired_semaphores[frame_index]) in draw()
751 .setPSignalSemaphores(&draw_complete_semaphores[frame_index]); in draw()
753 result = graphics_queue.submit(1, &submit_info, fences[frame_index]); in draw()
764 … .setPWaitSemaphores(&draw_complete_semaphores[frame_index]) in draw()
768 … .setPSignalSemaphores(&image_ownership_semaphores[frame_index]); in draw()
778 … .setPWaitSemaphores(separate_present_queue ? &image_ownership_semaphores[frame_index] in draw()
779 … : &draw_complete_semaphores[frame_index]) in draw()
785 frame_index += 1; in draw()
786 frame_index %= FRAME_LAG; in draw()
1421 frame_index = 0; in init_vk_swapchain()