summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/BufferQueueLayer.cpp
diff options
context:
space:
mode:
authorDominik Laskowski <domlaskowski@google.com>2019-03-28 09:53:04 -0700
committerDominik Laskowski <domlaskowski@google.com>2019-04-08 16:24:41 +0000
commit22488f69b442064261f8764e64e3705fd2e22cb3 (patch)
tree7f6b0699b2ade60c7328515b5fbb3742b4dd09e6 /services/surfaceflinger/BufferQueueLayer.cpp
parent3c9aec6db94841a5b16075923d22b38423dfa667 (diff)
downloadandroid_frameworks_native-22488f69b442064261f8764e64e3705fd2e22cb3.tar.gz
android_frameworks_native-22488f69b442064261f8764e64e3705fd2e22cb3.tar.bz2
android_frameworks_native-22488f69b442064261f8764e64e3705fd2e22cb3.zip
SF: Remove per-display state in scheduler
This CL removes per-display RefreshRateConfigs and AllowedDisplayConfigs to avoid bugs in the untested multi-display code path of the scheduler, adds checks to prevent crashes if the internal display is removed, and cleans up related code by: 1) Replacing AllowedDisplayConfigs with a simple set. 2) Making setAllowedDisplayConfigs consistent with setPowerMode. 3) Removing unnecessary locking and allocation. Bug: 129433906 Test: Boot with single/multiple display(s) Change-Id: I3f59e9bdeaceb2cf48b4b9b71cd27f1d6a574680 (cherry picked from commit 645365116b7c77204aaffbb88f9407549445396c)
Diffstat (limited to 'services/surfaceflinger/BufferQueueLayer.cpp')
0 files changed, 0 insertions, 0 deletions