summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Andy Yu <chingtangyu@google.com> 2023-11-03 11:22:46 -0700
committer Andy Yu <chingtangyu@google.com> 2023-12-07 15:30:22 -0800
commit8c2703dfc85c911d28111f5b1e54ee8acb7fcbb2 (patch)
tree6c7477a49b2a721e8ab60c509e281c61bfec36be /vulkan/libvulkan/api.cpp
parent926dbea7a7abef622dd3d5f73a3e07773450f073 (diff)
Refactor game-related frame rate override to LayerHistory
Previously game-related frame rate overrides are maintained in Scheduler only, which does not provide votes to the actual display refresh rate. This causes an issue that these overrides will only be viable when they are the divisors of the display refresh rate at the moment. This change moves the game intervention and newly-added game default frame rate overrides to LayerHistory, where overrides will be considered in layer frame rate votes. Scheduler will get this information and select the display frame rate accordingly Bug: 286084594 Test: SurfaceFlinger unit test atest LayerHistoryTest atest FrameRateOverrideMappingsTest atest CtsGraphicsTestCases --test-filter "SetFrameRateTest*" atest CtsFrameRateOverrideTestCases Change-Id: I9957af8e53fbdd44b8d70028572e6db8e779a1fe
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions