summaryrefslogtreecommitdiffstats
path: root/include/ui/FramebufferNativeWindow.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-06-23 21:11:43 -0700
committerMathias Agopian <mathias@google.com>2009-06-24 20:39:16 -0700
commit69029eb5abfaeb52716b84db89e32dc742551508 (patch)
tree42f99fe892035c13c17fcee07582a607a5566355 /include/ui/FramebufferNativeWindow.h
parent4c4b387afb2e775fcac3b81a249bb7646515dffa (diff)
downloadframeworks_native-69029eb5abfaeb52716b84db89e32dc742551508.zip
frameworks_native-69029eb5abfaeb52716b84db89e32dc742551508.tar.gz
frameworks_native-69029eb5abfaeb52716b84db89e32dc742551508.tar.bz2
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.h8
1 files changed, 7 insertions, 1 deletions
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 @@ 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
// ---------------------------------------------------------------------------