diff options
author | Mathias Agopian <mathias@google.com> | 2010-10-12 16:05:48 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-10-13 14:28:26 -0700 |
commit | 2d2b803a92ba531cf6c4bb7042326653255b8780 (patch) | |
tree | 4f9bfc77e4850d74b260dff622d03a175add6840 /services/surfaceflinger/SurfaceFlinger.h | |
parent | e03471e12f1adcd818b5bfd9dcb894c75fe955c5 (diff) | |
download | frameworks_base-2d2b803a92ba531cf6c4bb7042326653255b8780.zip frameworks_base-2d2b803a92ba531cf6c4bb7042326653255b8780.tar.gz frameworks_base-2d2b803a92ba531cf6c4bb7042326653255b8780.tar.bz2 |
implement part of [3094280] New animation for screen on and screen off
add support for screen on animation
Change-Id: If50cf52ae04b95b42da7d74cf7fa96d5cb54d238
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.h')
-rw-r--r-- | services/surfaceflinger/SurfaceFlinger.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h index f85a22b..d07a3ad 100644 --- a/services/surfaceflinger/SurfaceFlinger.h +++ b/services/surfaceflinger/SurfaceFlinger.h @@ -202,6 +202,7 @@ public: uint32_t reqWidth, uint32_t reqHeight); virtual status_t turnElectronBeamOff(int32_t mode); + virtual status_t turnElectronBeamOn(int32_t mode); void screenReleased(DisplayID dpy); void screenAcquired(DisplayID dpy); @@ -328,6 +329,11 @@ private: uint32_t reqWidth = 0, uint32_t reqHeight = 0); status_t turnElectronBeamOffImplLocked(); + status_t turnElectronBeamOnImplLocked(); + status_t electronBeamOffAnimationImplLocked(); + status_t electronBeamOnAnimationImplLocked(); + status_t renderScreenToTextureLocked(DisplayID dpy, + GLuint* textureName, GLfloat* uOut, GLfloat* vOut); friend class FreezeLock; sp<FreezeLock> getFreezeLock() const; @@ -389,6 +395,7 @@ private: bool mVisibleRegionsDirty; bool mDeferReleaseConsole; bool mFreezeDisplay; + bool mElectronBeamAnimation; int32_t mFreezeCount; nsecs_t mFreezeDisplayTime; Vector< sp<LayerBase> > mVisibleLayersSortedByZ; |