summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Melody Hsu <melodymhsu@google.com> 2024-05-31 22:58:40 +0000
committer Melody Hsu <melodymhsu@google.com> 2024-06-04 05:15:05 +0000
commit335ef3e2055cd712d5423c41f2add507dab7d9a2 (patch)
tree1bf4b7126480e12d51a7f24e501305346a196ac7 /services/surfaceflinger/RegionSamplingThread.cpp
parent4a9f8e3eac0cd420ae5d1fc2a7ab4abb38703e46 (diff)
Refactor obtaining display in SF main thread
Getting the display requires the SF state lock, and this can cause deadlocks if this work is done on a binder thread. The eventual goal is to place all the work in renderScreenImpl on the binder thread, so reshuffling where we get the display to an area where we already go onto the main thread will reduce lock contention. Additional cleanups to remove overloaded renderScreenImpl for testable SF suite. Bug: b/294936197 Test: atest SurfaceFlinger_test Test: atest CompositionTest Test: presubmit Change-Id: I95697a2508a9d936ac9689430d9060c49ed3f039
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions