Update the logic to determine preferred interval
To avoid smoothness issues, choose one from the supported intervals which is in perfect candence with |min_frame_sink_interval| instead of simply choose the closest one. Also, add a line to update display_frame_timebase in root_compositor_frame_sink_impl.cc when |use_preferred_interval_| is true but without a meaningful interval. Bug: 976583 Change-Id: I9e221dd759efc9c1cb0c40102d61695ff075ef9b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2013469 Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by:Khushal <khushalsagar@chromium.org> Reviewed-by:
Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#745326}
Showing
Please register or sign in to comment