You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For event-driven applications it is sometimes desirable to always render in response to frame request callbacks. Currently there is no way to ensure the delivery of a frame callback without either presenting via the WSI or manually performing wayland requests.
It is already possible to create frame requests at any point. But winit provides no API to commit such a frame request.
Relevant platforms
Wayland
The text was updated successfully, but these errors were encountered:
Frame callbacks can be used to pace animation. If each animation frame causes damage, then this works with winit. But if an animation does not cause damage, then you have no way to pace the next animation frame.
It would be possible to work around this by getting the refresh rate of the surface (from presentation feedback). But winit does not provide this information either.
Description
For event-driven applications it is sometimes desirable to always render in response to frame request callbacks. Currently there is no way to ensure the delivery of a frame callback without either presenting via the WSI or manually performing wayland requests.
It is already possible to create frame requests at any point. But winit provides no API to commit such a frame request.
Relevant platforms
Wayland
The text was updated successfully, but these errors were encountered: