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

Issue 2830013007: [blink] Skip ancestor clip in PaintLayerPainter for squashed layers. (Closed)

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

Description

[blink] Skip ancestor clip in PaintLayerPainter for squashed layers. The squashing layer passed a differrent painting root that is not the same as the backing's space when painting squashed layers, thus a wrong clip is applied when squashed layers are painted. This was not a problem prior to GeometryMapper-based PaintLayerClipper because the non-GM PaintLayerClipper skipped visual rect optimization in this particular corner case. BUG=712783 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2830013007 Cr-Commit-Position: refs/heads/master@{#467220} Committed: https://chromium.googlesource.com/chromium/src/+/fb28c1b7511ceeb4d47ed42dbeb0676591469fe6

Patch Set 1 #

Total comments: 1

Patch Set 2 : add layout test #

Total comments: 2

Patch Set 3 : aye aye sir #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip.html View 1 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip-expected.html View 1 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 2 1 chunk +11 lines, -1 line 0 comments Download

Messages

Total messages: 20 (12 generated)
trchen
An alternative to https://codereview.chromium.org/2828323003/ WDYT?
3 years, 8 months ago (2017-04-21 23:46:41 UTC) #3
chrishtr
lgtm This approach looks good to me - I like not making PLC more complicated. ...
3 years, 8 months ago (2017-04-23 17:13:44 UTC) #4
chrishtr
Oh actually - not LGTM yet. Please add a test (layout test of this example ...
3 years, 8 months ago (2017-04-23 17:14:06 UTC) #5
trchen
Done. :)
3 years, 8 months ago (2017-04-25 21:45:07 UTC) #11
chrishtr
lgtm https://codereview.chromium.org/2830013007/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp (right): https://codereview.chromium.org/2830013007/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp#newcode768 third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:768: // This workaround a bug in squash layer ...
3 years, 8 months ago (2017-04-25 22:11:05 UTC) #13
trchen
https://codereview.chromium.org/2830013007/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp (right): https://codereview.chromium.org/2830013007/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp#newcode768 third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:768: // This workaround a bug in squash layer painting. ...
3 years, 8 months ago (2017-04-25 23:16:00 UTC) #14
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/2830013007/40001
3 years, 8 months ago (2017-04-25 23:16:50 UTC) #17
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 03:09:51 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/fb28c1b7511ceeb4d47ed42dbeb0...

Powered by Google App Engine
This is Rietveld 408576698