diff options
| author | 2019-11-19 16:23:59 -0800 | |
|---|---|---|
| committer | 2019-12-26 10:28:59 -0800 | |
| commit | 50a931da82f9652ed8adc11360faede693da0aaf (patch) | |
| tree | 99a45c1aec1c2749ef9bc3c5118e9783657910d0 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 60aee1c46b52852e140f05748f69e38f4e3de36e (diff) | |
[AChoreographer] Add private api that decouples from ALooper.
For ease of use by HWUI, we'll get rid of the reliance of a thread-local
ALooper:
* Rather than using AChoreographer_getInstance to access a thread-local
AChoreographer instance, the caller will be expected to create and
destroy its own instnace.
* For use by HWUI's own looper instance, _getFd() will expose the
underlying file descriptor from which events can be listened. The
corresponding choreographer combined callback can be called to flush
pending display events.
Bug: 136262896
Test: builds
Change-Id: I94f102da22974cbad37f21a68d2f04ac0cec5c78
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions