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

Issue 2238853005: Use GeometryMapper in PaintInvalidator (Closed)

Created:
4 years, 4 months ago by Xianzhu
Modified:
4 years, 4 months ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@GeometryMapperMore
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use GeometryMapper in PaintInvalidator BUG=510908 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/20b2f4f14209404d0b124c56ccd26ea5bbfc6c3b Cr-Commit-Position: refs/heads/master@{#412877}

Patch Set 1 #

Patch Set 2 : GeometryMapper #

Patch Set 3 : - #

Total comments: 11

Patch Set 4 : - #

Total comments: 2

Patch Set 5 : . #

Patch Set 6 : Rebase #

Patch Set 7 : - #

Patch Set 8 : Rebase #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -46 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 3 4 5 6 8 chunks +36 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidator.h View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidator.cpp View 1 2 3 4 5 6 3 chunks +53 lines, -36 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/SVGRootPainter.cpp View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 51 (33 generated)
Xianzhu
Ptal. The layout test failures on spv2 try bot are not trivial to fix in ...
4 years, 4 months ago (2016-08-12 16:14:51 UTC) #8
pdr.
Looks good overall. Those SVG failures are a known issue, sorry you had to find ...
4 years, 4 months ago (2016-08-12 17:59:58 UTC) #9
chrishtr
Sweet! https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode18 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:18: #include "core/paint/PaintPropertyTreePrinter.h" Remove https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode42 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:42: result = LayoutRect(GeometryMapper().mapToVisualRectInDestinationSpace(rect, ...
4 years, 4 months ago (2016-08-12 18:20:53 UTC) #10
Xianzhu
https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp File third_party/WebKit/Source/core/paint/SVGRootPainter.cpp (right): https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp#newcode32 third_party/WebKit/Source/core/paint/SVGRootPainter.cpp:32: if (!size.isEmpty()) { On 2016/08/12 17:59:58, pdr. wrote: > ...
4 years, 4 months ago (2016-08-12 18:22:39 UTC) #11
pdr.
On 2016/08/12 at 18:22:39, wangxianzhu wrote: > https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp > File third_party/WebKit/Source/core/paint/SVGRootPainter.cpp (right): > > https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp#newcode32 ...
4 years, 4 months ago (2016-08-12 18:23:54 UTC) #12
Xianzhu
https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode18 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:18: #include "core/paint/PaintPropertyTreePrinter.h" On 2016/08/12 18:20:53, chrishtr wrote: > Remove ...
4 years, 4 months ago (2016-08-12 18:37:51 UTC) #13
chrishtr
https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode42 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:42: result = LayoutRect(GeometryMapper().mapToVisualRectInDestinationSpace(rect, currentTreeState, containerTreeState, success)); On 2016/08/12 at ...
4 years, 4 months ago (2016-08-12 18:40:28 UTC) #14
Xianzhu
https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2238853005/diff/40001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode42 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:42: result = LayoutRect(GeometryMapper().mapToVisualRectInDestinationSpace(rect, currentTreeState, containerTreeState, success)); On 2016/08/12 18:40:28, ...
4 years, 4 months ago (2016-08-12 19:16:29 UTC) #17
chrishtr
https://codereview.chromium.org/2238853005/diff/60001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2238853005/diff/60001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode81 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:81: point = GeometryMapper().mapRectToDestinationSpace(FloatRect(point, FloatSize()), currentTreeState, containerTreeState, success).location(); What about ...
4 years, 4 months ago (2016-08-12 19:46:12 UTC) #18
chrishtr
Feel free to commit without my LGTM since I'll be on vacation. Just wanted an ...
4 years, 4 months ago (2016-08-12 23:07:07 UTC) #21
Xianzhu
https://codereview.chromium.org/2238853005/diff/60001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp File third_party/WebKit/Source/core/paint/PaintInvalidator.cpp (right): https://codereview.chromium.org/2238853005/diff/60001/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp#newcode81 third_party/WebKit/Source/core/paint/PaintInvalidator.cpp:81: point = GeometryMapper().mapRectToDestinationSpace(FloatRect(point, FloatSize()), currentTreeState, containerTreeState, success).location(); On 2016/08/12 ...
4 years, 4 months ago (2016-08-13 00:51:16 UTC) #22
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/2238853005/80001
4 years, 4 months ago (2016-08-13 00:51:39 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/51625) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-13 00:54:01 UTC) #27
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/2238853005/100001
4 years, 4 months ago (2016-08-13 18:12:40 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/49)
4 years, 4 months ago (2016-08-13 19:00:33 UTC) #32
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/2238853005/160001
4 years, 4 months ago (2016-08-18 16:03:37 UTC) #47
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 4 months ago (2016-08-18 17:36:54 UTC) #49
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 17:41:28 UTC) #51
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/20b2f4f14209404d0b124c56ccd26ea5bbfc6c3b
Cr-Commit-Position: refs/heads/master@{#412877}

Powered by Google App Engine
This is Rietveld 408576698