commit | 713e1bb9df6bdfc21bd5c40d1a6ecf6c822a4be5 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Tue Oct 16 18:44:09 2012 -0700 |
committer | Romain Guy <romainguy@google.com> | Tue Oct 16 18:44:09 2012 -0700 |
tree | d2cb42c7e05fff03274f9acdbdee80d848a86da2 | |
parent | d43b22da291fd08017fac627561091a633c85807 [diff] [blame] |
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
diff --git a/libs/hwui/TextureCache.h b/libs/hwui/TextureCache.h index 31a2e3d..8e19092 100644 --- a/libs/hwui/TextureCache.h +++ b/libs/hwui/TextureCache.h
@@ -138,6 +138,7 @@ float mFlushRate; + bool mHasNPot; bool mDebugEnabled; Vector<SkBitmap*> mGarbage;