commit | e2946321a3fac1f7ae3782397a997accf4e21baf | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Wed Jul 10 17:45:29 2024 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Jul 20 07:04:21 2024 +0000 |
tree | 722c93853cb229bd762992a5e00a594985d2de79 | |
parent | f8cc08fac0cd565d3b9ced35021af1a9f50216e3 [diff] [blame] |
SF: add a new behaviour for idle timer on VRR When idle timer times out on VRR, change the refresh rate indicator to show "- -". The render rate doesn't cange as a result of idleness. Bug: 333443503 Test: manual Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:eba039c2d28646c5064a9a952faaba0cff6350cb) Merged-In: Ie4f51a2a9da1a5e229b3504881117b12f1fd1b6a Change-Id: Ie4f51a2a9da1a5e229b3504881117b12f1fd1b6a
diff --git a/services/surfaceflinger/DisplayDevice.h b/services/surfaceflinger/DisplayDevice.h index 3cc8cf5..1b8a3a8 100644 --- a/services/surfaceflinger/DisplayDevice.h +++ b/services/surfaceflinger/DisplayDevice.h
@@ -196,6 +196,7 @@ bool isRefreshRateOverlayEnabled() const { return mRefreshRateOverlay != nullptr; } void animateOverlay(); bool onKernelTimerChanged(std::optional<DisplayModeId>, bool timerExpired); + void onVrrIdle(bool idle); // Enables an overlay to be display with the hdr/sdr ratio void enableHdrSdrRatioOverlay(bool enable) REQUIRES(kMainThreadContext);