diff options
| author | 2017-07-18 11:05:49 -0600 | |
|---|---|---|
| committer | 2017-07-31 15:34:11 +0000 | |
| commit | a2eb34cfbe089deb9a519e9702e17d9dfe26f9e8 (patch) | |
| tree | 292e7d3fb3a109268e8e5304b789023b10ecbbbf /libs/input/KeyLayoutMap.cpp | |
| parent | 8cbab7c3c93c1bc9364a81726f02eeacc4a9356b (diff) | |
Have the Surface class track the buffer age.
Have the Surface class track the buffer age, so that Surface::query()
can return the buffer age without having to use a binder call to
BufferQueueProducer::query(). The idea is for
BufferQueueProducer::dequeueBuffer() to return the value, which the
Surface class will cache for later use by Surface::query().
Bug: b/27903668
Test: Use systrace to no ensure query binder call after dequeueBuffer.
Change-Id: I106a7bd27461d381f0bd84df70d804de56a128ab
(cherry picked from commit d11b044864be525a1646f93106ab496195bb8239)
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions