Part 1/2 to remove SkTextBlobCacheDiffCanvas::Settings
fMaxTextureSize and were never used by Skia, and
f{Min|Max}DistanceFieldFontSize are never set by Chrome.
Make a new constructor that only takes a bool to indicate DFT
capability. Move Chrome to use that ctor.
Change-Id: I1889dd39ffdaa2134b0892b8275f8223c6c8aad0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/235102
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
diff --git a/tools/remote_demo.cpp b/tools/remote_demo.cpp
index a5a36a3..91fd124 100644
--- a/tools/remote_demo.cpp
+++ b/tools/remote_demo.cpp
@@ -137,7 +137,7 @@
const SkIRect bounds = pic.cullRect().round();
const SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType);
SkTextBlobCacheDiffCanvas filter(bounds.width(), bounds.height(), props,
- strikeServer, std::move(colorSpace));
+ strikeServer, std::move(colorSpace), true);
pic.playback(&filter);
std::vector<uint8_t> fontData;