summaryrefslogtreecommitdiff
path: root/libs/hwui/TextureCache.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@android.com> 2010-07-02 11:20:34 -0700
committer Romain Guy <romainguy@android.com> 2010-07-02 11:20:34 -0700
commit7d139ba2c331f11e9b485753cc727a0ff202f2a4 (patch)
tree7d61a0d1cacc78c0d3053d31d85c13a5aa3e3326 /libs/hwui/TextureCache.h
parentd73ddd2c9d459e363c07a8f5e47995b52b4ae049 (diff)
Remove extra leftover logs and use uint32_t instead of unsigned int.
Change-Id: I944f82fe3255de38dc04048cc8bd861f578f01a7
Diffstat (limited to 'libs/hwui/TextureCache.h')
-rw-r--r--libs/hwui/TextureCache.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h
index c974b65b5432..250efc56f60f 100644
--- a/libs/hwui/TextureCache.h
+++ b/libs/hwui/TextureCache.h
@@ -32,7 +32,7 @@ namespace uirenderer {
*/
class TextureCache: public OnEntryRemoved<SkBitmap*, Texture*> {
public:
- TextureCache(unsigned int maxByteSize);
+ TextureCache(uint32_t maxByteSize);
~TextureCache();
/**
@@ -59,15 +59,15 @@ public:
/**
* Sets the maximum size of the cache in bytes.
*/
- void setMaxSize(unsigned int maxSize);
+ void setMaxSize(uint32_t maxSize);
/**
* Returns the maximum size of the cache in bytes.
*/
- unsigned int getMaxSize();
+ uint32_t getMaxSize();
/**
* Returns the current size of the cache in bytes.
*/
- unsigned int getSize();
+ uint32_t getSize();
private:
/**
@@ -80,8 +80,8 @@ private:
GenerationCache<SkBitmap, Texture> mCache;
- unsigned int mSize;
- unsigned int mMaxSize;
+ uint32_t mSize;
+ uint32_t mMaxSize;
}; // class TextureCache
}; // namespace uirenderer