x11: Bring back MontionNotify events coalescing
MontionNotify XEvents coalescing logic has been accidentally lost after the PlatformEvent migration CLs have landed (crbug.com/965991), what leads to some performance hit/regressions. This patch adds it back as an attempt to address regressions reported at crbug.com/1051325. Even though the numbers the report seem quite noisy and unstable, [1] shows that this was the major cause for such perf regression. R=thomasanderson@chromium.org [1] https://pinpoint-dot-chromeperf.appspot.com/job/172c2f5a620000 Bug: 1051325, 965991 Change-Id: Ib5d06867d97633c3593584222571b8d910deb304 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2062098Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Nick Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/master@{#742892}
Showing
Please register or sign in to comment