diff options
author | 2014-12-11 11:10:50 +0100 | |
---|---|---|
committer | 2014-12-11 11:10:50 +0100 | |
commit | 59cf734f9ee8fa0154d199f0f36779a6ffe0dfb5 (patch) | |
tree | c57440c0cbe027e40c20e0ff9c233c45ca5c721e /libs/hwui/TextureCache.h | |
parent | 9f2d0d27ac2e30d641e26775761e2909fa863f9a (diff) | |
parent | d67bb5015f716c094beff02b2c5e77c9bb7d11a0 (diff) |
resolved conflicts for merge of d67bb501 to master
Change-Id: I40698ce1e382cb41eec7af5ea49ac0e2f997d555
Diffstat (limited to 'libs/hwui/TextureCache.h')
-rw-r--r-- | libs/hwui/TextureCache.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h index 1e2d7419c1ab..d7d51a139977 100644 --- a/libs/hwui/TextureCache.h +++ b/libs/hwui/TextureCache.h @@ -45,6 +45,8 @@ class Texture; // Classes /////////////////////////////////////////////////////////////////////////////// +class AssetAtlas; + /** * A simple LRU texture cache. The cache has a maximum size expressed in bytes. * Any texture added to the cache causing the cache to grow beyond the maximum @@ -124,6 +126,8 @@ public: */ void setFlushRate(float flushRate); + void setAssetAtlas(AssetAtlas* assetAtlas); + private: bool canMakeTextureFromBitmap(const SkBitmap* bitmap); @@ -156,6 +160,8 @@ private: Vector<uint32_t> mGarbage; mutable Mutex mLock; + + AssetAtlas* mAssetAtlas; }; // class TextureCache }; // namespace uirenderer |