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

Issue 2621243002: Fix paint offset and clips in SPv2 (Closed)

Created:
3 years, 11 months ago by chrishtr
Modified:
3 years, 11 months ago
Reviewers:
wkorman
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix paint offset and clips in SPv2. Previously we neglected to adjust for the paint offset of a LayoutObject within its transform space. Furthermore, we had some corner-case bugs in clipping. The former is tested by the newly added test as well as PaintLayerTest.CompositedBoundsAbsPosGrandchild. The latter is tested by three of the existing PaintLayerClipper tests. BUG=671864 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2621243002 Cr-Commit-Position: refs/heads/master@{#443743} Committed: https://chromium.googlesource.com/chromium/src/+/013d385f0e25567c5f91eb440e5d5c092e1bb0e1

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Total comments: 8

Patch Set 6 : none #

Patch Set 7 : none #

Total comments: 3

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -31 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 3 4 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.h View 2 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +34 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp View 1 2 3 4 9 chunks +48 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerTest.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 53 (37 generated)
chrishtr
https://codereview.chromium.org/2621243002/diff/80001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp File third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp (right): https://codereview.chromium.org/2621243002/diff/80001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp#newcode220 third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp:220: LayoutPoint clippingRootOffset; The simplest thing to do here is ...
3 years, 11 months ago (2017-01-12 00:16:27 UTC) #20
chrishtr
https://codereview.chromium.org/2621243002/diff/80001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp File third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp (right): https://codereview.chromium.org/2621243002/diff/80001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp#newcode220 third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp:220: LayoutPoint clippingRootOffset; On 2017/01/12 at 00:16:27, chrishtr wrote: > ...
3 years, 11 months ago (2017-01-12 00:28:14 UTC) #21
wkorman
lgtm https://codereview.chromium.org/2621243002/diff/80001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp File third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp (right): https://codereview.chromium.org/2621243002/diff/80001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp#newcode451 third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp:451: // ancestor's fix wrapping https://codereview.chromium.org/2621243002/diff/80001/third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp File third_party/WebKit/Source/core/paint/PaintLayerClipperTest.cpp (right): ...
3 years, 11 months ago (2017-01-12 00:29:18 UTC) #22
chrishtr
https://codereview.chromium.org/2621243002/diff/80001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp File third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp (right): https://codereview.chromium.org/2621243002/diff/80001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp#newcode220 third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp:220: LayoutPoint clippingRootOffset; On 2017/01/12 at 00:28:14, chrishtr wrote: > ...
3 years, 11 months ago (2017-01-12 00:42:54 UTC) #24
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/2621243002/100001
3 years, 11 months ago (2017-01-12 00:44:21 UTC) #26
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/2621243002/120001
3 years, 11 months ago (2017-01-12 00:54:36 UTC) #29
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/362403)
3 years, 11 months ago (2017-01-12 04:55:17 UTC) #31
wkorman
https://codereview.chromium.org/2621243002/diff/120001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp File third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp (right): https://codereview.chromium.org/2621243002/diff/120001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp#newcode219 third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp:219: // PaintLayer.4 nit: '4' typo end of line https://codereview.chromium.org/2621243002/diff/120001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp#newcode455 ...
3 years, 11 months ago (2017-01-12 22:37:36 UTC) #32
chrishtr
https://codereview.chromium.org/2621243002/diff/120001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp File third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp (right): https://codereview.chromium.org/2621243002/diff/120001/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp#newcode219 third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp:219: // PaintLayer.4 On 2017/01/12 at 22:37:35, wkorman wrote: > ...
3 years, 11 months ago (2017-01-13 00:24:03 UTC) #34
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/2621243002/140001
3 years, 11 months ago (2017-01-13 00:25:08 UTC) #36
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-13 02:09:46 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/2621243002/180001
3 years, 11 months ago (2017-01-13 18:54:39 UTC) #41
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-13 21:36:00 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/2621243002/200001
3 years, 11 months ago (2017-01-13 21:59:05 UTC) #46
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/2621243002/260001
3 years, 11 months ago (2017-01-13 22:47:04 UTC) #50
commit-bot: I haz the power
3 years, 11 months ago (2017-01-14 00:50:02 UTC) #53
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/013d385f0e25567c5f91eb440e5d...

Powered by Google App Engine
This is Rietveld 408576698