Go to file
Mike Reed b07e9a8826 use char-to-glyph cache in freetype typeface
Note: most of the slow-down (before this CL) is due to trashing freetype
objects (FTLibrary and FTFace), since these are ref-counted, but they
only persist long-term if there is an active scalercontext of the same
typeface.

A longer-term fix is to rethink the lifetimes of these freetype objects.
After that, we should remeasure onCharsToGlyphs(), and see if the
cache is still needed.

Bug: 935198
Bug: skia:8997
Change-Id: I1ba4adc57319d620ba4ac0fe0f2877ee62052cbd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/209178
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2019-04-19 14:35:28 +00:00
animations
bench Reland "Simplify SkTypeface::charsToGlyphs API to require UTF32 input" 2019-04-17 17:56:39 +00:00
bin tools: bin/sync just alias for git-sync-deps now 2019-02-22 20:05:05 +00:00
dm extract ToolUtils::colortype_depth() 2019-04-09 20:32:15 +00:00
docker Include wasm debugger in continuous build part 2 2019-04-01 19:51:43 +00:00
docs/examples New factories for SkShaders 2019-04-09 19:15:01 +00:00
example Use SkTileMode instead of nested enum 2019-04-03 15:24:18 +00:00
experimental externs needed for cpu/gpu switch 2019-04-10 13:47:21 +00:00
fuzz New factories for SkShaders 2019-04-09 19:15:01 +00:00
gm Remove SK_TREAT_COLINEAR_DIAGONAL_POINTS_AS_CONCAVE 2019-04-19 14:11:49 +00:00
gn SkPDF: move type1 font code into single file 2019-04-18 21:01:58 +00:00
include remove experimental from some APIs (that are no longer experiments) 2019-04-18 18:18:27 +00:00
infra Update go_deps asset 2019-04-19 05:48:28 +00:00
modules WASM build cleanups 2019-04-16 17:48:53 +00:00
platform_tools SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
resources Add planet emoji font. 2019-03-19 17:49:22 +00:00
samplecode Make Metal render loop more stable 2019-04-17 14:41:11 +00:00
site Remove bookmaker sources and data files 2019-03-25 18:56:29 +00:00
src use char-to-glyph cache in freetype typeface 2019-04-19 14:35:28 +00:00
tests Remove SK_TREAT_COLINEAR_DIAGONAL_POINTS_AS_CONCAVE 2019-04-19 14:11:49 +00:00
third_party Add clang-cl arm64 builds 2019-04-17 16:48:04 +00:00
tools SkQP: consolidate cut_release scripts 2019-04-18 19:40:50 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn
AUTHORS fix metal build errors with preprocessor definitions 2019-03-28 18:47:37 +00:00
BUILD.gn SkQP: fix model colorspace (16-bit gold images) 2019-04-17 20:26:39 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll third_party/externals/angle2 82bcffa78747..145ec7fa7c81 (10 commits) 2019-04-19 05:21:18 +00:00
LICENSE
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py add mtklein to api approvals 2019-04-02 15:16:56 +00:00
public.bzl buildifier public.bzl 2019-03-27 19:00:04 +00:00
README
README.chromium
whitespace.txt [infra] Marker for IntelBayTrail BIOS update. 2018-09-17 16:47:35 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.