summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.h
diff options
context:
space:
mode:
author Jorim Jaggi <jjaggi@google.com> 2018-08-22 23:06:35 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-08-22 23:06:35 +0000
commite387ce18d8487020b80cd454bc1442345128fa8b (patch)
treef546a15d9ab700bb2208612bd1715bba76f038ee /cmds/bootanimation/BootAnimation.h
parentab39f605b1d64fad6b6c3ee0ddcb28cb7c77fddf (diff)
parent9ee5dff83c1cae93dff281735b60134dbd26dd8a (diff)
Merge "BootAnimation: Fix boot animation with hidden cutout" into pi-dev
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
-rw-r--r--cmds/bootanimation/BootAnimation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h
index 56e131523bcb..b4699d884681 100644
--- a/cmds/bootanimation/BootAnimation.h
+++ b/cmds/bootanimation/BootAnimation.h
@@ -157,11 +157,15 @@ private:
void checkExit();
+ void handleViewport(nsecs_t timestep);
+
sp<SurfaceComposerClient> mSession;
AssetManager mAssets;
Texture mAndroid[2];
int mWidth;
int mHeight;
+ int mCurrentInset;
+ int mTargetInset;
bool mUseNpotTextures = false;
EGLDisplay mDisplay;
EGLDisplay mContext;