diff options
Diffstat (limited to 'libs/hwui/PathCache.h')
-rw-r--r-- | libs/hwui/PathCache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/PathCache.h b/libs/hwui/PathCache.h index d09789f..522e5e0 100644 --- a/libs/hwui/PathCache.h +++ b/libs/hwui/PathCache.h @@ -95,6 +95,7 @@ struct PathTexture: public Texture { */ class PathCache: public OnEntryRemoved<PathCacheEntry, PathTexture*> { public: + PathCache(); PathCache(uint32_t maxByteSize); ~PathCache(); @@ -135,6 +136,8 @@ private: PathTexture* addTexture(const PathCacheEntry& entry, const SkPath *path, const SkPaint* paint); + void init(); + GenerationCache<PathCacheEntry, PathTexture*> mCache; uint32_t mSize; |