diff options
author | Romain Guy <romainguy@google.com> | 2013-06-27 15:27:09 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2013-06-27 15:40:46 -0700 |
commit | 55b6f95ee4ace96c97508bcd14483fb4e9dbeaa0 (patch) | |
tree | f66490c89db4ac96004144731a89d1956108f1a0 /libs/hwui/Caches.cpp | |
parent | 9feab843ac8139f4e971d93fd767470d0d727e41 (diff) | |
download | frameworks_base-55b6f95ee4ace96c97508bcd14483fb4e9dbeaa0.zip frameworks_base-55b6f95ee4ace96c97508bcd14483fb4e9dbeaa0.tar.gz frameworks_base-55b6f95ee4ace96c97508bcd14483fb4e9dbeaa0.tar.bz2 |
Track the atlas' generation ID
Bug #9589379
If the atlas is terminated/reinitialized and a view does not invalidate
in between it might end up using a stale AssetAtlas::Entry. This change
is similar to how 9patch meshes are cached in DrawPatchOp: we simply
track the generation ID of the cache to make sure we always use the
latest data.
Change-Id: Ib5abb3769d2ce0eabe9adc04e320ca27c422019e
Diffstat (limited to 'libs/hwui/Caches.cpp')
0 files changed, 0 insertions, 0 deletions