shadergarden icon indicating copy to clipboard operation
shadergarden copied to clipboard

Moving mouse in macOS (M1 Air) causes framerate increase

Open mcginty opened this issue 4 years ago • 2 comments

https://user-images.githubusercontent.com/373823/132156917-39c852a9-f4d3-4495-8003-c14e9deb71f0.mp4

mcginty avatar Sep 06 '21 03:09 mcginty

That is pretty interesting! Does M1 do some kind of variable vsync based on input? :astonished:

strohel avatar Sep 06 '21 08:09 strohel

I tried it out on an M1, and was able to reproduce the issue. It seems like more resources are thrown at windows you're interacting with, which is super interesting. Any ideas as to how to ensure a constant framerate? We're already setting the framerate to 60 fps using glium's control flow.

slightknack avatar Sep 23 '21 09:09 slightknack