disable DAA by default
This turns DAA off by default in Skia and in our tools, while leaving it able to be turned back on if we want. (There's at least one bot that does already.) This setup keeps our default builds matching the behavior of Chromium, Flutter, Android, Google3, and should prevent anyone from accidentally falling into it. Change-Id: Ia85f3dbe69c46cec0dac6b07fb5feb6e8b65d237 Reviewed-on: https://skia-review.googlesource.com/c/189580 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
This commit is contained in:
parent
5b4f2d5364
commit
830ab79b26
@ -13,7 +13,7 @@
|
||||
std::atomic<bool> gSkUseAnalyticAA{true};
|
||||
std::atomic<bool> gSkForceAnalyticAA{false};
|
||||
|
||||
std::atomic<bool> gSkUseDeltaAA{true};
|
||||
std::atomic<bool> gSkUseDeltaAA{false};
|
||||
std::atomic<bool> gSkForceDeltaAA{false};
|
||||
|
||||
static inline void blitrect(SkBlitter* blitter, const SkIRect& r) {
|
||||
|
@ -93,14 +93,8 @@ DEFINE_bool(forceAnalyticAA, false, "Force analytic anti-aliasing even if the pa
|
||||
"whether it's concave or convex, we consider a path complicated"
|
||||
"if its number of points is comparable to its resolution.");
|
||||
|
||||
#if (defined(_MSC_VER) && !defined(__clang__))
|
||||
constexpr bool kDefaultDeltaAA = false;
|
||||
#else
|
||||
constexpr bool kDefaultDeltaAA = true;
|
||||
#endif
|
||||
DEFINE_bool(deltaAA, kDefaultDeltaAA,
|
||||
DEFINE_bool(deltaAA, false,
|
||||
"If true, use delta anti-aliasing in suitable cases (it overrides forceAnalyticAA.");
|
||||
|
||||
DEFINE_bool(forceDeltaAA, false, "Force delta anti-aliasing for all paths.");
|
||||
|
||||
DEFINE_int32(backendTiles, 3, "Number of tiles in the experimental threaded backend.");
|
||||
|
Loading…
Reference in New Issue
Block a user