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
Loading
Please register or sign in to comment