aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-03-09 12:21:56 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-09 19:32:22 +0000
commitd49665513b507b67ab8136259a48c36523364beb (patch)
tree0e64ffea1549aa5b7c3ea6614619eb3ad66a00a8 /include
parentb07fd4d7fb701b70668eefd7f1be46d9c1fbd554 (diff)
Remove TLS glyph cache calls.
Change-Id: Iafeb02d395cac81e8fe6d74c989a37607503919c Reviewed-on: https://skia-review.googlesource.com/113208 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkGraphics.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h
index 1c97f0c291..98307683e8 100644
--- a/include/core/SkGraphics.h
+++ b/include/core/SkGraphics.h
@@ -161,26 +161,6 @@ public:
*/
static void SetFlags(const char* flags);
- /**
- * Return the max number of bytes that should be used by the thread-local
- * font cache.
- * If the cache needs to allocate more, it will purge previous entries.
- * This max can be changed by calling SetFontCacheLimit().
- *
- * If this thread has never called SetTLSFontCacheLimit, or has called it
- * with 0, then this thread is using the shared font cache. In that case,
- * this function will always return 0, and the caller may want to call
- * GetFontCacheLimit.
- */
- static size_t GetTLSFontCacheLimit();
-
- /**
- * Specify the max number of bytes that should be used by the thread-local
- * font cache. If this value is 0, then this thread will use the shared
- * global font cache.
- */
- static void SetTLSFontCacheLimit(size_t bytes);
-
typedef std::unique_ptr<SkImageGenerator>
(*ImageGeneratorFromEncodedDataFactory)(sk_sp<SkData>);