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

Issue 2015433004: Add main thread scrolling reasons to GraphicsLayer::layerTreeAsJSON. (Closed)

Created:
4 years, 7 months ago by sahel
Modified:
4 years, 5 months ago
Reviewers:
Ian Vollick, bokan
CC:
ajuma+watch_chromium.org, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

The mainThreadScrollingReasons are added to GraphicsLayerDebugInfo. The scrolling reason is added when it isn't kNotScrollingOnMain. No tests written for this cl. BUG=569086 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/7827029dfc7f728e6f328f897c102acf1fccfb6b Cr-Commit-Position: refs/heads/master@{#405490}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 #

Patch Set 5 : #

Patch Set 6 : main thread scrlling reasons added to GraphicsLayerDebugInfo. #

Total comments: 3

Patch Set 7 : #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -24 lines) Patch
M cc/input/main_thread_scrolling_reason.h View 1 2 3 4 5 6 2 chunks +58 lines, -0 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -0 lines 0 comments Download
M cc/layers/layer_client.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp View 1 2 3 4 5 6 4 chunks +8 lines, -0 lines 0 comments Download
M ui/compositor/layer.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 66 (25 generated)
sahel
4 years, 7 months ago (2016-05-25 21:20:53 UTC) #3
tdresser
Ian, is this what you were thinking, or should we map the scrolling reasons to ...
4 years, 7 months ago (2016-05-26 13:32:04 UTC) #5
Ian Vollick
On 2016/05/26 13:32:04, tdresser wrote: > Ian, is this what you were thinking, or should ...
4 years, 7 months ago (2016-05-26 13:47:14 UTC) #6
jbroman
On 2016/05/26 at 13:47:14, vollick wrote: > On 2016/05/26 13:32:04, tdresser wrote: > > Ian, ...
4 years, 7 months ago (2016-05-26 14:08:33 UTC) #7
sahel
On 2016/05/26 14:08:33, jbroman wrote: > On 2016/05/26 at 13:47:14, vollick wrote: > > On ...
4 years, 6 months ago (2016-06-06 20:44:17 UTC) #8
sahel
I couldn't include from core/... due to dependency rules. So, I moved the helper function ...
4 years, 5 months ago (2016-06-30 15:30:45 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2015433004/20001
4 years, 5 months ago (2016-06-30 15:31:36 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/253230)
4 years, 5 months ago (2016-06-30 16:15:50 UTC) #14
tdresser
Deferring to vollick@, who has a better idea of what we want here. Did we ...
4 years, 5 months ago (2016-07-01 14:36:01 UTC) #15
Ian Vollick
On 2016/07/01 14:36:01, tdresser wrote: > Deferring to vollick@, who has a better idea of ...
4 years, 5 months ago (2016-07-05 20:11:28 UTC) #16
Ian Vollick
On 2016/07/05 20:11:28, vollick wrote: > On 2016/07/01 14:36:01, tdresser wrote: > > Deferring to ...
4 years, 5 months ago (2016-07-05 21:02:03 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2015433004/60001
4 years, 5 months ago (2016-07-06 19:25:44 UTC) #20
sahel
Added LayerTreeIncludesScrollLayer flag, as we discussed with vollick@. By using this flag, I got rid ...
4 years, 5 months ago (2016-07-06 19:27:39 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/88040)
4 years, 5 months ago (2016-07-06 20:33:17 UTC) #23
sahel
I added the flag to Internals.idl and changed the layout test to read the flag ...
4 years, 5 months ago (2016-07-07 15:15:13 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2015433004/80001
4 years, 5 months ago (2016-07-07 15:25:09 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/88083)
4 years, 5 months ago (2016-07-07 16:34:01 UTC) #28
Ian Vollick
On 2016/07/06 at 20:33:17, commit-bot wrote: > Dry run: Try jobs failed on following builders: ...
4 years, 5 months ago (2016-07-08 13:35:12 UTC) #30
sahel
4 years, 5 months ago (2016-07-12 14:25:08 UTC) #32
tdresser
-me, as vollick is a better reviewer here.
4 years, 5 months ago (2016-07-12 14:29:17 UTC) #33
Ian Vollick
https://codereview.chromium.org/2015433004/diff/140001/cc/input/main_thread_scrolling_reason.h File cc/input/main_thread_scrolling_reason.h (right): https://codereview.chromium.org/2015433004/diff/140001/cc/input/main_thread_scrolling_reason.h#newcode81 cc/input/main_thread_scrolling_reason.h:81: uint32_t reasons) { Perhaps this could convert to a ...
4 years, 5 months ago (2016-07-12 15:12:13 UTC) #34
sahel
https://codereview.chromium.org/2015433004/diff/140001/cc/input/main_thread_scrolling_reason.h File cc/input/main_thread_scrolling_reason.h (right): https://codereview.chromium.org/2015433004/diff/140001/cc/input/main_thread_scrolling_reason.h#newcode81 cc/input/main_thread_scrolling_reason.h:81: uint32_t reasons) { On 2016/07/12 15:12:13, vollick wrote: > ...
4 years, 5 months ago (2016-07-12 17:20:59 UTC) #35
Ian Vollick
On 2016/07/12 at 17:20:59, sahel wrote: > https://codereview.chromium.org/2015433004/diff/140001/cc/input/main_thread_scrolling_reason.h > File cc/input/main_thread_scrolling_reason.h (right): > > https://codereview.chromium.org/2015433004/diff/140001/cc/input/main_thread_scrolling_reason.h#newcode81 ...
4 years, 5 months ago (2016-07-12 17:27:34 UTC) #36
tdresser
Actually -me.
4 years, 5 months ago (2016-07-12 17:40:30 UTC) #37
sahel
I changed the MainThreadScrollingReason helper function as recommended to avoid using vectors. https://codereview.chromium.org/2015433004/diff/140001/cc/input/main_thread_scrolling_reason.h File cc/input/main_thread_scrolling_reason.h ...
4 years, 5 months ago (2016-07-12 20:35:24 UTC) #39
Ian Vollick
On 2016/07/12 at 20:35:24, sahel wrote: > I changed the MainThreadScrollingReason helper function as recommended ...
4 years, 5 months ago (2016-07-12 21:05:25 UTC) #40
sahel
@bokan please review the following file. third_party/WebKit/Source/web/PageOverlay.cpp Thanks
4 years, 5 months ago (2016-07-12 21:31:03 UTC) #42
bokan
Is the intent that we want to add this debugging info any time we add ...
4 years, 5 months ago (2016-07-12 22:35:53 UTC) #43
sahel
On 2016/07/12 22:35:53, bokan wrote: > Is the intent that we want to add this ...
4 years, 5 months ago (2016-07-13 14:11:26 UTC) #44
bokan
On 2016/07/13 14:11:26, sahel wrote: > On 2016/07/12 22:35:53, bokan wrote: > > Is the ...
4 years, 5 months ago (2016-07-13 14:36:04 UTC) #45
sahel
I implemented the didUpdateMainThreadScrollingReasons as recommended.
4 years, 5 months ago (2016-07-13 16:54:54 UTC) #46
bokan
Thanks! Just a nit/question but otherwise lgtm. https://codereview.chromium.org/2015433004/diff/180001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2015433004/diff/180001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode350 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:350: scrollbarGraphicsLayer->debugInfo().setMainThreadScrollingReasons(scrollbarGraphicsLayer->platformLayer()->mainThreadScrollingReasons()); You ...
4 years, 5 months ago (2016-07-13 17:00:37 UTC) #49
sahel
https://codereview.chromium.org/2015433004/diff/180001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/2015433004/diff/180001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode350 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:350: scrollbarGraphicsLayer->debugInfo().setMainThreadScrollingReasons(scrollbarGraphicsLayer->platformLayer()->mainThreadScrollingReasons()); On 2016/07/13 17:00:37, bokan wrote: > You shouldn't ...
4 years, 5 months ago (2016-07-13 17:14:30 UTC) #50
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names without "master." prefix is ...
4 years, 5 months ago (2016-07-13 20:04:22 UTC) #53
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-13 21:01:34 UTC) #54
sahel
On 2016/07/13 21:01:34, commit-bot: I haz the power wrote: > Your CL relies on deprecated ...
4 years, 5 months ago (2016-07-14 14:30:05 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2015433004/220001
4 years, 5 months ago (2016-07-14 14:30:31 UTC) #60
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-14 14:30:34 UTC) #61
commit-bot: I haz the power
Committed patchset #10 (id:220001)
4 years, 5 months ago (2016-07-14 14:35:26 UTC) #63
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 14:35:35 UTC) #64
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 14:37:20 UTC) #66
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/7827029dfc7f728e6f328f897c102acf1fccfb6b
Cr-Commit-Position: refs/heads/master@{#405490}

Powered by Google App Engine
This is Rietveld 408576698