aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBlitMask.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-08-10 12:58:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-10 12:58:17 -0700
commit4977983510028712528743aa877f6da83781b381 (patch)
treed56b58c866da7e86a80b38d0e85f03abd3f7d87c /src/core/SkBlitMask.h
parentc699873ac7c6b21bbca96053cdb9720c80f69916 (diff)
Sk4px blit mask.
Local SKP nanobenching ranges SSE between 1.05x and 0.87x, much more heavily weighted toward <1.0x ratios (speedups). I profiled the top five regressions (1.05x-1.01x) and they look like noise. Will follow up after broad bot results. NEON looks similar but less extreme than SSE changes, ranging between 1.02x and 0.95x, again mostly speedups in 0.99x-0.97x range. The old code trifurcated into black, opaque-but-not-black, and general versions as a function of the constant src color. I did not see a significant difference between general and opaque-but-not-black, and I don't think a black version would be faster using SIMD. So we have here just one version of the code, the general version. Somewhat fantastically, I see no pixel diffs on GMs or SKPs. I will be following up with more CLs for the other procs called by SkBlitMask. BUG=skia: Review URL: https://codereview.chromium.org/1278253003
Diffstat (limited to 'src/core/SkBlitMask.h')
-rw-r--r--src/core/SkBlitMask.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/SkBlitMask.h b/src/core/SkBlitMask.h
index 3fc306f8c8..d39c094cb6 100644
--- a/src/core/SkBlitMask.h
+++ b/src/core/SkBlitMask.h
@@ -48,18 +48,6 @@ public:
const SkPMColor* src, int width);
/**
- * Public entry-point to return a blitmask ColorProc.
- * May return NULL if config or format are not supported.
- */
- static ColorProc ColorFactory(SkColorType, SkMask::Format, SkColor);
-
- /**
- * Return either platform specific optimized blitmask ColorProc,
- * or NULL if no optimized routine is available.
- */
- static ColorProc PlatformColorProcs(SkColorType, SkMask::Format, SkColor);
-
- /**
* Public entry-point to return a blitcolor BlitLCD16RowProc.
*/
static BlitLCD16RowProc BlitLCD16RowFactory(bool isOpaque);