summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-04-15 20:13:30 -0700
committer Ady Abraham <adyabr@google.com> 2021-05-13 15:56:26 +0000
commit59fd8ffeb1598dd474fa99f3acb9381d20db1790 (patch)
treec66d379b20cc0aa59769294b3f32004ffe032533 /vulkan/libvulkan/api.cpp
parent6e2e0effb3d4727b321942a0e7d015c4a1a27d71 (diff)
SF: fix getFrameRateForLayerTree
In commit bdda8f08e38620b071d1c77e8345b141f7fcedfe we removed the wp<Layer> from LayerHistory and instead updated LayerHistory when something changed in the Layer itself. That change didn't take into account that the FrameRateForLayerTree for a layer might change as a result of a setFrameRate called on a different Layer. In this change we update the FrameRateForLayerTree for each layer that is impacted by a setFrameRate call and update LayerHistory accordingly. Test: atest SetFrameRateTest Bug: 169873384 Bug: 183225713 Change-Id: Idf044e82225697e6132200dee9cec45b08fe4f5f
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions