summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2021-07-07 15:04:59 +0100
committerMichael Wright <michaelwr@google.com>2021-07-09 15:52:33 +0100
commit25fd67372ebc10a03ba587332687b596affdfcf2 (patch)
treec297a4fe96b8997a0ef9201501582fab8adb5c34 /libs/hwui/renderthread/DrawFrameTask.cpp
parent77a21b7099890c76411bb30d47bcf7971d39e166 (diff)
Use exact brightnesses values for comparison.
Using BrightnessSynchronizer introduced an epsilon value in the comparison. This meant it was possible for brightness changes to never reach min or max if they were made in sufficiently small steps. Given: 1) The need to reach both min and max brightnesses. 2) The increased resolution of brightness controls on devices. 3) The desire to make the framework as independent as possible of brightness resolution. we no longer allow for an epsilon delta. Fixes: 191935286 Test: manual Change-Id: Ie4872fa81aa6f23799cd6b4dfdbfd2a61ec6ce7a
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions