-
Notifications
You must be signed in to change notification settings - Fork 7
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
Wobbliness/tearing #9
Comments
how do we fix this |
@expectocode by losing the game |
@9ary Isn't it because we are reallocating memory every time? |
No, it's because we're redrawing way too fast. |
@9ary should we limit the redraw rate to 60 fps? |
It's not that simple, we need to do vsync somehow but that's not exactly easy with xshape. The alternative is drawing with opengl or xrender, where it's easy to do vsync, but that requires a compositor. slop dumbly throttles drawing like you suggest which reduces tearing but doesn't entirely remove it. |
The guides and selection appear to redraw much faster than vsync which leads to wobbly diagonal lines in pieces.
The text was updated successfully, but these errors were encountered: