aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Yuqian Li <liyuqian@google.com>2017-01-18 12:32:29 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-18 18:51:27 +0000
commit874a8725860cd2dc860967ee8069316d95de607c (patch)
tree7d0f6f28828b606cd5f2b7291d7a5ff862ac5a85 /src/core
parent42f3094c9071c62b5e42c84a3d1b7b8bcd34e6ed (diff)
Revert concave AAA
BUG=skia:6131 TBR=reed@google.com,caryclark@google.com Change-Id: Ib580a4fb9023f43518a3d89cd70bf2589ad02bb6 Reviewed-on: https://skia-review.googlesource.com/7200 Commit-Queue: Yuqian Li <liyuqian@google.com> Reviewed-by: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkAnalyticEdge.h5
-rw-r--r--src/core/SkScan.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/core/SkAnalyticEdge.h b/src/core/SkAnalyticEdge.h
index c70772db00..e2a9867d0f 100644
--- a/src/core/SkAnalyticEdge.h
+++ b/src/core/SkAnalyticEdge.h
@@ -10,6 +10,11 @@
#include "SkEdge.h"
+// Use this to check that we successfully guard the change against Chromium layout tests
+#ifndef SK_SUPPORT_LEGACY_AAA
+# define SK_SUPPORT_LEGACY_AAA
+#endif
+
struct SkAnalyticEdge {
// Similar to SkEdge, the conic edges will be converted to quadratic edges
enum Type {
diff --git a/src/core/SkScan.h b/src/core/SkScan.h
index c99554218b..d0c10faf5c 100644
--- a/src/core/SkScan.h
+++ b/src/core/SkScan.h
@@ -23,6 +23,11 @@ class SkPath;
*/
typedef SkIRect SkXRect;
+// Use this to check that we successfully guard the change against Chromium layout tests
+#ifndef SK_SUPPORT_LEGACY_AAA
+# define SK_SUPPORT_LEGACY_AAA
+#endif
+
extern std::atomic<bool> gSkUseAnalyticAA;
extern std::atomic<bool> gSkForceAnalyticAA;