hack copybit back in for video playback on msm7k. we have h/w accelerated video again
diff --git a/include/ui/FramebufferNativeWindow.h b/include/ui/FramebufferNativeWindow.h
index a780472..03d064c 100644
--- a/include/ui/FramebufferNativeWindow.h
+++ b/include/ui/FramebufferNativeWindow.h
@@ -55,6 +55,9 @@
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 @@
int32_t mNumFreeBuffers;
int32_t mBufferHead;
bool mUpdateOnDemand;
-};
+ // FIXME: for getBackbuffer
+ int32_t mLastDequeued;
+};
+
// ---------------------------------------------------------------------------
}; // namespace android
// ---------------------------------------------------------------------------