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

Issue 2751433002: [SPv2] Flatten property trees in PaintRecordBuilder into a single display list. (Closed)

Created:
3 years, 9 months ago by chrishtr
Modified:
3 years, 8 months ago
Reviewers:
pdr., trchen
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, fmalita+watch_chromium.org, fs, gyuyoung2, jbroman, Justin Novosad, kinuko+watch, kouhei+svg_chromium.org, pdr+graphicswatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPv2] Flatten property trees in PaintRecordBuilder into a single cc::DisplayItemList. This has the effect of making SPv2 no longer depend at all on paired display items, which have no effect on the SPv2 compositing path. As a result, updated all call sites of PaintRecordBuilder to not use paired display items, and instead simply use canvas or GraphicsContext commands. This will allow us to disable paired display items in (blink-side) SPv2 in a future CL. BUG=665259 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2751433002 Cr-Commit-Position: refs/heads/master@{#460277} Committed: https://chromium.googlesource.com/chromium/src/+/f249b473be53eb04af58e4fa38ce896bba643946

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : none #

Patch Set 8 : none #

Patch Set 9 : none #

Patch Set 10 : none #

Patch Set 11 : none #

Patch Set 12 : none #

Patch Set 13 : none #

Patch Set 14 : none #

Total comments: 1

Patch Set 15 : none #

Patch Set 16 : none #

Patch Set 17 : none #

Total comments: 16

Patch Set 18 : none #

Total comments: 2

Patch Set 19 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -336 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +38 lines, -17 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/borders/border-inner-bleed-expected.png View 1 2 3 4 5 6 7 8 9 10 11 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/printing/absolute-position-headers-and-footers-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/svg/dom/references-in-shadow-trees.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +67 lines, -79 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/SVGShapePainter.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/SVGShapePainter.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +22 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.h View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 chunks +30 lines, -50 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintChunksToCcLayer.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 37 chunks +78 lines, -88 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h View 1 2 3 4 5 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +23 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/PaintPropertyTestHelpers.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/web/PageOverlayTest.cpp View 1 2 3 4 5 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 6 chunks +45 lines, -32 lines 0 comments Download

Messages

Total messages: 48 (34 generated)
chrishtr
https://codereview.chromium.org/2751433002/diff/260001/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp File third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp (right): https://codereview.chromium.org/2751433002/diff/260001/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp#newcode367 third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp:367: paintRecordForCurrentFrame(floatBounds, url), SkShader::kRepeat_TileMode, In this call site, the previous ...
3 years, 9 months ago (2017-03-28 03:57:51 UTC) #18
chrishtr
Updated to fix a couple of small bugs in the printing code and add some ...
3 years, 8 months ago (2017-03-28 19:28:00 UTC) #23
pdr.
Very nice patch. Just nits because it's all I could find. https://codereview.chromium.org/2751433002/diff/320001/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 File third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 (right): ...
3 years, 8 months ago (2017-03-28 21:01:31 UTC) #24
chrishtr
https://codereview.chromium.org/2751433002/diff/320001/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 File third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 (right): https://codereview.chromium.org/2751433002/diff/320001/third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2#newcode1383 third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2:1383: # missing code to account for CompositingRecorder in SPv2 ...
3 years, 8 months ago (2017-03-28 21:43:24 UTC) #27
chrishtr
I also removed the option to replay to a different property tree state in PaintArtifact. ...
3 years, 8 months ago (2017-03-28 21:45:22 UTC) #30
pdr.
LGTM, killer patch
3 years, 8 months ago (2017-03-28 21:49:20 UTC) #31
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/2751433002/340001
3 years, 8 months ago (2017-03-28 21:52:24 UTC) #34
trchen
lgtm so far. Just confirming my understanding correct. https://codereview.chromium.org/2751433002/diff/340001/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h File third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h (right): https://codereview.chromium.org/2751433002/diff/340001/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h#newcode52 third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h:52: // ...
3 years, 8 months ago (2017-03-28 22:28:29 UTC) #35
chrishtr
https://codereview.chromium.org/2751433002/diff/340001/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h File third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h (right): https://codereview.chromium.org/2751433002/diff/340001/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h#newcode52 third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h:52: // into PropertyTreeState::root() space. On 2017/03/28 at 22:28:29, trchen ...
3 years, 8 months ago (2017-03-28 22:40:16 UTC) #36
commit-bot: I haz the power
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/410132)
3 years, 8 months ago (2017-03-29 00:04:40 UTC) #38
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/2751433002/360001
3 years, 8 months ago (2017-03-29 00:56:12 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 8 months ago (2017-03-29 02:57:50 UTC) #43
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/2751433002/360001
3 years, 8 months ago (2017-03-29 03:20:12 UTC) #45
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 04:27:01 UTC) #48
Message was sent while issue was closed.
Committed patchset #19 (id:360001) as
https://chromium.googlesource.com/chromium/src/+/f249b473be53eb04af58e4fa38ce...

Powered by Google App Engine
This is Rietveld 408576698