summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/LayerOrientationAnim.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaceflinger/LayerOrientationAnim.h')
-rw-r--r--libs/surfaceflinger/LayerOrientationAnim.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerOrientationAnim.h b/libs/surfaceflinger/LayerOrientationAnim.h
index 73676859bc..b527c7e595 100644
--- a/libs/surfaceflinger/LayerOrientationAnim.h
+++ b/libs/surfaceflinger/LayerOrientationAnim.h
@@ -52,7 +52,7 @@ public:
virtual bool needsBlending() const;
virtual bool isSecure() const { return false; }
private:
- void drawScaled(float scale, float alpha) const;
+ void drawScaled(float angle, float scale, float alpha) const;
OrientationAnimation* mAnim;
LayerBitmap mBitmap;
@@ -62,6 +62,7 @@ private:
bool mOrientationCompleted;
mutable bool mFirstRedraw;
mutable float mLastNormalizedTime;
+ mutable float mLastAngle;
mutable float mLastScale;
mutable GLuint mTextureName;
mutable GLuint mTextureNameIn;