aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBlitRow.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-06-24 17:27:30 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-24 21:50:32 +0000
commit1aa77f0ed75c206cbbc234b3870911088a478621 (patch)
tree683f556be1c33a07aa9853e3f930ca246bfefd9c /src/core/SkBlitRow.h
parentcbbb58af7a1c9d00ce3408fd0964ec00438d42b7 (diff)
remove unused blitrow
Bug: skia: Change-Id: Id905a4b9246a986a3c5de05042e32930d881c1ed Reviewed-on: https://skia-review.googlesource.com/20772 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkBlitRow.h')
-rw-r--r--src/core/SkBlitRow.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/core/SkBlitRow.h b/src/core/SkBlitRow.h
index 35f0a0a48d..d35f1c460e 100644
--- a/src/core/SkBlitRow.h
+++ b/src/core/SkBlitRow.h
@@ -13,42 +13,6 @@
class SkBlitRow {
public:
- enum Flags16 {
- //! If set, the alpha parameter will be != 255
- kGlobalAlpha_Flag = 0x01,
- //! If set, the src colors may have alpha != 255
- kSrcPixelAlpha_Flag = 0x02,
- //! If set, the resulting 16bit colors should be dithered
- kDither_Flag = 0x04
- };
-
- /** Function pointer that reads a scanline of src SkPMColors, and writes
- a corresponding scanline of 16bit colors (specific format based on the
- config passed to the Factory.
-
- The x,y params provide the dithering phase for the start of the scanline
-
- @param alpha A global alpha to be applied to all of the src colors
- @param x The x coordinate of the beginning of the scanline
- @param y THe y coordinate of the scanline
- */
- typedef void (*Proc16)(uint16_t dst[], const SkPMColor src[], int count,
- U8CPU alpha, int x, int y);
-
- static Proc16 Factory16(unsigned flags);
-
- /**
- * Function pointer that blends a single src color onto a scaline of dst colors.
- *
- * The x,y params provide the dithering phase for the start of the scanline
- */
- typedef void (*ColorProc16)(uint16_t dst[], SkPMColor src, int count, int x, int y);
-
- // Note : we ignore the kGlobalAlpha_Flag setting, but do respect kSrcPixelAlpha_Flag
- static ColorProc16 ColorFactory16(unsigned flags);
-
- ///////////// D32 version
-
enum Flags32 {
kGlobalAlpha_Flag32 = 1 << 0,
kSrcPixelAlpha_Flag32 = 1 << 1
@@ -80,7 +44,6 @@ public:
private:
enum {
- kFlags16_Mask = 7,
kFlags32_Mask = 3
};
};