Exercise concave analytic AA

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>
This commit is contained in:
Yuqian Li 2017-01-14 10:00:23 -05:00 committed by Skia Commit-Bot
parent 986480a71f
commit 480a1c6a16
2 changed files with 0 additions and 10 deletions

View File

@ -10,11 +10,6 @@
#include "SkEdge.h" #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 { struct SkAnalyticEdge {
// Similar to SkEdge, the conic edges will be converted to quadratic edges // Similar to SkEdge, the conic edges will be converted to quadratic edges
enum Type { enum Type {

View File

@ -23,11 +23,6 @@ class SkPath;
*/ */
typedef SkIRect SkXRect; 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> gSkUseAnalyticAA;
extern std::atomic<bool> gSkForceAnalyticAA; extern std::atomic<bool> gSkForceAnalyticAA;