summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-10-13 17:04:27 -0700
committer Ady Abraham <adyabr@google.com> 2021-10-13 17:10:16 -0700
commitadc914ccd7dd60754843e1f33c956c0f51430036 (patch)
tree319441452a35df084ac5e57c28fb66563f52cb84 /libs/gui/BufferQueueThreadState.cpp
parent4f960d169f0dfbfaba43b0e1033843fcf55fd8a2 (diff)
SF: acquire/release screen for active display only
SurfaceFlinger assumes that there is at most a single internal display powered on at a given time, and mark it as the active display. However, in order to be robust against rare race conditions where displays might be on together for a short period of time, we add a check to make sure that we tell the scheduler that the screen was acquired/released only for the active display. Bug: 201605862 Test: SF unit tests Change-Id: I25b3f807d9f5d93ae88ac8a6026cee76cb69f493
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions