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

Issue 11411270: Improve implementation of gfx::Transform::IsBackFaceVisible (Closed)

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

Description

Improve implementation of gfx::Transform::IsBackFaceVisible The prior implementation did an entire inverse() operation when not needed. The new version does much less computation taking advantage of assumptions to shortcut the math. BUG=163062 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170402

Patch Set 1 #

Total comments: 1

Patch Set 2 : addressed reviewer feedback #

Total comments: 1

Patch Set 3 : fixed style issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -11 lines) Patch
M ui/gfx/transform.cc View 1 2 1 chunk +58 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
shawnsingh
+danakj@ for general review +sky@ because we had some questions about how to wrap the ...
8 years ago (2012-11-29 23:17:22 UTC) #1
danakj
LGTM+nit if sky@ is okay with the comma squishing. I'm not sure what style exceptions ...
8 years ago (2012-11-29 23:39:00 UTC) #2
sky
https://codereview.chromium.org/11411270/diff/6001/ui/gfx/transform.cc File ui/gfx/transform.cc (right): https://codereview.chromium.org/11411270/diff/6001/ui/gfx/transform.cc#newcode297 ui/gfx/transform.cc:297: matrix_.getDouble(0,0) * matrix_.getDouble(1,1) * matrix_.getDouble(3,3) + It should be ...
8 years ago (2012-11-29 23:58:35 UTC) #3
shawnsingh
Thanks sky@, latest patch fixes style. I'll wait for you to LGTM before landing.
8 years ago (2012-11-30 00:11:09 UTC) #4
danakj
LGTM thanks.
8 years ago (2012-11-30 00:13:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shawnsingh@chromium.org/11411270/6002
8 years ago (2012-11-30 00:19:56 UTC) #6
commit-bot: I haz the power
8 years ago (2012-11-30 05:21:00 UTC) #7
Message was sent while issue was closed.
Change committed as 170402

Powered by Google App Engine
This is Rietveld 408576698