diff options
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-04 13:49:59 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-04 13:49:59 +0000 |
commit | b24b4fa12be03807a0c3c710ec5ad102f3a8e145 (patch) | |
tree | 80bd8cc96260d1bc6273c02808aeddc786e3ac7c /include | |
parent | 6806bdaca8b22927ba7ef537fd5336311c7258e1 (diff) |
Future proof luminance caches.
https://codereview.appspot.com/6495071/
git-svn-id: http://skia.googlecode.com/svn/trunk@5382 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPaint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index 096344f6dd..50fcdd825e 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -951,12 +951,15 @@ private: void (*proc)(const SkDescriptor*, void*), void* context, bool ignoreGamma = false) const; + static void Term(); + enum { kCanonicalTextSizeForPaths = 64 }; friend class SkAutoGlyphCache; friend class SkCanvas; friend class SkDraw; + friend class SkGraphics; // So Term() can be called. friend class SkPDFDevice; friend class SkTextToPathIter; |