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

Issue 23001007: Remove the call to getFontMetrics from SkBBoxRecord (Closed)

Created:
7 years, 4 months ago by sglez
Modified:
7 years, 4 months ago
Reviewers:
caryclark, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Remove the call to getFontMetrics from SkBBoxRecord Committed: http://code.google.com/p/skia/source/detail?r=10876

Patch Set 1 : #

Total comments: 8

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -40 lines) Patch
M src/core/SkBBoxRecord.cpp View 1 2 3 1 chunk +35 lines, -25 lines 0 comments Download
M src/core/SkPictureRecord.h View 1 2 chunks +21 lines, -0 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 1 6 chunks +28 lines, -15 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
sglez
Link to a graph that shows the speedup: (x axis: skps, y axis: recording time ...
7 years, 4 months ago (2013-08-20 17:46:55 UTC) #1
reed1
https://codereview.chromium.org/23001007/diff/8001/src/core/SkBBoxRecord.cpp File src/core/SkBBoxRecord.cpp (right): https://codereview.chromium.org/23001007/diff/8001/src/core/SkBBoxRecord.cpp#newcode187 src/core/SkBBoxRecord.cpp:187: if (numChars > 0) { minor: if numChars == ...
7 years, 4 months ago (2013-08-20 17:59:22 UTC) #2
caryclark
https://codereview.chromium.org/23001007/diff/8001/src/core/SkBBoxRecord.cpp File src/core/SkBBoxRecord.cpp (right): https://codereview.chromium.org/23001007/diff/8001/src/core/SkBBoxRecord.cpp#newcode202 src/core/SkBBoxRecord.cpp:202: SkScalar bottom = 0; no need to initialize top, ...
7 years, 4 months ago (2013-08-20 20:11:33 UTC) #3
sglez
https://codereview.chromium.org/23001007/diff/8001/src/core/SkBBoxRecord.cpp File src/core/SkBBoxRecord.cpp (right): https://codereview.chromium.org/23001007/diff/8001/src/core/SkBBoxRecord.cpp#newcode203 src/core/SkBBoxRecord.cpp:203: if (flatPaintData->isTopBotWritten()) { On 2013/08/20 17:59:23, reed1 wrote: > ...
7 years, 4 months ago (2013-08-21 16:09:34 UTC) #4
caryclark
https://codereview.chromium.org/23001007/diff/22001/src/core/SkBBoxRecord.cpp File src/core/SkBBoxRecord.cpp (right): https://codereview.chromium.org/23001007/diff/22001/src/core/SkBBoxRecord.cpp#newcode197 src/core/SkBBoxRecord.cpp:197: for (size_t i = 1; i < numChars; ++i) ...
7 years, 4 months ago (2013-08-21 17:54:09 UTC) #5
sglez
https://codereview.chromium.org/23001007/diff/22001/src/core/SkBBoxRecord.cpp File src/core/SkBBoxRecord.cpp (right): https://codereview.chromium.org/23001007/diff/22001/src/core/SkBBoxRecord.cpp#newcode197 src/core/SkBBoxRecord.cpp:197: for (size_t i = 1; i < numChars; ++i) ...
7 years, 4 months ago (2013-08-21 18:11:55 UTC) #6
caryclark
https://codereview.chromium.org/23001007/diff/22001/src/core/SkBBoxRecord.cpp File src/core/SkBBoxRecord.cpp (right): https://codereview.chromium.org/23001007/diff/22001/src/core/SkBBoxRecord.cpp#newcode197 src/core/SkBBoxRecord.cpp:197: for (size_t i = 1; i < numChars; ++i) ...
7 years, 4 months ago (2013-08-21 18:27:55 UTC) #7
sglez
https://codereview.chromium.org/23001007/diff/22001/src/core/SkBBoxRecord.cpp File src/core/SkBBoxRecord.cpp (right): https://codereview.chromium.org/23001007/diff/22001/src/core/SkBBoxRecord.cpp#newcode197 src/core/SkBBoxRecord.cpp:197: for (size_t i = 1; i < numChars; ++i) ...
7 years, 4 months ago (2013-08-21 18:43:16 UTC) #8
caryclark
My example was poor. I was trying to suggest that if xpos[0] > xpos[1], then ...
7 years, 4 months ago (2013-08-21 18:58:33 UTC) #9
sglez
On 2013/08/21 18:58:33, caryclark wrote: > My example was poor. I was trying to suggest ...
7 years, 4 months ago (2013-08-21 19:05:30 UTC) #10
sglez
https://codereview.chromium.org/23001007/diff/28001/src/core/SkBBoxRecord.cpp File src/core/SkBBoxRecord.cpp (right): https://codereview.chromium.org/23001007/diff/28001/src/core/SkBBoxRecord.cpp#newcode197 src/core/SkBBoxRecord.cpp:197: I think that calling min and max fixes the ...
7 years, 4 months ago (2013-08-21 19:33:28 UTC) #11
caryclark
lgtm https://codereview.chromium.org/23001007/diff/28001/src/core/SkBBoxRecord.cpp File src/core/SkBBoxRecord.cpp (right): https://codereview.chromium.org/23001007/diff/28001/src/core/SkBBoxRecord.cpp#newcode197 src/core/SkBBoxRecord.cpp:197: On 2013/08/21 19:33:28, sglez wrote: > I think ...
7 years, 4 months ago (2013-08-21 19:58:01 UTC) #12
sglez
On 2013/08/21 19:58:01, caryclark wrote: > lgtm > > https://codereview.chromium.org/23001007/diff/28001/src/core/SkBBoxRecord.cpp > File src/core/SkBBoxRecord.cpp (right): > ...
7 years, 4 months ago (2013-08-21 20:49:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/sglez@google.com/23001007/45001
7 years, 4 months ago (2013-08-22 17:11:33 UTC) #14
commit-bot: I haz the power
7 years, 4 months ago (2013-08-22 17:20:01 UTC) #15
Message was sent while issue was closed.
Change committed as 10876

Powered by Google App Engine
This is Rietveld 408576698