summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.h
diff options
context:
space:
mode:
author Jorim Jaggi <jjaggi@google.com> 2018-08-22 16:20:32 -0700
committer android-build-merger <android-build-merger@google.com> 2018-08-22 16:20:32 -0700
commit2c68abc9fc99ab12a4951e5da55525ffcfa350ad (patch)
tree8b023d383865b38c953584cdcc493166d23c8c0b /cmds/bootanimation/BootAnimation.h
parent507bdec1abe7abcbc38abbde81cf2dc10c127f0d (diff)
parente387ce18d8487020b80cd454bc1442345128fa8b (diff)
Merge "BootAnimation: Fix boot animation with hidden cutout" into pi-dev
am: e387ce18d8 Change-Id: I55c32ef69c4bb565376946ce65101f37ef0cce8a
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;