diff options
| author | Mathias Agopian <mathias@google.com> | 2010-09-14 15:14:10 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-14 15:14:10 -0700 |
| commit | 48a862407dda482450bdfd5aa2a2cd8b3e8e38dd (patch) | |
| tree | 9cf822d456fab1858f266b491a81bc90868c36b5 /include/ui/FramebufferNativeWindow.h | |
| parent | b30f21882080bd4c0d7c3b25878151dd19ac3f94 (diff) | |
| parent | b3ffc78f3432344702e6f5232067ab624083cad2 (diff) | |
| download | frameworks_base-48a862407dda482450bdfd5aa2a2cd8b3e8e38dd.zip frameworks_base-48a862407dda482450bdfd5aa2a2cd8b3e8e38dd.tar.gz frameworks_base-48a862407dda482450bdfd5aa2a2cd8b3e8e38dd.tar.bz2 | |
am b3ffc78f: Merge "Add logging of various important graphics events" into gingerbread
Merge commit 'b3ffc78f3432344702e6f5232067ab624083cad2' into gingerbread-plus-aosp
* commit 'b3ffc78f3432344702e6f5232067ab624083cad2':
Add logging of various important graphics events
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 0f4594f..c913355 100644 --- a/include/ui/FramebufferNativeWindow.h +++ b/include/ui/FramebufferNativeWindow.h @@ -56,6 +56,9 @@ public: status_t setUpdateRectangle(const Rect& updateRect); status_t compositionComplete(); + // for debugging only + int getCurrentBufferIndex() const; + private: friend class LightRefBase<FramebufferNativeWindow>; ~FramebufferNativeWindow(); // this class cannot be overloaded @@ -77,6 +80,7 @@ private: int32_t mNumBuffers; int32_t mNumFreeBuffers; int32_t mBufferHead; + int32_t mCurrentBufferIndex; bool mUpdateOnDemand; }; |
