summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2020-08-06 20:04:06 +0200
committer Marin Shalamanov <shalamanov@google.com> 2020-10-05 18:31:31 +0200
commit7cee53e6eba7d376b5f0abdf71bc40d35fb7bad8 (patch)
tree515951f5ea7cda28c167ac27d51b2ef6722116c4 /libs/input/KeyLayoutMap.cpp
parent384914ae21897bc2bdfaef8636984437311d44da (diff)
[SF] Introduce VirtualDisplayId
This change introduces a new class VirtualDisplayId which is inherited by HwcVirtualDisplayId and GpuVirtualDisplayId. HwcVirtualDisplayId replaces the current ids assigned to virtual displays backed by HWC. GpuVirtualDisplayIds are random generated IDs assigned to non HWC virtual displays, which currently don't have IDs. This way all compositionengine/Display and DisplayDevice objects have a DisplayId. The logic for ID generation is encapsulated in DisplayIdGenerator.h. Bug: 162916145 Bug: 160679868 Bug: 137375833 Test: scrcpy on device Test: atest DisplayIdGeneratorTest Test: atest libsurfaceflinger_unittest Change-Id: I550b1f4714fcad0c3328d0cad93fc601ea7593c2
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions