41abd4f5cc
This was originally added to reduce the size of the large skp set by reducing the number of fonts fully serialized. At the time all fonts were fully serialized into all skps. Oddly enough this was actually a blacklist of fonts which should never be fully serialized. The list was easy to get out of date (it needed to be regenerated whenever the container the Chromium html to skp conversion ran in was updated) and unclear how to use well (the user would need to replay the skps in said container to get mostly correct playback). Since that time, it is now possible for the user to specify how to serialize typefaces. In addition, further flexibility is now provided though serialization and deserialization procs provided to the recorder so that the user can have even greater control over individual recordings, so if this is needed again there are cleaner ways to write it without globals. Also, Cluster Telemetry doesn't really capture skps this way anymore so this code isn't really being used. In the future should such a mechanism be required, it would probably be best to first create a base image of fonts to use as system fonts and then set up the container which captures the skps to use exactly those system fonts. Then all system fonts can avoid serialization and the font collection and setup (or possibly just base container) can be shared for playback. Change-Id: I27412a8fd35b89af293b4151ea8cecc2b1bc7226 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/299838 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Ben Wagner <bungeman@google.com> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.