diff options
author | 2010-10-05 14:58:09 -0700 | |
---|---|---|
committer | 2010-10-05 14:58:09 -0700 | |
commit | 7adaf3d1aa18c7e521f7154e545fe52d329763c3 (patch) | |
tree | 23a2a9ffb2f538ba097626a786281928d4360bf1 /libs/hwui/TextureCache.h | |
parent | 469b1dbeaf7d3267d1b43af4e7391b49eac10ee0 (diff) |
Add support for paletted textures.
Change-Id: I36e6069bd58f78c609cdd1f3e4560c98f128f48e
Diffstat (limited to 'libs/hwui/TextureCache.h')
-rw-r--r-- | libs/hwui/TextureCache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h index 7cf66d928536..34c5455673ac 100644 --- a/libs/hwui/TextureCache.h +++ b/libs/hwui/TextureCache.h @@ -79,6 +79,7 @@ private: */ void generateTexture(SkBitmap* bitmap, Texture* texture, bool regenerate = false); + void uploadPalettedTexture(bool resize, SkBitmap* bitmap, uint32_t width, uint32_t height); void uploadToTexture(bool resize, GLenum format, GLsizei width, GLsizei height, GLenum type, const GLvoid * data); |