diff options
author | 2009-06-23 21:11:43 -0700 | |
---|---|---|
committer | 2009-06-24 20:39:16 -0700 | |
commit | cbc4c9f8d56317b2fe8964c15c9785ebeef98ca7 (patch) | |
tree | 131ba56996017a0493c681ef86c3f49bbcfa9dd3 /include/ui/FramebufferNativeWindow.h | |
parent | f31868e59fbf59a8d479587c80b648fb37a166fc (diff) |
hack copybit back in for video playback on msm7k. we have h/w accelerated video again
Diffstat (limited to 'include/ui/FramebufferNativeWindow.h')
-rw-r--r-- | include/ui/FramebufferNativeWindow.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/ui/FramebufferNativeWindow.h b/include/ui/FramebufferNativeWindow.h index a7804728c4ea..03d064cb36b8 100644 --- a/include/ui/FramebufferNativeWindow.h +++ b/include/ui/FramebufferNativeWindow.h @@ -55,6 +55,9 @@ public: bool isUpdateOnDemand() const { return mUpdateOnDemand; } status_t setUpdateRectangle(const Rect& updateRect); + // FIXME: needed for copybit hack in LayerBuffer + android_native_buffer_t const* getBackbuffer() const; + private: friend class LightRefBase<FramebufferNativeWindow>; ~FramebufferNativeWindow(); // this class cannot be overloaded @@ -75,8 +78,11 @@ private: int32_t mNumFreeBuffers; int32_t mBufferHead; bool mUpdateOnDemand; -}; + // FIXME: for getBackbuffer + int32_t mLastDequeued; +}; + // --------------------------------------------------------------------------- }; // namespace android // --------------------------------------------------------------------------- |