Add optional debugging output of what paint chunks go into what layers.
BUG=668342
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/5aa24fc6891c693c3c7f8ceee14e7cb1a0c24ef2
Cr-Commit-Position: refs/heads/master@{#439151}
Description was changed from
==========
none
none
none
none
BUG=
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
to
==========
Add optional debugging output of what paint chunks go into what layers.
BUG=668342
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
https://codereview.chromium.org/2577123002/diff/60001/third_party/WebKit/LayoutTests/paint/invalidation/margin-expected.txt File third_party/WebKit/LayoutTests/paint/invalidation/margin-expected.txt (right): https://codereview.chromium.org/2577123002/diff/60001/third_party/WebKit/LayoutTests/paint/invalidation/margin-expected.txt#newcode13 third_party/WebKit/LayoutTests/paint/invalidation/margin-expected.txt:13: "clientDebugName": "clientDebugName: \"LayoutView #document\"", This is just an example, ...
lgtm
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/Layo...
File third_party/WebKit/LayoutTests/paint/invalidation/margin.html (right):
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/Layo...
third_party/WebKit/LayoutTests/paint/invalidation/margin.html:5:
window.layerTreeAsTextAdditionalFlags =
window.internals.LAYER_TREE_INCLUDES_DEBUG_INFO;
What is decision process re: when to include this in a LayoutTest? Is it for
tests we write now, to validate new compositing logic? Would this eventually
become a default-on? Perhaps worth documenting somewhere in code added in this
change.
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/Layo...
third_party/WebKit/LayoutTests/paint/invalidation/margin.html:6:
window.internals.startStoringCompositedLayerDebugInfo(document);
Do we need to add something to reset-state between tests, to keep this from
persisting across reuse of the content shells? Like in
{Internals,InternalSettings}::resetToConsistentState.
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/Sour...
File
third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h
(right):
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h:53:
// if LayerTreeIncludesDebugInfo is specified.
This read to me as if the debug info will only be stored if storeDebugInfo is
true *and* the LayerTreeIncludesDebugInfo flag is specified. Add parens around
the second part, or could just stay "...detailed debugging info in the layers
for use by layersAsJSON as needed."
chrishtr
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/LayoutTests/paint/invalidation/margin.html File third_party/WebKit/LayoutTests/paint/invalidation/margin.html (right): https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/LayoutTests/paint/invalidation/margin.html#newcode5 third_party/WebKit/LayoutTests/paint/invalidation/margin.html:5: window.layerTreeAsTextAdditionalFlags = window.internals.LAYER_TREE_INCLUDES_DEBUG_INFO; On 2016/12/15 at 21:36:05, wkorman wrote: ...
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/Layo...
File third_party/WebKit/LayoutTests/paint/invalidation/margin.html (right):
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/Layo...
third_party/WebKit/LayoutTests/paint/invalidation/margin.html:5:
window.layerTreeAsTextAdditionalFlags =
window.internals.LAYER_TREE_INCLUDES_DEBUG_INFO;
On 2016/12/15 at 21:36:05, wkorman wrote:
> What is decision process re: when to include this in a LayoutTest? Is it for
tests we write now, to validate new compositing logic? Would this eventually
become a default-on? Perhaps worth documenting somewhere in code added in this
change.
I'm thinking it should be used for all tests which verify detailed compositing
triggers. I'm not totally sure yet though, want to see what works
best when converting tests.
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/Layo...
third_party/WebKit/LayoutTests/paint/invalidation/margin.html:6:
window.internals.startStoringCompositedLayerDebugInfo(document);
On 2016/12/15 at 21:36:05, wkorman wrote:
> Do we need to add something to reset-state between tests, to keep this from
persisting across reuse of the content shells? Like in
{Internals,InternalSettings}::resetToConsistentState.
It's set on a FrameView, which is an object that only lives as long as its
containing webpage frame. So it will get reset "automatically".
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/Sour...
File
third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h
(right):
https://codereview.chromium.org/2577123002/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h:53:
// if LayerTreeIncludesDebugInfo is specified.
On 2016/12/15 at 21:36:05, wkorman wrote:
> This read to me as if the debug info will only be stored if storeDebugInfo is
true *and* the LayerTreeIncludesDebugInfo flag is specified. Add parens around
the second part, or could just stay "...detailed debugging info in the layers
for use by layersAsJSON as needed."
Done.
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/351133)
Description was changed from
==========
Add optional debugging output of what paint chunks go into what layers.
BUG=668342
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
to
==========
Add optional debugging output of what paint chunks go into what layers.
BUG=668342
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2577123002
==========
Description was changed from
==========
Add optional debugging output of what paint chunks go into what layers.
BUG=668342
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2577123002
==========
to
==========
Add optional debugging output of what paint chunks go into what layers.
BUG=668342
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/5aa24fc6891c693c3c7f8ceee14e7cb1a0c24ef2
Cr-Commit-Position: refs/heads/master@{#439151}
==========
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/5aa24fc6891c693c3c7f8ceee14e7cb1a0c24ef2 Cr-Commit-Position: refs/heads/master@{#439151}
Issue 2577123002: Add optional debugging output of what paint chunks go into what layers.
(Closed)
Created 4 years ago by chrishtr
Modified 4 years ago
Reviewers: wkorman
Base URL:
Comments: 7