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

Issue 1325803002: Apply skew on both axes together rather than sequentially on Compositor thread (Closed)

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

Description

Apply skew on both axes together rather than sequentially on Compositor thread. Currently skew is not implemented correctly on the Compositor thread. Instead of calling skew(angle_x, angle_y), the implementation calls skewX(angle_x) followed by skewY(angle_y). This leads to a different result. This patch applied skew on both axes together rather than calling skewX(angle_x) and skewX(angle_Y) sequentially. FF and IE correctly call skew(angle_x, angle_y). BUG=268468 Committed: https://crrev.com/8ca8ee6d5165acb571a5f9d298ca3d80310e5f15 Cr-Commit-Position: refs/heads/master@{#347089}

Patch Set 1 #

Patch Set 2 : Alter unit tests #

Patch Set 3 : Remove all code pertaining to skewX and skewY #

Patch Set 4 : Removing strays references pertaining to skewX and skewY #

Total comments: 4

Patch Set 5 : Compilation failures #

Patch Set 6 : Redeclaration errors #

Patch Set 7 : Trybot failures #

Total comments: 2

Patch Set 8 : Add missing skewY test #

Total comments: 2

Patch Set 9 : Test for skewY #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -79 lines) Patch
M cc/animation/transform_operation.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/animation/transform_operations.cc View 1 chunk +1 line, -2 lines 0 comments Download
M cc/animation/transform_operations_unittest.cc View 1 5 chunks +5 lines, -10 lines 0 comments Download
M cc/base/float_quad_unittest.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/converters/surfaces/tests/surface_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/transform.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M ui/gfx/transform.cc View 1 2 1 chunk +2 lines, -10 lines 0 comments Download
M ui/gfx/transform_unittest.cc View 1 2 3 4 5 6 7 8 11 chunks +40 lines, -46 lines 0 comments Download
M ui/gfx/transform_util_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (6 generated)
nainar1
Hi all, Could you please take a look at the patch? Thanks!
5 years, 3 months ago (2015-09-01 08:00:10 UTC) #2
ajuma
Mostly looks good. Please look into the remaining compilation failures (try building cc_unittests locally; that ...
5 years, 3 months ago (2015-09-01 13:25:10 UTC) #3
nainar1
Hi ajuma, I have incorporated your comments, please take a look at the latest patch ...
5 years, 3 months ago (2015-09-02 01:43:33 UTC) #5
ajuma
Thanks, lgtm with nit: https://codereview.chromium.org/1325803002/diff/120001/ui/gfx/transform_unittest.cc File ui/gfx/transform_unittest.cc (right): https://codereview.chromium.org/1325803002/diff/120001/ui/gfx/transform_unittest.cc#newcode1944 ui/gfx/transform_unittest.cc:1944: A.Skew(45.0, 0.0); This should skew ...
5 years, 3 months ago (2015-09-02 13:15:52 UTC) #7
nainar
Hi ajuma, Please see my reply to your comment. Will commit after receiving alancutter and ...
5 years, 3 months ago (2015-09-02 13:37:06 UTC) #8
ajuma
Note that you'll also need OWNERS reviews for the changes outside cc/. https://codereview.chromium.org/1325803002/diff/140001/ui/gfx/transform_unittest.cc File ui/gfx/transform_unittest.cc ...
5 years, 3 months ago (2015-09-02 13:43:08 UTC) #9
nainar
Would the owners in this case be vollick and sky? https://codereview.chromium.org/1325803002/diff/140001/ui/gfx/transform_unittest.cc File ui/gfx/transform_unittest.cc (right): https://codereview.chromium.org/1325803002/diff/140001/ui/gfx/transform_unittest.cc#newcode1940 ...
5 years, 3 months ago (2015-09-02 14:02:25 UTC) #10
ajuma
On 2015/09/02 14:02:25, nainar1 wrote: > Would the owners in this case be vollick and ...
5 years, 3 months ago (2015-09-02 14:06:33 UTC) #11
nainar
Thank you! Adding them to reviewers.
5 years, 3 months ago (2015-09-02 14:08:05 UTC) #12
nainar
Adding owners as reviewers: +sky for mojo/ +vollick for ui/gfx/ Thanks!
5 years, 3 months ago (2015-09-02 14:18:03 UTC) #14
Ian Vollick
On 2015/09/02 14:18:03, nainar1 wrote: > Adding owners as reviewers: > > +sky for mojo/ ...
5 years, 3 months ago (2015-09-02 14:26:58 UTC) #15
sky
LGTM
5 years, 3 months ago (2015-09-02 15:42:15 UTC) #16
Timothy Loh
lgtm
5 years, 3 months ago (2015-09-02 21:09:21 UTC) #17
alancutter (OOO until 2018)
lgtm
5 years, 3 months ago (2015-09-03 00:55:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1325803002/150011 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1325803002/150011
5 years, 3 months ago (2015-09-03 00:57:08 UTC) #21
commit-bot: I haz the power
Committed patchset #9 (id:150011)
5 years, 3 months ago (2015-09-03 01:04:16 UTC) #22
commit-bot: I haz the power
5 years, 3 months ago (2015-09-03 01:05:08 UTC) #23
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/8ca8ee6d5165acb571a5f9d298ca3d80310e5f15
Cr-Commit-Position: refs/heads/master@{#347089}

Powered by Google App Engine
This is Rietveld 408576698