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

Issue 11644008: Migrate from MathUtil::inverse() to gfx::Transform::GetInverse() (Closed)

Created:
8 years ago by shawnsingh
Modified:
7 years, 11 months ago
Reviewers:
Ian Vollick, danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Migrate from MathUtil::inverse() to gfx::Transform::GetInverse() BUG=159972, 163769 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175363

Patch Set 1 #

Total comments: 17

Patch Set 2 : Partially addressed uninvertible cases #

Total comments: 2

Patch Set 3 : Moved uninvertible matrix identity-initialization into gfx::Transform #

Total comments: 5

Patch Set 4 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -107 lines) Patch
M cc/direct_renderer.cc View 1 1 chunk +6 lines, -3 lines 0 comments Download
M cc/gl_renderer.cc View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M cc/layer_impl.cc View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M cc/layer_tree_host.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M cc/layer_tree_host_common.cc View 1 2 6 chunks +34 lines, -9 lines 0 comments Download
M cc/layer_tree_host_common_unittest.cc View 1 14 chunks +20 lines, -20 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 3 chunks +10 lines, -5 lines 0 comments Download
M cc/math_util.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/math_util.cc View 1 1 chunk +0 lines, -12 lines 0 comments Download
M cc/math_util_unittest.cc View 1 chunk +0 lines, -45 lines 0 comments Download
M cc/occlusion_tracker.cc View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M cc/test/geometry_test_utils.h View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/test/geometry_test_utils.cc View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M ui/gfx/transform.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M ui/gfx/transform.cc View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M ui/gfx/transform_unittest.cc View 1 2 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
shawnsingh
PTAL thanks!
8 years ago (2012-12-18 23:07:45 UTC) #1
danakj
I'm concerned that GetIdentity doesn't change the matrix to identity in the non-invertible case. We ...
8 years ago (2012-12-19 05:23:06 UTC) #2
danakj
On 2012/12/19 05:23:06, danakj wrote: > I'm concerned that GetIdentity doesn't change the matrix to ...
8 years ago (2012-12-19 16:56:06 UTC) #3
shawnsingh
On 2012/12/19 16:56:06, danakj wrote: > On 2012/12/19 05:23:06, danakj wrote: > > I'm concerned ...
8 years ago (2012-12-19 19:41:51 UTC) #4
danakj
On Wed, Dec 19, 2012 at 2:41 PM, <shawnsingh@chromium.org> wrote: > On 2012/12/19 16:56:06, danakj ...
8 years ago (2012-12-19 19:45:16 UTC) #5
shawnsingh
> Why do you think we can't? because I was being blockheaded and missed that ...
8 years ago (2012-12-19 19:53:09 UTC) #6
Ian Vollick
On 2012/12/19 19:53:09, shawnsingh wrote: > > Why do you think we can't? > > ...
8 years ago (2012-12-19 21:02:22 UTC) #7
shawnsingh
PTAL. here is the status of the patch: 1. I made sure that all uses ...
7 years, 11 months ago (2012-12-27 22:45:07 UTC) #8
danakj
https://codereview.chromium.org/11644008/diff/13001/cc/direct_renderer.cc File cc/direct_renderer.cc (right): https://codereview.chromium.org/11644008/diff/13001/cc/direct_renderer.cc#newcode189 cc/direct_renderer.cc:189: if (frame.currentRenderPass->transform_to_root_target.GetInverse(&inverseTransform)) { I'm still not a fan that ...
7 years, 11 months ago (2013-01-02 14:45:16 UTC) #9
shawnsingh
Thanks for taking a look - one more patch with identity initialization in GetInverse() coming ...
7 years, 11 months ago (2013-01-02 18:36:01 UTC) #10
shawnsingh
PTAL - danakj, this latest patch should be what you wanted =) Thanks in advance!
7 years, 11 months ago (2013-01-04 20:54:08 UTC) #11
danakj
LGTM https://codereview.chromium.org/11644008/diff/21001/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/11644008/diff/21001/cc/layer_tree_host.cc#newcode801 cc/layer_tree_host.cc:801: // here, or DCHECK that the transform is ...
7 years, 11 months ago (2013-01-04 21:56:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shawnsingh@chromium.org/11644008/25002
7 years, 11 months ago (2013-01-07 05:43:50 UTC) #13
commit-bot: I haz the power
7 years, 11 months ago (2013-01-07 05:54:24 UTC) #14
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests,
unit_tests

Powered by Google App Engine
This is Rietveld 408576698