summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2024-05-22 16:34:52 -0400
committer Alec Mouri <alecmouri@google.com> 2024-06-21 14:34:13 +0000
commitc099400b0138d705d7d3b341970e60e397f1bb45 (patch)
tree94730989993e8f22eb76fc823248f5fc0a93f454 /services/surfaceflinger/RegionSamplingThread.cpp
parent3b468eca28c385ea61832b96dc5387bcaa32b25e (diff)
Output::presentFrameAndReleaseLayers: flush pending commands for OFF displays
Most work from this method can be skipped if the display is not enabled. However, uncaching buffers should still occur. If the display is disabled and there are buffers to uncache, still flush pending commands. They should only contain commands that are meaningful for a disabled display, like bufferSlotsToClear. Bug: 330806421 Test: libcompositionengine_test Flag: flush_buffer_slots_to_uncache Change-Id: I7baa3e76af86329fb266395e63e92a0ba38967f4 (cherry picked from commit a3ba7fa4665a1df144ba777a37dbb979bab0d390) Merged-In: I7baa3e76af86329fb266395e63e92a0ba38967f4
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions