summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2023-08-22 17:21:21 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2023-08-22 19:33:23 +0000
commit35405dcccaa428806ab64178f37f380d4d99733c (patch)
tree7f66e594c57c16e2d9cd46a5a3e9b0c8378add96 /libs/hwui/FrameInfoVisualizer.cpp
parent3697f77a36009cbe9894d7fccba79b378acc7cd8 (diff)
Move input surfaces into its own overlay in DisplayContent
Input surfaces, such as gesture monitors and handwriting windows, were created and placed directly inside the DisplayContent's SurfaceControl. In some cases, like when the display is recreated, the DisplayContent's SurfaceControl changes, so the surfaces should be reparented to the new SurfaceControl when that happens. To do that, we create a new overlay layer in DisplayContent for input surfaces, and place that between the display overlay and the a11y overlay. That way, we can ensure that the input overlays are always parented to the correct display in the hierarchy, even when the display is recreated. Bug: 295386214 Test: manual Change-Id: Ia1e31e68dca20610b7cb704869ceb71bb49e753b
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions