Exercise concave analytic AA
authorYuqian Li <liyuqian@google.com>
Sat, 14 Jan 2017 15:00:23 +0000 (10:00 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Sat, 14 Jan 2017 15:44:33 +0000 (15:44 +0000)
This will allow Skia trybots (e.g., 1M skp) to exercise analytic AA.
There's still a guard flag in Chromium that prevents layout tests failure.

TBR=reed@google.com,caryclark@google.com

BUG=skia:

Change-Id: Ie893c10d34bf969e013ef047c1bbf4b004d584cc
Reviewed-on: https://skia-review.googlesource.com/7091
Reviewed-by: Yuqian Li <liyuqian@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>

src/core/SkAnalyticEdge.h
src/core/SkScan.h

index 1ed25f3..c738b54 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 d0c10fa..c995542 100644 (file)
@@ -23,11 +23,6 @@ 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;