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

Issue 372323003: Use stack allocation for Android data in SkScalerContext::MakeRec(). (Closed)

Created:
6 years, 5 months ago by jvanverth1
Modified:
6 years, 5 months ago
Reviewers:
bsalomon, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Use stack allocation for Android data in SkScalerContext::MakeRec(). In a perfvis run on the "Boogie" test page, descriptorProc() during detachCache() was taking .721 ms, and 20% of that was the flatten() in MakeRec(). Changing this to a smaller stack allocation reduces the time for descriptorProc() to .556 ms. Committed: https://skia.googlesource.com/skia/+/65b6fa177798089a3556643f765fbbca5a4a5185

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/core/SkPaint.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
jvanverth1
6 years, 5 months ago (2014-07-08 17:35:08 UTC) #1
bsalomon
lgtm
6 years, 5 months ago (2014-07-08 17:38:34 UTC) #2
reed1
lgtm
6 years, 5 months ago (2014-07-08 17:45:49 UTC) #3
jvanverth1
The CQ bit was checked by jvanverth@google.com
6 years, 5 months ago (2014-07-08 17:49:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/372323003/1
6 years, 5 months ago (2014-07-08 17:50:27 UTC) #5
commit-bot: I haz the power
6 years, 5 months ago (2014-07-08 18:15:52 UTC) #6
Message was sent while issue was closed.
Change committed as 65b6fa177798089a3556643f765fbbca5a4a5185

Powered by Google App Engine
This is Rietveld 408576698