[XProto] Reintroduce connection flushes after PutImage requests
These were removed in [1] because the message loop was changed to TYPE_UI, which automatically flushes. However, if there are a lot of tasks in the queue, the flush may happen later than we'd like, and this increases latency between frames. This CL adds the flushes back in an effort to fix perf regressions. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2343314 R=sky BUG=1119639 Change-Id: I04d6854fce7df69830f421dd81d734a14ae6d5a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2377609 Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Auto-Submit: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#802363}
Showing
Please register or sign in to comment