summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.h
diff options
context:
space:
mode:
authorSai Kiran Korwar <skirank@nvidia.com>2015-07-07 20:00:06 +0530
committerGeoffrey Pitsch <gpitsch@google.com>2016-07-11 12:54:22 -0400
commit271674930a1f9020a291827a8ecb6ab68782c4fa (patch)
tree3c714a394ffaa2133707a495542465deba3d5309 /cmds/bootanimation/BootAnimation.h
parent3cc6935719323a3d8dc31fcfba59f5e3a8abfa32 (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.h1
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;