Revert concave AAA
authorYuqian Li <liyuqian@google.com>
Wed, 18 Jan 2017 17:32:29 +0000 (12:32 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 18 Jan 2017 18:51:27 +0000 (18:51 +0000)
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>
src/core/SkAnalyticEdge.h
src/core/SkScan.h

index c70772db0095d09c14b89f45f700a09d466c3112..e2a9867d0f66a998f4ddb073cd54a4158a31d6ba 100644 (file)
 
 #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 {
index c99554218b74e6e5adbab16de313bfb2abea1a64..d0c10faf5c726511a0966bf0eeea318f008bbb61 100644 (file)
@@ -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;