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:
parent
986480a71f
commit
480a1c6a16
@ -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 {
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user