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

Issue 23050018: DevTools: expose layer compositing reasons and paint count via layer tree agent (Closed)

Created:
7 years, 4 months ago by caseq
Modified:
7 years, 3 months ago
Reviewers:
pfeldman
CC:
blink-reviews, blink-layers+watch_chromium.org, caseq+blink_chromium.org, loislo+blink_chromium.org, jamesr, eustas+blink_chromium.org, Rik, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, danakj, devtools-reviews_chromium.org, Stephen Chennney, aandrey+blink_chromium.org, jeez, pdr., vivekg__
Visibility:
Public.

Description

DevTools: expose layer compositing reasons and paint count via layer tree agent This part only includes back-end and model changes. - keep compositing reasons in GraphicsLayer; - fix paint count calculation in GraphicsLayer (was always 0); - drop {setShow,isShowing}RepaintCounter, they're unused; - expose GraphicsLayer::replicatedLayer(), pretend it's a parent for replica layers. BUG= R=pfeldman@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156701

Patch Set 1 #

Total comments: 8

Patch Set 2 : review comments addressed #

Patch Set 3 : added missing test file, try run #

Patch Set 4 : fixed gcc build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -31 lines) Patch
A LayoutTests/inspector/layer-compositing-reasons.html View 1 chunk +82 lines, -0 lines 0 comments Download
A LayoutTests/inspector/layer-compositing-reasons-expected.txt View 1 chunk +19 lines, -0 lines 0 comments Download
M LayoutTests/inspector/layer-tree-model.html View 2 chunks +2 lines, -1 line 0 comments Download
M LayoutTests/inspector/layers-test.js View 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/inspector/resources/composited-iframe.html View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorLayerTreeAgent.h View 1 2 chunks +6 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorLayerTreeAgent.cpp View 1 2 3 5 chunks +109 lines, -12 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayer.h View 1 2 7 chunks +8 lines, -10 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayer.cpp View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M Source/devtools/front_end/LayerTreeModel.js View 1 3 chunks +31 lines, -2 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
caseq
7 years, 4 months ago (2013-08-21 17:13:49 UTC) #1
shawnsingh
It should be mentioned that another approach may be to get the CompositingReasons from the ...
7 years, 4 months ago (2013-08-21 20:08:18 UTC) #2
caseq
> It should be mentioned that another approach may be to get the > CompositingReasons ...
7 years, 4 months ago (2013-08-22 08:56:45 UTC) #3
pfeldman
https://codereview.chromium.org/23050018/diff/1/LayoutTests/inspector/layer-compositing-reasons.html File LayoutTests/inspector/layer-compositing-reasons.html (right): https://codereview.chromium.org/23050018/diff/1/LayoutTests/inspector/layer-compositing-reasons.html#newcode4 LayoutTests/inspector/layer-compositing-reasons.html:4: @-webkit-keyframes rotate { This should be a protocol test. ...
7 years, 4 months ago (2013-08-22 16:49:53 UTC) #4
trchen
https://codereview.chromium.org/23050018/diff/1/Source/core/inspector/InspectorLayerTreeAgent.cpp File Source/core/inspector/InspectorLayerTreeAgent.cpp (right): https://codereview.chromium.org/23050018/diff/1/Source/core/inspector/InspectorLayerTreeAgent.cpp#newcode70 Source/core/inspector/InspectorLayerTreeAgent.cpp:70: // root of graphics layer hierarchy, as platform adds ...
7 years, 4 months ago (2013-08-22 23:02:35 UTC) #5
caseq
On 2013/08/22 16:49:53, pfeldman wrote: > https://codereview.chromium.org/23050018/diff/1/LayoutTests/inspector/layer-compositing-reasons.html > File LayoutTests/inspector/layer-compositing-reasons.html (right): > > https://codereview.chromium.org/23050018/diff/1/LayoutTests/inspector/layer-compositing-reasons.html#newcode4 > ...
7 years, 4 months ago (2013-08-23 08:51:25 UTC) #6
caseq
On 2013/08/22 23:02:35, trchen wrote: > https://codereview.chromium.org/23050018/diff/1/Source/core/inspector/InspectorLayerTreeAgent.cpp > File Source/core/inspector/InspectorLayerTreeAgent.cpp (right): > > https://codereview.chromium.org/23050018/diff/1/Source/core/inspector/InspectorLayerTreeAgent.cpp#newcode70 > ...
7 years, 4 months ago (2013-08-23 08:52:52 UTC) #7
pfeldman
lgtm
7 years, 4 months ago (2013-08-23 11:08:25 UTC) #8
caseq
7 years, 3 months ago (2013-08-26 14:46:57 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 manually as r156701 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698