Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Issue 2011063002: cc: Use ScreenSpaceTransform to determine content scale (Closed)

Created:
4 years, 6 months ago by sunxd
Modified:
4 years, 6 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Use ScreenSpaceTransform to determine content scale ScreenSpaceTransform should be used to determine the ideal content scale as TargetSpaceTransform will no longer be cached in transform tree. Because of the way sublayer scale works, the scale component of TargetSpaceTransform is the same as the scale component of ScreenSpaceTransform. The switching results in a different behavior because of snapping float transforms, thus a manual rebaseline is needed for layout test. BUG=597721 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/c5d4fb49b677d6c68687dd3dcca8c0000d786169 Cr-Commit-Position: refs/heads/master@{#396389}

Patch Set 1 #

Patch Set 2 : Fix unit test #

Patch Set 3 : Layout test needs rebaseline #

Total comments: 2

Patch Set 4 : Make layout test need-auto-rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -4 lines) Patch
M cc/layers/layer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_image_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_host_common_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 2 chunks +13 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
sunxd
4 years, 6 months ago (2016-05-26 21:28:26 UTC) #4
jaydasika
lgtm % (ajuma or vollick)
4 years, 6 months ago (2016-05-26 21:42:40 UTC) #5
ajuma
lgtm. Might be worth mentioning in the description that because of the way sublayer scale ...
4 years, 6 months ago (2016-05-26 21:45:10 UTC) #6
sunxd
https://codereview.chromium.org/2011063002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2011063002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations#newcode535 third_party/WebKit/LayoutTests/TestExpectations:535: crbug.com/597721 compositing/overflow/nested-render-surfaces-with-rotation.html [ NeedsManualRebaseline ] On 2016/05/26 21:45:10, ajuma ...
4 years, 6 months ago (2016-05-27 01:23:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2011063002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2011063002/60001
4 years, 6 months ago (2016-05-27 01:24:23 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-05-27 04:40:20 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 04:42:00 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c5d4fb49b677d6c68687dd3dcca8c0000d786169
Cr-Commit-Position: refs/heads/master@{#396389}

Powered by Google App Engine
This is Rietveld 408576698