commit | a2341a9f6addcd79723965ec5b1a1c5ae0f8bd65 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Wed Sep 08 18:04:33 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Wed Sep 08 18:04:33 2010 -0700 |
tree | ce61e01a0719f9fc52e48be002fe1d57d3af9c68 | |
parent | 9aaa8269a3e7291aab84d01c3fc9c744d8f2d2f4 [diff] [blame] |
Purge Skia objects from GL caches as needed. Change-Id: I754c671cf790ad5ae8bf047ad328034217da4ecc
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h index 847d69c..a63789a 100644 --- a/libs/hwui/TextureCache.h +++ b/libs/hwui/TextureCache.h
@@ -87,6 +87,10 @@ uint32_t mMaxSize; GLint mMaxTextureSize; + /** + * Used to access mCache and mSize. All methods are accessed from a single + * thread except for remove(). + */ mutable Mutex mLock; }; // class TextureCache