diff options
| author | 2020-12-21 19:14:30 -0800 | |
|---|---|---|
| committer | 2021-02-01 21:28:52 +0000 | |
| commit | 981787535c543cf82ef6f92ad17e9d15b6dc032f (patch) | |
| tree | 1f4a91421c40cd51265b32fac5e714e7bf46a7d0 /libs/input/KeyCharacterMap.cpp | |
| parent | 87eb2c419ef230366ccbdbe980c4f49b7a70f372 (diff) | |
DisplayEventDispatcher: optimize binder calls
Use DisplayEventReciever::setVsyncRate instead of
DisplayEventReciever::requestNextVsync to accommodate a one-time
registration to vsync events when the app registers back to back
callbacks. With this approach we can save all the binder calls during
a running animation.
Test: run TouchLatency test app and observe systrace
Bug: 162096692
Change-Id: Ib415f2aade40a3d23a2b4c77e5746e5e13666d23
Diffstat (limited to 'libs/input/KeyCharacterMap.cpp')
0 files changed, 0 insertions, 0 deletions