Replies: 1 comment
-
Yeah we have some, see #2869 "Presentation Wait". The tricky part is that the length of the swapchain doesn't really help a whole lot in terms of latency and pacing.
How so, it controls it as much as it can. There's a minimum and maximum size given by the adapter, and we clamp our value to that range. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the swap chain size already exists in
wgpu_hal::SurfaceConfiguration::swap_chain_size
with the default size ofwgpu_core::present::DESIRED_NUM_FRAMES = 3
. Any particular reason to block it from the users? Since in some circumstances double buffering is more preferrable than triple buffering.And in any case, the current configuration fails to control the actual swap chain size on Vulkan platforms anyway (since Vulkan spec only mandates the minimum image count).
Beta Was this translation helpful? Give feedback.
All reactions