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

Issue 2671853003: [SPInvalidation] Use GeometryMapper in PaintLayerClipper for paint. (Closed)

Created:
3 years, 10 months ago by chrishtr
Modified:
3 years, 10 months ago
Reviewers:
pdr., Xianzhu
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPInvalidation] Use GeometryMapper in PaintLayerClipper for paint. This turns on GeometryMapper for all use-cases of PaintLayerClipper in painting. It does not include any from computing SPv1 compositing or from computing recursive bounding boxes. SPv1 compositing happens before pre-paint, and hence is not available for use of property trees. Recursive bounding boxes, e.g. via PaintLayer::physicalBoundingBoxIncludingStackingChildren, are called during paint invalidation, which cannot currently be supported because they imply access to property trees for children during pre-paint, which have not yet been computed. Future work will fix the problem with PaintLayer::physicalBoundingBoxIncludingStackingChildren. BUG=683733 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2671853003 Cr-Commit-Position: refs/heads/master@{#449899} Committed: https://chromium.googlesource.com/chromium/src/+/56850c99e856e368af5f440d75d8e8bdb13608f1

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : none #

Total comments: 1

Patch Set 7 : none #

Total comments: 10

Patch Set 8 : none #

Total comments: 5

Patch Set 9 : none #

Patch Set 10 : none #

Patch Set 11 : none #

Patch Set 12 : none #

Patch Set 13 : none #

Patch Set 14 : none #

Patch Set 15 : none #

Total comments: 1

Patch Set 16 : Merge branch 'master' into paintlayerclipper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -399 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 3 4 5 6 1 chunk +0 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/fast/css/input-search-padding-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -30 lines 0 comments Download
D third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/fast/forms/search/search-vertical-alignment-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -66 lines 0 comments Download
D third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/fast/forms/search/searchfield-heights-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -40 lines 0 comments Download
D third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/fast/forms/text/text-font-height-mismatch-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -31 lines 0 comments Download
D third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/fast/forms/text/textfield-overflow-by-value-update-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/flag-specific/enable-slimming-paint-v2/fast/replaced/width100percent-searchfield-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -83 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/hixie/mixed/006.xml View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/hixie/mixed/011.xml View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/overflow/overflow-on-foreignObject.svg View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/overflow/overflow-on-foreignObject-expected.png View 1 2 3 4 5 Binary file 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +20 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 2 3 4 5 6 7 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidator.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 chunks +51 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp View 1 2 3 4 5 6 7 7 chunks +17 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp View 1 2 3 4 5 6 7 13 chunks +66 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 2 3 4 5 6 7 13 14 7 chunks +23 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 2 3 4 5 6 7 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +11 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/web/PageWidgetDelegate.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 75 (55 generated)
chrishtr
Running performance tests now. https://codereview.chromium.org/2671853003/diff/100001/third_party/WebKit/LayoutTests/svg/overflow/overflow-on-foreignObject.svg File third_party/WebKit/LayoutTests/svg/overflow/overflow-on-foreignObject.svg (left): https://codereview.chromium.org/2671853003/diff/100001/third_party/WebKit/LayoutTests/svg/overflow/overflow-on-foreignObject.svg#oldcode6 third_party/WebKit/LayoutTests/svg/overflow/overflow-on-foreignObject.svg:6: NOTE: This is currently BROKEN ...
3 years, 10 months ago (2017-02-09 23:32:20 UTC) #31
pdr.
https://codereview.chromium.org/2671853003/diff/120001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2671853003/diff/120001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2820 third_party/WebKit/Source/core/frame/FrameView.cpp:2820: return frame().localFrameRoot()->view()->m_geometryMapper.get(); Can you DCHECK here to prevent calling ...
3 years, 10 months ago (2017-02-10 20:51:08 UTC) #36
chrishtr
https://codereview.chromium.org/2671853003/diff/120001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2671853003/diff/120001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2820 third_party/WebKit/Source/core/frame/FrameView.cpp:2820: return frame().localFrameRoot()->view()->m_geometryMapper.get(); On 2017/02/10 at 20:51:04, pdr. wrote: > ...
3 years, 10 months ago (2017-02-10 22:56:37 UTC) #37
pdr.
https://codereview.chromium.org/2671853003/diff/140001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2671853003/diff/140001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3061 third_party/WebKit/Source/core/frame/FrameView.cpp:3061: // of Nit: indentation. https://codereview.chromium.org/2671853003/diff/140001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp (right): https://codereview.chromium.org/2671853003/diff/140001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp#newcode231 ...
3 years, 10 months ago (2017-02-10 23:19:20 UTC) #40
chrishtr
https://codereview.chromium.org/2671853003/diff/140001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp (right): https://codereview.chromium.org/2671853003/diff/140001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp#newcode231 third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:231: paintLayer.clipper(PaintLayer::DoNotUseGeometryMapper) On 2017/02/10 at 23:19:20, pdr. wrote: > Should ...
3 years, 10 months ago (2017-02-10 23:21:22 UTC) #41
chrishtr
https://codereview.chromium.org/2671853003/diff/140001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2671853003/diff/140001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3061 third_party/WebKit/Source/core/frame/FrameView.cpp:3061: // of On 2017/02/10 at 23:19:20, pdr. wrote: > ...
3 years, 10 months ago (2017-02-10 23:23:22 UTC) #42
pdr.
LGTM % FrameView.cpp comment https://codereview.chromium.org/2671853003/diff/140001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp (right): https://codereview.chromium.org/2671853003/diff/140001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp#newcode231 third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:231: paintLayer.clipper(PaintLayer::DoNotUseGeometryMapper) On 2017/02/10 at 23:21:22, ...
3 years, 10 months ago (2017-02-10 23:23:37 UTC) #43
chrishtr
Cool thanks for the review. The perf job tools are being annoying. Going to commit ...
3 years, 10 months ago (2017-02-10 23:25:46 UTC) #45
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/2671853003/160001
3 years, 10 months ago (2017-02-10 23:26:41 UTC) #46
pdr.
On 2017/02/10 at 23:25:46, chrishtr wrote: > Cool thanks for the review. The perf job ...
3 years, 10 months ago (2017-02-10 23:31:38 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/117034)
3 years, 10 months ago (2017-02-11 01:01:20 UTC) #49
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/2671853003/160001
3 years, 10 months ago (2017-02-11 01:02:38 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/230621)
3 years, 10 months ago (2017-02-11 02:26:25 UTC) #53
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/2671853003/160001
3 years, 10 months ago (2017-02-11 22:06:26 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/230766)
3 years, 10 months ago (2017-02-11 22:47:31 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/2671853003/280001
3 years, 10 months ago (2017-02-12 19:24:29 UTC) #66
chrishtr
https://codereview.chromium.org/2671853003/diff/280001/third_party/WebKit/Source/web/PageWidgetDelegate.cpp File third_party/WebKit/Source/web/PageWidgetDelegate.cpp (right): https://codereview.chromium.org/2671853003/diff/280001/third_party/WebKit/Source/web/PageWidgetDelegate.cpp#newcode86 third_party/WebKit/Source/web/PageWidgetDelegate.cpp:86: view->updateAllLifecyclePhasesExceptPaint(); Fixed this bug in patch set 15. This ...
3 years, 10 months ago (2017-02-12 19:24:34 UTC) #67
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/web/PageWidgetDelegate.cpp: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-12 19:33:49 UTC) #69
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/2671853003/300001
3 years, 10 months ago (2017-02-12 21:01:01 UTC) #72
commit-bot: I haz the power
3 years, 10 months ago (2017-02-12 22:31:42 UTC) #75
Message was sent while issue was closed.
Committed patchset #16 (id:300001) as
https://chromium.googlesource.com/chromium/src/+/56850c99e856e368af5f440d75d8...

Powered by Google App Engine
This is Rietveld 408576698