diff options
| author | Mathias Agopian <mathias@google.com> | 2009-05-07 17:40:23 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2009-05-07 17:40:23 -0700 |
| commit | 97b8056c3182a973c67d3c1b196150d4b9e30f3a (patch) | |
| tree | b78a1c6d95b468aa654d1910226ae711250799b5 /include/ui/FramebufferNativeWindow.h | |
| parent | 927d37cb788670b91af0f1a7a93c68046a838d23 (diff) | |
| download | frameworks_base-97b8056c3182a973c67d3c1b196150d4b9e30f3a.zip frameworks_base-97b8056c3182a973c67d3c1b196150d4b9e30f3a.tar.gz frameworks_base-97b8056c3182a973c67d3c1b196150d4b9e30f3a.tar.bz2 | |
add support for update-on-demand in SurfaceFlinger
Diffstat (limited to 'include/ui/FramebufferNativeWindow.h')
| -rw-r--r-- | include/ui/FramebufferNativeWindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ui/FramebufferNativeWindow.h b/include/ui/FramebufferNativeWindow.h index aad39a2..a780472 100644 --- a/include/ui/FramebufferNativeWindow.h +++ b/include/ui/FramebufferNativeWindow.h @@ -52,6 +52,9 @@ public: framebuffer_device_t const * getDevice() const { return fbDev; } + bool isUpdateOnDemand() const { return mUpdateOnDemand; } + status_t setUpdateRectangle(const Rect& updateRect); + private: friend class LightRefBase<FramebufferNativeWindow>; ~FramebufferNativeWindow(); // this class cannot be overloaded @@ -71,6 +74,7 @@ private: int32_t mNumBuffers; int32_t mNumFreeBuffers; int32_t mBufferHead; + bool mUpdateOnDemand; }; // --------------------------------------------------------------------------- |
