~eliasnaur/gio#190: 
Option to change/reduce framerate

Seems that Gio generates a new frame each 16ms (except on JS/WASM), while animating. I'm considering that each frame is calling w.Invalidate(), which happens on animations.

However, I think should be nice to have a option to change the framerate.


Personally, I would like to change the framerate in the following situations:

  1. When the app is uncapable to delivery 60FPS, due to slow CPU/GPU.
  2. When the device is running with "prefer low-motion" enabled (similar of "prefers-reduced-motion" from CSS).
  3. When the device is running on "battery-saver mode" or "low-power mode".
Status
REPORTED
Submitter
~inkeliz
Assigned to
No-one
Submitted
3 months ago
Updated
3 months ago
Labels
No labels applied.

~eliasnaur 3 months ago

Sure, as long as it is automatic.

Register here or Log in to comment, or comment via email.