diff options
| author | 2020-02-11 19:13:09 -0800 | |
|---|---|---|
| committer | 2020-02-13 13:48:35 -0800 | |
| commit | 8d9f836d54548199c397b63e5ab12e7e46d72b19 (patch) | |
| tree | 74ae3fc9fcaaa4fac39a0a131eb1e2a5abb98944 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 4603f3c2151bf6535048b6a42318c8393826b68f (diff) | |
[sf] Pass metadata to layer during composition
Adds the simple bits of code to grab a snapshot of the front-end Layer
generic metadata, storing a copy in LayerFECompositionState, and then
sending int to the HWC2::Layer along with other "geometry update"
settings.
As the metadata stored in the layers uses integer keys, they need to be
translated to name strings. For hard-coded mapping is defined, with a
TODO left to remove the hard-coded mapping.
A test is added to ensure that the metadata is written by OutputLayer
when present, and that it is not set as part of a "per-frame" update.
Bug: 139747351
Test: atest libcompositionengine_test
Change-Id: I63f2a34e1fb70e1aefc5aa7e97ce56b7c2579a29
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions