DescriptionAvoid 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 #
Messages
Total messages: 6 (0 generated)
|