summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2021-09-13 18:40:17 -0700
committer Vishnu Nair <vishnun@google.com> 2021-09-22 19:04:04 +0000
commitfb06059fa68095ba9d5e251cffb98a3262fb9027 (patch)
tree6a1fd441daa863aec9458f4493a19b192eeceeef /libs/gui/BLASTBufferQueue.cpp
parentc469011bcfc3a0c36000c791f96522a9b3b98705 (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 Merged-In: Ibce11ee7df5b5c8c226ebfab29574a99cd656f6d Change-Id: Ibce11ee7df5b5c8c226ebfab29574a99cd656f6d
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions