diff options
| author | 2010-07-07 15:15:32 -0700 | |
|---|---|---|
| committer | 2010-07-07 15:15:32 -0700 | |
| commit | 6c81893c626499e58c8eeb20d6c35ec4e1ce808b (patch) | |
| tree | d4926e6c4952de9aec539f1b44ed0380779e12d0 /libs/hwui/TextureCache.h | |
| parent | 3038f47d1c716f9385cf0befc08e708c65f069bb (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.h | 2 |
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; |