summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/dumpstate.cpp
diff options
context:
space:
mode:
author Alan Ding <alanding@google.com> 2024-05-24 00:27:11 -0700
committer Alan Ding <alanding@google.com> 2024-05-24 11:57:55 -0700
commitc9de92a5fe681ea689a876bbeaaec7ff69df2e48 (patch)
tree2a22c14070e52d57ad859ae8cf4f01959b2ca2bc /cmds/dumpstate/dumpstate.cpp
parentdf55f52e05eaac908ac93e09e7ae95148d9a0006 (diff)
Reland "ui: Refactor stable ID generation for GPU virtual displays"
This is a partial port of ag/17832464 for main with additional tests. Use ftl::stable_hash to generate stable ID from uniqueId for GPU virtual displays. This allows FLAG_STABLE consistent with PhysicalDisplayId that uses a unique EDID, as well as being stable across reboots when using hardcoded or static unique ID. Add DisplayId.isStable()/isVirtual() interfaces and refactor previous legacy usages. Bug: 339525838 Bug: 137375833 Bug: 194863377 Test: atest libsurfaceflinger_unittest Test: atest libcompositionengine_test Test: atest DisplayIdGeneratorTest Change-Id: I441046f95860bbcaf837468a3c3f5c944225adde
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
0 files changed, 0 insertions, 0 deletions