diff options
Diffstat (limited to 'libs/hwui/TextureCache.h')
| -rw-r--r-- | libs/hwui/TextureCache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h index 847d69c93d11..a63789a14eb0 100644 --- a/libs/hwui/TextureCache.h +++ b/libs/hwui/TextureCache.h @@ -87,6 +87,10 @@ private: 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 |