commit | 981787535c543cf82ef6f92ad17e9d15b6dc032f | [log] [tgz] |
---|---|---|
author | Ady Abraham <adyabr@google.com> | Mon Dec 21 19:14:30 2020 -0800 |
committer | Ady Abraham <adyabr@google.com> | Mon Feb 01 21:28:52 2021 +0000 |
tree | 1f4a91421c40cd51265b32fac5e714e7bf46a7d0 | |
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