diff options
author | 2022-11-16 23:09:09 +0000 | |
---|---|---|
committer | 2022-11-17 01:22:44 +0000 | |
commit | aa799bd679bc95810a623e8c1efebc5be1ad0659 (patch) | |
tree | 8301a9c912d07d3783ec525046c4aeeab7ba6589 /libs/gui/SurfaceComposerClient.cpp | |
parent | d1c4b8abbb79bc98e506618c504bb3dac3355470 (diff) |
libgui: add layer_state_t::diff
Compares two layer_state_t structs and returns
a set of change flags describing all the states
that are different.
Also introduces change sets describing which
set of client states can affect the hierarchy,
content or the content size.
Bug: 238781169
Test: presubmit
Change-Id: I6e5fb255972aff2373be27e62005ee3a8de7ebf6
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
-rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index d18d22d8ee..1e43700d06 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -1250,6 +1250,7 @@ SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setFlags if ((mask & layer_state_t::eLayerOpaque) || (mask & layer_state_t::eLayerHidden) || (mask & layer_state_t::eLayerSecure) || (mask & layer_state_t::eLayerSkipScreenshot) || (mask & layer_state_t::eEnableBackpressure) || + (mask & layer_state_t::eIgnoreDestinationFrame) || (mask & layer_state_t::eLayerIsDisplayDecoration)) { s->what |= layer_state_t::eFlagsChanged; } |