Commit 1adee11
Jeff Brown
Optimize dispatcher for back-to-back finished signals.
Minor tweak to the dispatcher to handle as many finished signals
in a receive callback as possible instead of going back to
the Looper and waiting for the next poll() to hit the callback
again.
This is part of a series of changes to improve input system pipelining.
Bug: 5963420
Change-Id: I8471107371693e21ce8ce7cca1e8d79ba4ca23511 parent d1c48a0 commit 1adee11
1 file changed
+20
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2043 | 2043 | | |
2044 | 2044 | | |
2045 | 2045 | | |
2046 | | - | |
2047 | | - | |
2048 | | - | |
2049 | | - | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
2050 | 2055 | | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
2051 | 2059 | | |
2052 | | - | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
2053 | 2063 | | |
2054 | 2064 | | |
2055 | | - | |
2056 | | - | |
2057 | | - | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
2058 | 2070 | | |
2059 | 2071 | | |
2060 | 2072 | | |
| |||
0 commit comments