diff options
Diffstat (limited to 'libs/hwui/TextureCache.h')
-rw-r--r-- | libs/hwui/TextureCache.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h index b97d92d..a2c6380 100644 --- a/libs/hwui/TextureCache.h +++ b/libs/hwui/TextureCache.h @@ -52,10 +52,9 @@ class AssetAtlas; * Any texture added to the cache causing the cache to grow beyond the maximum * allowed size will also cause the oldest texture to be kicked out. */ -class TextureCache: public OnEntryRemoved<uint32_t, Texture*> { +class TextureCache : public OnEntryRemoved<uint32_t, Texture*> { public: TextureCache(); - TextureCache(uint32_t maxByteSize); ~TextureCache(); /** @@ -146,8 +145,6 @@ private: void uploadToTexture(bool resize, GLenum format, GLsizei stride, GLsizei bpp, GLsizei width, GLsizei height, GLenum type, const GLvoid * data); - void init(); - LruCache<uint32_t, Texture*> mCache; uint32_t mSize; |