diff options
| author | 2012-10-16 18:44:09 -0700 | |
|---|---|---|
| committer | 2012-10-16 18:44:09 -0700 | |
| commit | 713e1bb9df6bdfc21bd5c40d1a6ecf6c822a4be5 (patch) | |
| tree | d2cb42c7e05fff03274f9acdbdee80d848a86da2 /libs/hwui/TextureCache.h | |
| parent | d43b22da291fd08017fac627561091a633c85807 (diff) | |
Add API to enable mipmaps on Bitmap
Bug #7353771
This API can be used when scaling large images down to a small size
to get nicer looking results.
Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
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 31a2e3d7e81f..8e190921e7f8 100644 --- a/libs/hwui/TextureCache.h +++ b/libs/hwui/TextureCache.h @@ -138,6 +138,7 @@ private: float mFlushRate; + bool mHasNPot; bool mDebugEnabled; Vector<SkBitmap*> mGarbage; |