aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-07 19:27:18 +0000
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-07 19:27:18 +0000
commit82d447d4f193f10a5ea77a0bcb5737fc35fb340d (patch)
tree18180c704a1f03475e44e0806ebf84c090d201bd /include
parent09dcf754ff979dd30c3a1bd4443b54d99562fff0 (diff)
downloadskia-82d447d4f193f10a5ea77a0bcb5737fc35fb340d.tar.gz
revert TLS change (until we impl windows backend)
git-svn-id: http://skia.googlecode.com/svn/trunk@3858 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkGraphics.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h
index 3cfd70ffc2..9e78dde5e4 100644
--- a/include/core/SkGraphics.h
+++ b/include/core/SkGraphics.h
@@ -65,29 +65,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 zero (the default), then this thread will
- * share the global font cache and its limit.
- *
- * This function returns the previous setting, as if GetFontCacheLimit()
- * had be called before the new limit was set.
- */
- static size_t SetTLSFontCacheLimit(size_t bytes);
-
private:
/** This is automatically called by SkGraphics::Init(), and must be
implemented by the host OS. This allows the host OS to register a callback