aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkCoreBlitters.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-02-25 12:52:57 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-25 12:52:57 -0800
commitedeccc58606e0421a1ae275e391ee4347c6f52f6 (patch)
tree1e0801033607b4245ab407d05fb42dc07e037fb0 /src/core/SkCoreBlitters.h
parent59c9203321cf4afb48597f39e4bdd4ae91da12a0 (diff)
Clean up ColorRectProc plumbing.
We've always been using the portable ColorRect32, so we don't need the ColorRectProc plumbing. Furthermore, ColorRect32 doesn't seem to be very important (we're only using it in the opaque case, which our row-by-row procs already specialize for). Remove that too. If we find we want specialization for really narrow rects again, let's put it in blitRect() directly. It's pretty unlikely we're going to get platform-specific speedup for blits to non-contiguous memory. My local SKP comparison is +- 3%... most neutral I've ever seen. BUG=skia: Review URL: https://codereview.chromium.org/959873002
Diffstat (limited to 'src/core/SkCoreBlitters.h')
-rw-r--r--src/core/SkCoreBlitters.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/SkCoreBlitters.h b/src/core/SkCoreBlitters.h
index 60211c98b3..e6be38a583 100644
--- a/src/core/SkCoreBlitters.h
+++ b/src/core/SkCoreBlitters.h
@@ -125,7 +125,6 @@ protected:
SkColor fColor;
SkPMColor fPMColor;
SkBlitRow::ColorProc fColor32Proc;
- SkBlitRow::ColorRectProc fColorRect32Proc;
private:
unsigned fSrcA, fSrcR, fSrcG, fSrcB;