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

Issue 23043011: cc: Use SkMScalar instead of doubles everywhere in cc (Closed)

Created:
7 years, 4 months ago by enne (OOO)
Modified:
7 years, 3 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org, danakj, ernstm, Tom Hudson
Visibility:
Public.

Description

cc: Use SkMScalar instead of doubles for transforms in cc BUG=269819 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222683

Patch Set 1 #

Patch Set 2 : Change SkMScalar to use floats #

Patch Set 3 : Finalize test changes #

Total comments: 46

Patch Set 4 : Rebase #

Total comments: 2

Patch Set 5 : danakj review #

Total comments: 14

Patch Set 6 : Rebase #

Patch Set 7 : danakj review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+662 lines, -704 lines) Patch
M cc/animation/layer_animation_controller_unittest.cc View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M cc/animation/transform_operation.h View 1 2 3 4 1 chunk +9 lines, -9 lines 0 comments Download
M cc/animation/transform_operation.cc View 1 2 3 4 12 chunks +80 lines, -73 lines 0 comments Download
M cc/animation/transform_operations.h View 3 chunks +11 lines, -9 lines 0 comments Download
M cc/animation/transform_operations.cc View 8 chunks +15 lines, -11 lines 0 comments Download
M cc/animation/transform_operations_unittest.cc View 1 2 3 4 40 chunks +101 lines, -101 lines 0 comments Download
M cc/base/float_quad_unittest.cc View 1 2 2 chunks +11 lines, -14 lines 0 comments Download
M cc/base/math_util.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/base/math_util.cc View 1 2 3 4 5 6 5 chunks +12 lines, -12 lines 0 comments Download
M cc/layers/delegated_renderer_layer_impl_unittest.cc View 1 2 3 10 chunks +33 lines, -33 lines 0 comments Download
M cc/test/geometry_test_utils.cc View 1 chunk +16 lines, -32 lines 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 chunk +5 lines, -7 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 28 chunks +142 lines, -169 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/transform.h View 1 2 3 4 chunks +32 lines, -18 lines 0 comments Download
M ui/gfx/transform.cc View 1 2 3 4 5 6 12 chunks +131 lines, -145 lines 0 comments Download
M ui/gfx/transform_util.h View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M ui/gfx/transform_util.cc View 1 2 3 4 9 chunks +54 lines, -58 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
enne (OOO)
This change is just the change to make transforms use SkMScalar, but doesn't change SkMScalar ...
7 years, 3 months ago (2013-09-07 00:01:45 UTC) #1
enne (OOO)
7 years, 3 months ago (2013-09-07 00:02:09 UTC) #2
danakj
Cool! https://codereview.chromium.org/23043011/diff/6001/cc/animation/layer_animation_controller_unittest.cc File cc/animation/layer_animation_controller_unittest.cc (right): https://codereview.chromium.org/23043011/diff/6001/cc/animation/layer_animation_controller_unittest.cc#newcode21 cc/animation/layer_animation_controller_unittest.cc:21: void ExpectTranslateX(SkMScalar translate_x, const gfx::Transform& matrix) { Nothing ...
7 years, 3 months ago (2013-09-09 17:57:45 UTC) #3
enne (OOO)
https://codereview.chromium.org/23043011/diff/6001/cc/animation/layer_animation_controller_unittest.cc File cc/animation/layer_animation_controller_unittest.cc (right): https://codereview.chromium.org/23043011/diff/6001/cc/animation/layer_animation_controller_unittest.cc#newcode21 cc/animation/layer_animation_controller_unittest.cc:21: void ExpectTranslateX(SkMScalar translate_x, const gfx::Transform& matrix) { On 2013/09/09 ...
7 years, 3 months ago (2013-09-10 22:32:31 UTC) #4
danakj
LGTM https://codereview.chromium.org/23043011/diff/22001/ui/gfx/transform.cc File ui/gfx/transform.cc (right): https://codereview.chromium.org/23043011/diff/22001/ui/gfx/transform.cc#newcode127 ui/gfx/transform.cc:127: SkMScalar cosTheta = SkDoubleToScalar(std::cos(radians)); On 2013/09/10 22:32:32, enne ...
7 years, 3 months ago (2013-09-11 18:53:46 UTC) #5
enne (OOO)
https://codereview.chromium.org/23043011/diff/24001/cc/animation/transform_operation.cc File cc/animation/transform_operation.cc (right): https://codereview.chromium.org/23043011/diff/24001/cc/animation/transform_operation.cc#newcode162 cc/animation/transform_operation.cc:162: ? std::numeric_limits<SkMScalar>::max() On 2013/09/11 18:53:46, danakj wrote: > i ...
7 years, 3 months ago (2013-09-11 19:58:30 UTC) #6
danakj
https://codereview.chromium.org/23043011/diff/24001/cc/base/math_util.cc File cc/base/math_util.cc (right): https://codereview.chromium.org/23043011/diff/24001/cc/base/math_util.cc#newcode113 cc/base/math_util.cc:113: gfx::Vector2dF(SkMScalarToFloat(transform.matrix().get(0, 3)), On 2013/09/11 19:58:30, enne wrote: > On ...
7 years, 3 months ago (2013-09-11 19:59:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/23043011/33001
7 years, 3 months ago (2013-09-11 20:02:58 UTC) #8
tomhudson
On 2013/09/11 19:59:40, danakj wrote: > > For some future version of now? I'll land ...
7 years, 3 months ago (2013-09-11 21:13:55 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-09-12 00:51:28 UTC) #10
Message was sent while issue was closed.
Change committed as 222683

Powered by Google App Engine
This is Rietveld 408576698