commit | 9aaa8269a3e7291aab84d01c3fc9c744d8f2d2f4 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Wed Sep 08 15:15:43 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Wed Sep 08 15:15:43 2010 -0700 |
tree | cdb43405ac7ef845d01d993442193cad2adfb84e | |
parent | 53389bdcdf6ffaaec533b73bc1d0abc5807ec7f6 [diff] [blame] |
Fix possible infinite loop when purging textures. Change-Id: Ib05b398ae03e734da2dab0496df416fed4570b1c
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h index b5e4c7c..847d69c 100644 --- a/libs/hwui/TextureCache.h +++ b/libs/hwui/TextureCache.h
@@ -86,6 +86,8 @@ uint32_t mSize; uint32_t mMaxSize; GLint mMaxTextureSize; + + mutable Mutex mLock; }; // class TextureCache }; // namespace uirenderer