diff options
| author | 2021-07-20 10:16:05 -0500 | |
|---|---|---|
| committer | 2021-07-20 11:54:53 -0500 | |
| commit | e0c7b82ad21471b0e07bc176eb9de021d297ff51 (patch) | |
| tree | 9de8477d2571c1a8a10f9a46c494cc18ac366039 /libs/gui/SurfaceComposerClient.cpp | |
| parent | b9d529ba488a72125df06327da00798c23c98471 (diff) | |
Place mirrored layers offscreen instead of at root.
Mirrored Layers should never be placed at the root of the layer
hierarchy. Instead, they should be created offscreen and allow the
caller to place the layer where they want in the hierarchy. This
behavior was changed with the introduction of LayerCreatedState.
Send placeAtRoot flag when creating a layer to allow different create
callpoints to specify whether they want the layer created to be placed
at the root.
Test: Window Magnification no longer flickers.
Test: MirrorLayerTest
Fixes: 192536474
Change-Id: I08f47b1b1f19b7c655c3687cb4c1fa64844e2cc5
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions