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

Issue 11434027: Check for identity before doing matrix math in more places in gfx::Transform (Closed)

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

Description

Check for identity before doing matrix math in more places in gfx::Transform This should be a good speedup once checking for if a matrix is identity is faster (i.e. https://codereview.appspot.com/6854113/)- otherwise it's a bit of a wash. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170485

Patch Set 1 #

Total comments: 1

Patch Set 2 : address comment, add checks to TransformPointInternal #

Patch Set 3 : rebased #

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

Messages

Total messages: 13 (0 generated)
jamesr
Hey Shawn - this saves ~1.3% on cc_perftests with http://code.google.com/p/skia/source/detail?r=6620 applied. Not huge, but real. ...
8 years ago (2012-11-30 00:24:59 UTC) #1
shawnsingh
On 2012/11/30 00:24:59, jamesr wrote: > Hey Shawn - this saves ~1.3% on cc_perftests with ...
8 years ago (2012-11-30 00:45:00 UTC) #2
danakj
OWNERS LGTM with one nit https://codereview.chromium.org/11434027/diff/1/ui/gfx/transform.cc File ui/gfx/transform.cc (right): https://codereview.chromium.org/11434027/diff/1/ui/gfx/transform.cc#newcode211 ui/gfx/transform.cc:211: *this = transform; matrix_ ...
8 years ago (2012-11-30 01:29:26 UTC) #3
jamesr
Fixed style and added checks to TransformPoint...() since with the math_util changes these show up ...
8 years ago (2012-11-30 02:04:30 UTC) #4
danakj
thanks, LGTM
8 years ago (2012-11-30 02:06:35 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11434027/3002
8 years ago (2012-11-30 02:08:14 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-11-30 03:29:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11434027/3002
8 years ago (2012-11-30 03:30:41 UTC) #8
commit-bot: I haz the power
Failed to apply patch for ui/gfx/transform.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years ago (2012-11-30 07:27:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11434027/5003
8 years ago (2012-11-30 07:48:02 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_net_tests, sync_integration_tests
8 years ago (2012-11-30 11:30:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11434027/5003
8 years ago (2012-11-30 17:15:15 UTC) #12
commit-bot: I haz the power
8 years ago (2012-11-30 18:20:41 UTC) #13
Message was sent while issue was closed.
Change committed as 170485

Powered by Google App Engine
This is Rietveld 408576698