Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: src/core/SkCoreBlitters.h

Issue 1085013003: Revert of add new blit2 methods in support of antialiased hairlines guard flag SK_SUPPORT_LEGACY_BLITANTIH2V2 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkBlitter_ARGB32.cpp ('k') | src/core/SkScan_Antihair.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkCoreBlitters.h
diff --git a/src/core/SkCoreBlitters.h b/src/core/SkCoreBlitters.h
index acc18febede6e44ac3cbd6c0ab2ff592b370ccd4..f4a5d6f4dbbfab199600411adeb5faa977aec22a 100644
--- a/src/core/SkCoreBlitters.h
+++ b/src/core/SkCoreBlitters.h
@@ -120,10 +120,6 @@
virtual void blitRect(int x, int y, int width, int height);
virtual void blitMask(const SkMask&, const SkIRect&);
virtual const SkBitmap* justAnOpaqueColor(uint32_t*);
-#ifndef SK_SUPPORT_LEGACY_BLITANTIH2V2
- void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) override;
- void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) override;
-#endif
protected:
SkColor fColor;
@@ -144,10 +140,6 @@
SkARGB32_Opaque_Blitter(const SkBitmap& device, const SkPaint& paint)
: INHERITED(device, paint) { SkASSERT(paint.getAlpha() == 0xFF); }
virtual void blitMask(const SkMask&, const SkIRect&);
-#ifndef SK_SUPPORT_LEGACY_BLITANTIH2V2
- void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) override;
- void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) override;
-#endif
private:
typedef SkARGB32_Blitter INHERITED;
@@ -158,10 +150,6 @@
SkARGB32_Black_Blitter(const SkBitmap& device, const SkPaint& paint)
: INHERITED(device, paint) {}
virtual void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]);
-#ifndef SK_SUPPORT_LEGACY_BLITANTIH2V2
- void blitAntiH2(int x, int y, U8CPU a0, U8CPU a1) override;
- void blitAntiV2(int x, int y, U8CPU a0, U8CPU a1) override;
-#endif
private:
typedef SkARGB32_Opaque_Blitter INHERITED;
« no previous file with comments | « src/core/SkBlitter_ARGB32.cpp ('k') | src/core/SkScan_Antihair.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698