diff options
author | 2017-01-18 12:32:29 -0500 | |
---|---|---|
committer | 2017-01-18 18:51:27 +0000 | |
commit | 874a8725860cd2dc860967ee8069316d95de607c (patch) | |
tree | 7d0f6f28828b606cd5f2b7291d7a5ff862ac5a85 /src/core | |
parent | 42f3094c9071c62b5e42c84a3d1b7b8bcd34e6ed (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.h | 5 | ||||
-rw-r--r-- | src/core/SkScan.h | 5 |
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; |