From b24b4fa12be03807a0c3c710ec5ad102f3a8e145 Mon Sep 17 00:00:00 2001 From: "bungeman@google.com" Date: Tue, 4 Sep 2012 13:49:59 +0000 Subject: Future proof luminance caches. https://codereview.appspot.com/6495071/ git-svn-id: http://skia.googlecode.com/svn/trunk@5382 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkPaint.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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; -- cgit v1.2.3