summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author George Mount <mount@google.com> 2024-04-11 14:57:43 -0700
committer George Mount <mount@google.com> 2024-04-15 14:09:46 -0700
commit6b3ff5443c6e3516cf2a97e772cec73b73a641b1 (patch)
treeef4269497cb81a84075cf7469a8809bab774e419 /libs/input/SpriteController.cpp
parent4487bc7fee2d93d1b623dd0a5bbcbe5c32b82617 (diff)
VRR: Change both frame rate and category
Bug: 299946220 When Views vote for both a category and a refresh rate, then both should be sent to SurfaceFlinger. Now a single View can vote for refresh rate and category if velocity and category are both set. This CL also reduces the overhead of voting by recalculating the category only one time rather than for every drawn View. It also stops Views from calculating frame rate and category if the maximum has already been set. Test: existing and new tests. manual testing Change-Id: Ia215d3fb0e1239f1ed88f06732d1aec13527757a
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions