Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Issue 8820001: Send the pending input event ack before the UpdateRect message (Closed)

Created:
9 years ago by jamesr
Modified:
9 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, dpranke-watch+content_chromium.org, jbates, darin (slow to review)
Visibility:
Public.

Description

Send the pending input event ack before the UpdateRect message This can potentially cut the mouse move, mouse wheel, and touch move latency for platforms that send the UpdateRect_ACK message within the UpdateRect IPC handler. Today, it seems that windows and mac will sometimes send the UpdateRect_ACK synchronously, while linux never will. Patch also includes some extra instrumentation to make this easier to track that we may or may not want to land. BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114141

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add a local and a comment #

Patch Set 3 : merged past antoine's updaterect change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M content/browser/renderer_host/render_widget_host.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_widget.cc View 1 2 2 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jamesr
This probably isn't quite good to land - I've only tested on linux where there ...
9 years ago (2011-12-06 02:02:49 UTC) #1
jamesr
On 2011/12/06 02:02:49, jamesr wrote: > I have a test page for this internally, will ...
9 years ago (2011-12-06 02:23:47 UTC) #2
darin (slow to review)
LGTM http://codereview.chromium.org/8820001/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): http://codereview.chromium.org/8820001/diff/1/content/renderer/render_widget.cc#newcode450 content/renderer/render_widget.cc:450: TRACE_EVENT2("renderer", "HandleMouseMove", nit: maybe this code would be ...
9 years ago (2011-12-06 23:19:48 UTC) #3
jamesr
I've found one case where this is a big win. On platforms that send the ...
9 years ago (2011-12-09 01:53:45 UTC) #4
darin (slow to review)
Very cool! On Thu, Dec 8, 2011 at 5:53 PM, <jamesr@chromium.org> wrote: > I've found ...
9 years ago (2011-12-09 17:41:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/8820001/9001
9 years ago (2011-12-12 20:59:31 UTC) #6
commit-bot: I haz the power
Try job failure for 8820001-9001 (retry) on win_rel for step "base_unittests". It's a second try, ...
9 years ago (2011-12-12 22:43:30 UTC) #7
jamesr
I dunno what commit-bot is talking about, the failure looks unrelated and my tryjobs passed. ...
9 years ago (2011-12-12 23:25:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/8820001/9001
9 years ago (2011-12-12 23:26:10 UTC) #9
commit-bot: I haz the power
9 years ago (2011-12-13 01:35:28 UTC) #10
Change committed as 114141

Powered by Google App Engine
This is Rietveld 408576698