Commit 71fa7d03 authored by Cary Clark's avatar Cary Clark Committed by Commit Bot

rebaseline skia convexity

Skia SkPath::isConvex() is faster and more robust, and marks
paths correctly as convex that were marked as concave. This causes
a few tests to have different pixel results; the convex renderers
are generally faster and use different rendering techniques.

Also, remove a legacy Skia flag; SkPath::pathRefIsValid() has
been removed.

R=fmalita@chromium.org

Bug: 899689,913930
Change-Id: Ic11a04e853e2c88444388d27f2894be287aa349d
Reviewed-on: https://chromium-review.googlesource.com/c/1379276
Commit-Queue: Cary Clark <caryclark@chromium.org>
Reviewed-by: default avatarFlorin Malita <fmalita@chromium.org>
Cr-Commit-Position: refs/heads/master@{#618339}
parent b85a67b0
......@@ -165,12 +165,8 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
#define SK_SUPPORT_LEGACY_AAA_CHOICE
#endif
#define SK_LEGACY_PATH_CONVEXITY // crbug.com/899689
#define SK_LEGACY_SRGB_STAGE_CHOICE
#define SK_SUPPORT_DIRECT_PATHREF_VALIDATION // see crbug.com/913930
///////////////////////// Imported from BUILD.gn and skia_common.gypi
/* In some places Skia can use static initializers for global initialization,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment