summaryrefslogtreecommitdiff
path: root/libs/hwui/TextureCache.h
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2016-02-06 01:39:34 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-02-06 01:39:34 +0000
commit807842acfacbc12a6ef0234e20ef3f91e669c06f (patch)
treea7dd12556c57405bc5129c917db91ef6f82d67c9 /libs/hwui/TextureCache.h
parent2068bb8bb06303997697ecaaa2e7063835a972b6 (diff)
parent48a8f431fa52ae2ee25ffba9d20676f03bb710ff (diff)
Merge "Move several property queries to Properties class"
Diffstat (limited to 'libs/hwui/TextureCache.h')
-rw-r--r--libs/hwui/TextureCache.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h
index 463450c81714..a4317cee73fd 100644
--- a/libs/hwui/TextureCache.h
+++ b/libs/hwui/TextureCache.h
@@ -109,10 +109,6 @@ public:
void clear();
/**
- * Sets the maximum size of the cache in bytes.
- */
- void setMaxSize(uint32_t maxSize);
- /**
* Returns the maximum size of the cache in bytes.
*/
uint32_t getMaxSize();
@@ -126,11 +122,6 @@ public:
* is defined by the flush rate.
*/
void flush();
- /**
- * Indicates the percentage of the cache to retain when a
- * memory trim is requested (see Caches::flush).
- */
- void setFlushRate(float flushRate);
void setAssetAtlas(AssetAtlas* assetAtlas);
@@ -148,10 +139,10 @@ private:
LruCache<uint32_t, Texture*> mCache;
uint32_t mSize;
- uint32_t mMaxSize;
+ const uint32_t mMaxSize;
GLint mMaxTextureSize;
- float mFlushRate;
+ const float mFlushRate;
bool mDebugEnabled;