-
-
Notifications
You must be signed in to change notification settings - Fork 652
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
ebiten: deprecate SetFPSMode
and ScheduleFrame
, and undeprecate SetVsyncEnabled
#2342
Comments
If we are in an FPS area, I would like to remind that it would be really useful to be able to explicitly set the maximum FPS somehow, #1562 . |
But how do I adjust FPS (refresh rate)? |
SetFPSMode
and undeprecate SetVsyncEnabled
SetFPSMode
and ScheduleFrame
, and undeprecate SetVsyncEnabled
We'll revert the optimization of skipping to swap buffers. |
I think we should make another issue. |
We discussed #2338 and
FPSModeVsyncOffMinimum
is useless: as the vsync is off, tearing happens and GPU power is consumed more than necessary. We might wantFPSModeVsyncOnMinimum
but it is odd that a FPS mode affectsUpdate
behavior in the first place.Instead, let's give up blocking
Update
call for input, and instead, let's focus on a new API to handle input (#1704). This (Update is still called 60 times per second) might not be the best efficiency but is acceptable.At the same time,
ScheduleFrame
should be deprecated too.The text was updated successfully, but these errors were encountered: