diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkGraphics.h | 20 |
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>); |