Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Present and Swapchain #15

Open
1 of 3 tasks
redorav opened this issue Mar 29, 2021 · 0 comments
Open
1 of 3 tasks

Improve Present and Swapchain #15

redorav opened this issue Mar 29, 2021 · 0 comments
Assignees

Comments

@redorav
Copy link
Owner

redorav commented Mar 29, 2021

To conform with D3D12 and potentially other APIs

  • Move AcquireNextImage to Present. Present calls potentially block
  • Fence waiting is currently very explicit. Can we hide the implementation detail by making the swapchain do that behavior?
  • Creating a swapchain can take a previous swapchain. We can force destroy the incoming handle once we extract the HWND or other necessary information so that we don't have to keep it around. Vulkan can actually take advantage of the previous swapchain when recreating it
@redorav redorav changed the title Move AcquireNextImage to Present Improve Present behavior Mar 30, 2021
@redorav redorav changed the title Improve Present behavior Improve Present and Swapchain May 10, 2021
@redorav redorav self-assigned this Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant