Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2770)

Issue 6854113: Keep track of identity SkMatrix44s (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by jamesr
Modified:
11 years, 5 months ago
Reviewers:
danakj, shawnsingh, shawnsingh, Stephen White, reed1
CC:
skia-review_googlegroups.com, vollick
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Keep track of identity SkMatrix44s This keeps a bool on SkMatrix44 indicating if we know for sure that the matrix is identity, similar to the TypeMask on SkMatrix. This is useful to early-out of potentially expensive matrix math at the cost of some memory. Committed: https://code.google.com/p/skia/source/detail?r=6620

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M include/utils/SkMatrix44.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/utils/SkMatrix44.cpp View 14 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 17
jamesr
Hey Mike, what do you think of this? In combination with some chromium-side patches this ...
11 years, 5 months ago (2012-11-29 11:28:31 UTC) #1
reed1
I like the direction, and we could land this for now, but I agree with ...
11 years, 5 months ago (2012-11-29 12:59:52 UTC) #2
danakj
Can we then also make methods like multiply faster based on this flag and others, ...
11 years, 5 months ago (2012-11-29 18:16:18 UTC) #3
reed1
On 2012/11/29 18:16:18, danakj wrote: > Can we then also make methods like multiply faster ...
11 years, 5 months ago (2012-11-29 18:57:29 UTC) #4
shawnsingh
James and I just talked; James said he would like to land the current patch ...
11 years, 5 months ago (2012-11-29 19:09:43 UTC) #5
shawnsingh
By the way, reducing copies may be painfully invasive to a lot of code, but ...
11 years, 5 months ago (2012-11-29 19:11:51 UTC) #6
danakj
On 2012/11/29 19:11:51, shawnsingh wrote: > By the way, reducing copies may be painfully invasive ...
11 years, 5 months ago (2012-11-29 19:12:37 UTC) #7
shawnsingh
API changes could happen on gfx::transform or Skia... I think they will be useful either ...
11 years, 5 months ago (2012-11-29 19:36:09 UTC) #8
shawnsingh_google.com
James and I just talked; James said he would like to land the current patch ...
11 years, 5 months ago (2012-11-29 19:36:38 UTC) #9
Stephen White
On 2012/11/29 19:36:09, shawnsingh wrote: > API changes that would be required for removing unnecessary ...
11 years, 5 months ago (2012-11-29 19:40:59 UTC) #10
shawnsingh
In my personal experience, return value optimization doesn't always kick-in as hoped. It probably depends ...
11 years, 5 months ago (2012-11-29 19:46:26 UTC) #11
jamesr
On 2012/11/29 18:57:29, reed1 wrote: > On 2012/11/29 18:16:18, danakj wrote: > > Can we ...
11 years, 5 months ago (2012-11-29 20:33:47 UTC) #12
reed1
How about this. 1. land this CL that catches identity 2. mike will take a ...
11 years, 5 months ago (2012-11-29 20:52:09 UTC) #13
jamesr
On 2012/11/29 20:52:09, reed1 wrote: > How about this. > > 1. land this CL ...
11 years, 5 months ago (2012-11-29 20:57:23 UTC) #14
reed1
I am/will coordinate with Shawn
11 years, 5 months ago (2012-11-29 20:59:51 UTC) #15
shawnsingh
OK so if Mike works on the SkMatrix trans/scale/affine checks, I'll work on reformulating the ...
11 years, 5 months ago (2012-11-29 21:01:13 UTC) #16
reed1
11 years, 5 months ago (2012-11-29 21:06:02 UTC) #17
lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b