diff options
author | Sai Kiran Korwar <skirank@nvidia.com> | 2015-07-07 20:00:06 +0530 |
---|---|---|
committer | Geoffrey Pitsch <gpitsch@google.com> | 2016-07-11 12:54:22 -0400 |
commit | 271674930a1f9020a291827a8ecb6ab68782c4fa (patch) | |
tree | 3c714a394ffaa2133707a495542465deba3d5309 /cmds/bootanimation/BootAnimation.h | |
parent | 3cc6935719323a3d8dc31fcfba59f5e3a8abfa32 (diff) |
BootAnimation: Use npot textures
If non power of two textures are supported, then use
npot texture for specifying the images supplied by vendor.
This will reduce the memory footprint of the app by a considerable
amount.
Bug: 28865582
Bug: 30040263
Change-Id: I5cef98fb013318d60d8a648041c9665da68c0ff3
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
-rw-r--r-- | cmds/bootanimation/BootAnimation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h index a093c9b87e75..85724f46d9d6 100644 --- a/cmds/bootanimation/BootAnimation.h +++ b/cmds/bootanimation/BootAnimation.h @@ -130,6 +130,7 @@ private: Texture mClock; int mWidth; int mHeight; + bool mUseNpotTextures = false; EGLDisplay mDisplay; EGLDisplay mContext; EGLDisplay mSurface; |