summaryrefslogtreecommitdiff
path: root/libs/hwui/GradientCache.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/GradientCache.h
parent2068bb8bb06303997697ecaaa2e7063835a972b6 (diff)
parent48a8f431fa52ae2ee25ffba9d20676f03bb710ff (diff)
Merge "Move several property queries to Properties class"
Diffstat (limited to 'libs/hwui/GradientCache.h')
-rw-r--r--libs/hwui/GradientCache.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/hwui/GradientCache.h b/libs/hwui/GradientCache.h
index b762ca7d5e5c..dccd45072522 100644
--- a/libs/hwui/GradientCache.h
+++ b/libs/hwui/GradientCache.h
@@ -123,10 +123,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();
@@ -177,7 +173,7 @@ private:
LruCache<GradientCacheEntry, Texture*> mCache;
uint32_t mSize;
- uint32_t mMaxSize;
+ const uint32_t mMaxSize;
GLint mMaxTextureSize;
bool mUseFloatTexture;