summaryrefslogtreecommitdiff
path: root/libs/ui/DebugUtils.cpp
diff options
context:
space:
mode:
author Melody Hsu <melodymhsu@google.com> 2024-03-26 23:54:45 +0000
committer Melody Hsu <melodymhsu@google.com> 2024-03-27 21:38:50 +0000
commite4ef87f02e22a40daafe508e98d9aa8e061fc5ff (patch)
tree16d552337223a79d9a24a26c7c63017bf52cd787 /libs/ui/DebugUtils.cpp
parent3fa9d8501e249f5b696adbd11a4b61252340a148 (diff)
Track the last release fence per layer stack
Merging fences prior to calling CompositionEngine#present results in occassional missed frames in Surfaceflinger. Merging fences here was originally needed to relieve memory pressure. Instead, we can track each layer stack's future release fence with a map between a layer stack and its last fence, as it can be assumed that multiple fences for the same layer stack can be be dropped. Fixes: b/330841053 Test: SurfaceFlinger_test Test: presubmit Change-Id: I7ca3a226ff77bc31d93fdb4708c3e9089f423803
Diffstat (limited to 'libs/ui/DebugUtils.cpp')
0 files changed, 0 insertions, 0 deletions