Skip to content
  • Jonas Ådahl's avatar
    renderer-native: Fake page flipping slower when power saving · 3cc3b752
    Jonas Ådahl authored
    We rely on the frame clock to compress input events, thus if the frame
    clock stops, input events are not dispatched. At the same time, there
    is no reason to redraw at a full frame rate, as nothing will be
    presented anyway, so slow down to 10Hz (compared to the most common
    60Hz). Note that we'll only actually reach 10Hz if there is an active
    animation being displayed, which won't happen e.g. if there is a screen
    shield in the way.
    
    !506
    3cc3b752