aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBlitter.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-04-20 05:18:01 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-20 05:18:01 -0700
commita8ec4805db3a3cfd34926b89d6963700fb0ff0c1 (patch)
tree798019efe7410c39c38f8c336e7a5580eb068d70 /src/core/SkBlitter.h
parentd13444acf2d6cdc13f9916309cfd3cfa314b6725 (diff)
remove dead code from SK_SUPPORT_LEGACY_BLITANTIH2V2
no image changes expected in skia or chrome/blink BUG=skia: TBR= Review URL: https://codereview.chromium.org/1050953003
Diffstat (limited to 'src/core/SkBlitter.h')
-rw-r--r--src/core/SkBlitter.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/core/SkBlitter.h b/src/core/SkBlitter.h
index 6490937701..7cf8301a4a 100644
--- a/src/core/SkBlitter.h
+++ b/src/core/SkBlitter.h
@@ -18,12 +18,6 @@
#include "SkShader.h"
#include "SkSmallAllocator.h"
-#ifdef SK_SUPPORT_LEGACY_BLITANTIH2V2
- #define SK_BLITANTIH2V2_VIRTUAL
-#else
- #define SK_BLITANTIH2V2_VIRTUAL virtual
-#endif
-
/** SkBlitter and its subclasses are responsible for actually writing pixels
into memory. Besides efficiency, they handle clipping and antialiasing.
*/
@@ -60,7 +54,7 @@ public:
virtual const SkBitmap* justAnOpaqueColor(uint32_t* value);
// (x, y), (x + 1, y)
- SK_BLITANTIH2V2_VIRTUAL void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) {
+ virtual void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) {
int16_t runs[3];
uint8_t aa[2];
@@ -73,7 +67,7 @@ public:
}
// (x, y), (x, y + 1)
- SK_BLITANTIH2V2_VIRTUAL void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) {
+ virtual void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) {
int16_t runs[2];
uint8_t aa[1];