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

Issue 188743002: Avoid recomputing two consecutive identical 1D filters. (Closed)

Created:
6 years, 9 months ago by Tom Hudson
Modified:
6 years, 9 months ago
Reviewers:
humper, tomhudson
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Avoid recomputing two consecutive identical 1D filters. If the arguments to the X and Y filter computation are identical, the results will be identical; copying is much faster than recomputing. With a change like https://codereview.chromium.org/183763047/ applied this speeds up BitmapScaleBench on Linux by around 10%. BUG=skia:2236 R=humper@google.com Committed: http://code.google.com/p/skia/source/detail?r=13687

Patch Set 1 #

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

Messages

Total messages: 6 (0 generated)
tomhudson
PTAL?
6 years, 9 months ago (2014-03-06 14:59:48 UTC) #1
humper
On 2014/03/06 14:59:48, tomhudson wrote: > PTAL? LGTM -- there's still some optimization that can ...
6 years, 9 months ago (2014-03-06 15:18:30 UTC) #2
tomhudson
The CQ bit was checked by tomhudson@google.com
6 years, 9 months ago (2014-03-06 17:51:13 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/tomhudson@chromium.org/188743002/1
6 years, 9 months ago (2014-03-06 17:51:22 UTC) #4
tomhudson
On 2014/03/06 15:18:30, humper wrote: > LGTM -- there's still some optimization that can probably ...
6 years, 9 months ago (2014-03-06 17:51:43 UTC) #5
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 19:10:46 UTC) #6
Message was sent while issue was closed.
Change committed as 13687

Powered by Google App Engine
This is Rietveld 408576698