From 713e1bb9df6bdfc21bd5c40d1a6ecf6c822a4be5 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Tue, 16 Oct 2012 18:44:09 -0700 Subject: 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 --- libs/hwui/TextureCache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/hwui/TextureCache.h') 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 mGarbage; -- cgit v1.2.3-59-g8ed1b