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

Issue 20994007: Add impl/comp scrolling instrumentation. (Closed)

Created:
7 years, 4 months ago by Ian Vollick
Modified:
7 years, 2 months ago
Reviewers:
danakj, dsinclair
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, apatrick_chromium, hartmanng
Visibility:
Public.

Description

Add impl/comp scrolling instrumentation. While developing universal overflow scroll, I added a number of trace events that will, I think, be of general use. I've created this patch to add them on their own since they're not really related to the rest of that work. The goal is to allow someone to run chrome with the flag --trace-to-console=impl-scroll and see, at a glance, how the impl-scroll code path works. It's intended to be educational. R=danakj@chromium.org,enne@chromium.org BUG=None

Patch Set 1 #

Total comments: 17

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -12 lines) Patch
M cc/base/math_util.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M cc/base/math_util.cc View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 5 chunks +46 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 2 chunks +19 lines, -0 lines 1 comment Download
M cc/trees/layer_tree_host_common.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 5 chunks +45 lines, -1 line 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 2 chunks +25 lines, -1 line 0 comments Download
M content/renderer/gpu/input_handler_proxy.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Ian Vollick
7 years, 4 months ago (2013-07-29 14:28:10 UTC) #1
danakj
https://codereview.chromium.org/20994007/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/20994007/diff/1/cc/layers/layer_impl.cc#newcode259 cc/layers/layer_impl.cc:259: "scrollX", sent_scroll_delta.x(), scroll_x? https://codereview.chromium.org/20994007/diff/1/cc/layers/layer_impl.cc#newcode260 cc/layers/layer_impl.cc:260: "scrollY", sent_scroll_delta.y()); scroll_y? https://codereview.chromium.org/20994007/diff/1/cc/layers/layer_impl.cc#newcode268 ...
7 years, 4 months ago (2013-07-29 17:16:07 UTC) #2
enne (OOO)
https://codereview.chromium.org/20994007/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/20994007/diff/1/cc/layers/layer_impl.cc#newcode268 cc/layers/layer_impl.cc:268: "scrollX", scroll.x(), On 2013/07/29 17:16:08, danakj wrote: > same. ...
7 years, 4 months ago (2013-07-29 17:46:31 UTC) #3
Ian Vollick
This latest patch has the AsValue stuff you'd both mentioned, the layerId->layer_id renames Dana mentioned ...
7 years, 4 months ago (2013-07-30 19:37:26 UTC) #4
dsinclair
https://codereview.chromium.org/20994007/diff/25001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/20994007/diff/25001/cc/trees/layer_tree_host.cc#newcode1004 cc/trees/layer_tree_host.cc:1004: TRACE_EVENT_ASYNC_BEGIN0( Why not TRACE_EVENT_BEGIN0 and END0 below?
7 years, 4 months ago (2013-08-08 17:30:14 UTC) #5
danakj
ping, is this still meant to land?
7 years, 2 months ago (2013-09-26 19:21:59 UTC) #6
Ian Vollick
7 years, 2 months ago (2013-09-27 02:43:17 UTC) #7
On 2013/09/26 19:21:59, danakj wrote:
> ping, is this still meant to land?

nah, I'll close.

Powered by Google App Engine
This is Rietveld 408576698