From 2119eea9bc3a360d910477f7989515ad91dab59a Mon Sep 17 00:00:00 2001 From: chemusqui1 <61394758+chemusqui1@users.noreply.github.com> Date: Fri, 27 Jan 2023 20:32:56 +0800 Subject: [PATCH] haydn: Define thresholds for switching refresh rate * The display uses different gamma curves for different refresh rates.It's hard for panel vendor to tune the curves to have exact same brightness for different refresh rate (lazy), rr can switch so fast that makes a weird really annoying flicker, like a CRT, so we need to set a threshold for avoiding that flicker. * Also, increasing rr switching timers, even if they made the CRT bug to be reduced, slowly scrolling on GMaps while Smooth Display is enabled, led to a weird gamma switching to a green tint, so we need to tune that too for avoiding that shifting. Signed-off-by: 1xtAsh --- .../base/core/res/res/values/config.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 581a849..eff2cf2 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -340,4 +340,21 @@ haydn haydnpro + + + + 74 + + + 63 +