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

Unified Diff: src/core/SkScan.h

Issue 2388213003: Revert of Analytic AntiAlias for Convex Shapes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 2 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/SkEdgeBuilder.cpp ('k') | src/core/SkScan_AAAPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkScan.h
diff --git a/src/core/SkScan.h b/src/core/SkScan.h
index 1e3d60a290406b2288216f416328494a468bf359..4aa8e443990ecf05b5d3918d5b2fe29047b1a588 100644
--- a/src/core/SkScan.h
+++ b/src/core/SkScan.h
@@ -22,24 +22,6 @@
*/
typedef SkIRect SkXRect;
-class GlobalAAConfig {
-private:
- GlobalAAConfig() {}
-
-public:
- bool fUseAnalyticAA = false;
-
- GlobalAAConfig(const GlobalAAConfig&) = delete;
- void operator=(const GlobalAAConfig&) = delete;
-
- static GlobalAAConfig& getInstance() {
- static GlobalAAConfig instance;
- return instance;
- }
-};
-
-class AdditiveBlitter;
-
class SkScan {
public:
/*
@@ -63,7 +45,6 @@
static void AntiFillXRect(const SkXRect&, const SkRasterClip&, SkBlitter*);
static void FillPath(const SkPath&, const SkRasterClip&, SkBlitter*);
static void AntiFillPath(const SkPath&, const SkRasterClip&, SkBlitter*);
- static void AAAFillPath(const SkPath&, const SkRasterClip&, SkBlitter*);
static void FrameRect(const SkRect&, const SkPoint& strokeSize,
const SkRasterClip&, SkBlitter*);
static void AntiFrameRect(const SkRect&, const SkPoint& strokeSize,
@@ -98,9 +79,6 @@
const SkRegion*, SkBlitter*);
static void HairLineRgn(const SkPoint[], int count, const SkRegion*, SkBlitter*);
static void AntiHairLineRgn(const SkPoint[], int count, const SkRegion*, SkBlitter*);
- static void AAAFillPath(const SkPath& path, const SkRegion& origClip, SkBlitter* blitter);
- static void aaa_fill_path(const SkPath& path, const SkIRect* clipRect, AdditiveBlitter*,
- int start_y, int stop_y, const SkRegion& clipRgn, bool isUsingMask);
};
/** Assign an SkXRect from a SkIRect, by promoting the src rect's coordinates
« no previous file with comments | « src/core/SkEdgeBuilder.cpp ('k') | src/core/SkScan_AAAPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698