summaryrefslogtreecommitdiff
path: root/libs/hwui/TextureCache.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-07-07 15:15:32 -0700
committer Romain Guy <romainguy@google.com> 2010-07-07 15:15:32 -0700
commit6c81893c626499e58c8eeb20d6c35ec4e1ce808b (patch)
treed4926e6c4952de9aec539f1b44ed0380779e12d0 /libs/hwui/TextureCache.h
parent3038f47d1c716f9385cf0befc08e708c65f069bb (diff)
Simpler way to deal with the FBO multi-cache.
This change removes the need for the SortedList and instead just add a generated id to each FBO stored in the cache. This is an artificial way to store several FBOs with the same dimensions. Change-Id: I9638364e9bdc0f2391261937a0c86096f20505bf
Diffstat (limited to 'libs/hwui/TextureCache.h')
-rw-r--r--libs/hwui/TextureCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h
index a6208765be4f..bed11915c581 100644
--- a/libs/hwui/TextureCache.h
+++ b/libs/hwui/TextureCache.h
@@ -78,7 +78,7 @@ private:
*/
void generateTexture(SkBitmap* bitmap, Texture* texture, bool regenerate = false);
- GenerationSingleCache<SkBitmap*, Texture*> mCache;
+ GenerationCache<SkBitmap*, Texture*> mCache;
uint32_t mSize;
uint32_t mMaxSize;