summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2018-12-17 15:27:57 -0800
committer Kevin DuBois <kevindubois@google.com> 2019-02-11 19:09:42 +0000
commit84ab93713351453fa70e6acfdedd18f6702ca199 (patch)
tree7a7d79c3c5bff740f1b9c654908b917b83adae52 /libs/gui/BufferQueueThreadState.cpp
parent13fb886142a12c5aa268b983bb57417ce80c321a (diff)
[gui] Add {add,remove}RegionSamplingListener
Adds addRegionSamplingListener and removeRegionSamplingListener to ISurfaceComposer. This interface will allow a client to register to receive an updated median luma value for a region bounded by a stop layer (i.e., layers behind the stop layer) and the provided Rect any time the display updates. Multiple areas may be sampled, but they must use separate listeners, and the layer traversal will stop at the stop layer with the lesser Z value. Bug: 119639245 Test: New test in I152a9d72640e34e4f83959715cdea409929b9150 Change-Id: Ie420098781ddba02d6eb0d7039d0bf855c204231
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions