Try to use SendCommandAndIgnoreResponse when dispatching events
We are proposing to use SendCommandAndIgnoreResponse to dispatch event to avoid waiting for the reply of sending events, so that we can dispatch more than one events in one tick. In order to control the time to send events we need to use tick duration for every tick, it can come from pause action or pointermove action. We have add a default tick duration right now that we will dispatch events in one tick per frame, but changing the tick duration in the Action API will control how many ticks in one frame, so that we can control how often we want to dispatch events. Bug: 606367 Change-Id: Ib4745d37181de0724fe5e84fa32d893840ace910 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1752338 Commit-Queue: Lan Wei <lanwei@chromium.org> Reviewed-by:Navid Zolghadr <nzolghadr@chromium.org> Reviewed-by:
John Chen <johnchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#692232}
Showing
Please register or sign in to comment