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

Issue 2862053002: Reland of Don't pass subpixel offsets through non-translation transforms (Closed)

Created:
3 years, 7 months ago by Xianzhu
Modified:
3 years, 7 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

Reland of Don't pass subpixel offsets through non-translation transforms (patchset #1 id:1 of https://codereview.chromium.org/2859483004/ ) Reason for revert: Just to create a CL for the base of relanding. Original issue's description: > Revert of Don't pass subpixel offsets through non-translation transforms (patchset #7 id:120001 of https://codereview.chromium.org/2847873002/ ) > > Reason for revert: > BUG=717882 > > Original issue's description: > > Don't pass subpixel offsets through non-translation transforms > > > > Non-translation transforms will change direction and/or scale, etc. > > of offsets thus making subpixel accumulation through the transform > > meaningless. > > > > This CL addresses the issue in PaintLayerPainter and > > PaintPropertyTreeBuilder. We still need to address the issue in > > CompositedLayerMapping (crbug.com/716163). > > > > BUG=710665 > > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 > > > > Review-Url: https://codereview.chromium.org/2847873002 > > Cr-Commit-Position: refs/heads/master@{#468516} > > Committed: https://chromium.googlesource.com/chromium/src/+/098430b33423191b06dc32f13de764076cf60394 > > TBR=chrishtr@chromium.org > # Not skipping CQ checks because original CL landed more than 1 days ago. > BUG=710665 > > Review-Url: https://codereview.chromium.org/2859483004 > Cr-Commit-Position: refs/heads/master@{#469054} > Committed: https://chromium.googlesource.com/chromium/src/+/763e91015ba203feaa3b27c77ce4aa52638ec6e4 # Skipping CQ checks because original CL landed less than 1 days ago. BUG=717882 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2862053002 Cr-Commit-Position: refs/heads/master@{#469772} Committed: https://chromium.googlesource.com/chromium/src/+/34718d4879fbba5182af5611438da97f17058142

Patch Set 1 #

Total comments: 1

Patch Set 2 : - #

Patch Set 3 : Rebaseline #

Patch Set 4 : - #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -169 lines) Patch
A third_party/WebKit/LayoutTests/paint/invalidation/subpixel-offset-scaled-transform.html View 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/subpixel-offset-scaled-transform-expected.html View 1 1 chunk +6 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/paint/invalidation/subpixel-offset-scaled-transform-expected.txt View 1 2 chunks +5 lines, -5 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/transforms/subpixel-scale-align.html View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/transforms/subpixel-scale-align-expected.html View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/editing/selection/transformed-selection-rects-expected.png View 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/reflection-repaint-test-expected.txt View 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/svg/animated-path-inside-transformed-html-expected.txt View 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/transform-inline-layered-child-expected.txt View 2 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/transform-layout-repaint-expected.txt View 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/editing/selection/transformed-selection-rects-expected.png View 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/transforms/transform-on-inline-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/svg/animated-path-inside-transformed-html-expected.txt View 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/disable-spinvalidation/paint/invalidation/transform-inline-layered-child-expected.txt View 2 1 chunk +0 lines, -5 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/reflection-repaint-test-expected.txt View 2 1 chunk +0 lines, -41 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/svg/animated-path-inside-transformed-html-expected.txt View 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/transform-inline-layered-child-expected.txt View 2 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/disable-spinvalidation/paint/invalidation/transform-layout-repaint-expected.txt View 2 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/invalidation-with-scale-transform-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/subpixel-offset-scaled-transform-expected.txt View 1 1 chunk +43 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 3 chunks +31 lines, -27 lines 4 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 2 chunks +10 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 chunks +13 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 2 2 chunks +98 lines, -37 lines 0 comments Download

Messages

Total messages: 40 (31 generated)
Xianzhu
Created Reland of Don't pass subpixel offsets through non-translation transforms
3 years, 7 months ago (2017-05-04 18:33:38 UTC) #1
chrishtr
https://codereview.chromium.org/2862053002/diff/1/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp (right): https://codereview.chromium.org/2862053002/diff/1/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp#newcode847 third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:847: delta += painting_info.sub_pixel_accumulation; Perhaps the bug here that caused ...
3 years, 7 months ago (2017-05-04 18:39:02 UTC) #2
Xianzhu
Now snap transform to pixels, and discard remainder for non-translate transforms. PTAL.
3 years, 7 months ago (2017-05-05 15:54:09 UTC) #28
chrishtr
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1213 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1213: if (!StyleRef().Preserves3D()) { Why remove the SPv2 condition here?
3 years, 7 months ago (2017-05-05 16:04:44 UTC) #29
Xianzhu
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1213 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1213: if (!StyleRef().Preserves3D()) { On 2017/05/05 16:04:44, chrishtr wrote: > ...
3 years, 7 months ago (2017-05-05 16:14:51 UTC) #30
Xianzhu
https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1213 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1213: if (!StyleRef().Preserves3D()) { On 2017/05/05 16:14:51, Xianzhu wrote: > ...
3 years, 7 months ago (2017-05-05 16:16:03 UTC) #31
chrishtr
lgtm https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2862053002/diff/340001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1213 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1213: if (!StyleRef().Preserves3D()) { On 2017/05/05 at 16:14:51, Xianzhu ...
3 years, 7 months ago (2017-05-05 16:17:19 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/2862053002/340001
3 years, 7 months ago (2017-05-05 20:52:33 UTC) #36
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 21:30:28 UTC) #40
Message was sent while issue was closed.
Committed patchset #4 (id:340001) as
https://chromium.googlesource.com/chromium/src/+/34718d4879fbba5182af5611438d...

Powered by Google App Engine
This is Rietveld 408576698