commit | 55b6f95ee4ace96c97508bcd14483fb4e9dbeaa0 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Thu Jun 27 15:27:09 2013 -0700 |
committer | Romain Guy <romainguy@google.com> | Thu Jun 27 15:40:46 2013 -0700 |
tree | f66490c89db4ac96004144731a89d1956108f1a0 | |
parent | 9feab843ac8139f4e971d93fd767470d0d727e41 [diff] |
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