-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
enable_vsync(false) is not guaranteed #263
Comments
Unfortunately, we are at the mercy of what In retrospect, The best solution might be removing
Sorry that this caused your time loss! I truly understand that and have felt the impact of similar issues ... well, pretty much every single day, if I'm honest. But I'm glad you also took the time to report this, so that we can make improvements! |
With Fixing this issue should be as simple as choosing either of these variants based on the value of the |
I also added a comment to the docs about how Vsync cannot be disabled on Web targets, which is in alignment with the original comment in this thread. |
Hello,
I've tried to use
enable_vsync(false)
on the builder and it seems it is not acknowledged.When rendering, this specific code :
always makes sure the VBL is waited for (and it shouldn't since vbsync is false).
Now, looking at wgpu's documentation, one can read : "FIFO is the only guaranteed to be supported, though other formats will automatically fall back to FIFO.".
So maybe that's the issue ?
Could
enable_vsync()
say something when other formats are not supported ? That'd help new comers like me, it took me 2 hours to figure this out (but using your lib spared me days of development, so all in all, it's a huge win :-) )Thanks !
The text was updated successfully, but these errors were encountered: