summaryrefslogtreecommitdiff
path: root/libs/hwui/LayerCache.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-10-05 18:16:35 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-10-05 18:16:35 -0700
commit1e14f49d06b871d8101e33c47ba34b87c3c8089d (patch)
treec304de50878ea70f36b2228aa8fe735270bd510c /libs/hwui/LayerCache.h
parent0f8ee7439a0c0487b023f6b150ba0f9986a6cb15 (diff)
parenteb99356a0548684a501766e6a524529ab93304c8 (diff)
Merge "Optimize saveLayer() when the clip flag is set."
Diffstat (limited to 'libs/hwui/LayerCache.h')
-rw-r--r--libs/hwui/LayerCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/LayerCache.h b/libs/hwui/LayerCache.h
index c0c7542ae001..cbb7ae2ce391 100644
--- a/libs/hwui/LayerCache.h
+++ b/libs/hwui/LayerCache.h
@@ -64,6 +64,7 @@ public:
* @param size The dimensions of the desired layer
*/
Layer* get(LayerSize& size);
+
/**
* Adds the layer to the cache. The layer will not be added if there is
* not enough space available.
@@ -96,7 +97,6 @@ private:
void deleteLayer(Layer* layer);
GenerationCache<LayerSize, Layer*> mCache;
- uint32_t mIdGenerator;
uint32_t mSize;
uint32_t mMaxSize;