diff options
| author | 2021-09-13 18:40:17 -0700 | |
|---|---|---|
| committer | 2021-09-21 17:59:18 +0000 | |
| commit | a066d908f6fe28e63ae49327b57fcd31d63fba2d (patch) | |
| tree | dfcf7b00c3b7bad628dd41274baeb59b7b03d241 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 1cbc2ca67a12546fe7de8101c02c767254a0e4d2 (diff) | |
SurfaceFlinger: Implement drop input modes
ALL: If this mode is set on a layer, set the DROP_INPUT
feature flag on the layer and its children if it has a valid input
channel. This will ensure these layers will not be able to receive any
input.
OBSCURED: If this mode is set, set the DROP_INPUT
feature flag on the layer and its children if they have a valid input
channel and they are considered occluded. This can happen if the layer
has a alpha set by it's parent OR if its buffer has been cropped by its
parent. Otherwise, the input feature flag DROP_INPUT_IF_OBSCURED flag
will be set so inputflinger can decide to drop input based on
occlusion.
Test: atest libgui_test InputDispatcherDropInputFeatureTest
Bug: 197364677
Change-Id: Ibce11ee7df5b5c8c226ebfab29574a99cd656f6d
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions