diff options
author | Erik Gilling <konkers@android.com> | 2010-12-01 16:38:01 -0800 |
---|---|---|
committer | Erik Gilling <konkers@android.com> | 2010-12-08 15:40:11 -0800 |
commit | 94720d7ec40d2b5ee200d95a46588cdb0fb30e66 (patch) | |
tree | 48c53514ce6f4eb1012a38ec8fd9b422d7937897 /include | |
parent | 882754e8cc5833e19696271d612b4b9eabcc5bb3 (diff) | |
download | frameworks_base-94720d7ec40d2b5ee200d95a46588cdb0fb30e66.zip frameworks_base-94720d7ec40d2b5ee200d95a46588cdb0fb30e66.tar.gz frameworks_base-94720d7ec40d2b5ee200d95a46588cdb0fb30e66.tar.bz2 |
surfaceflinger: add support for gralloc dump hooks
Change-Id: Ib6f539ed0132b70d040d653c03d52cc04249ac3c
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/FramebufferNativeWindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ui/FramebufferNativeWindow.h b/include/ui/FramebufferNativeWindow.h index 2cd0911..16117ad 100644 --- a/include/ui/FramebufferNativeWindow.h +++ b/include/ui/FramebufferNativeWindow.h @@ -23,6 +23,7 @@ #include <EGL/egl.h> #include <utils/threads.h> +#include <utils/String8.h> #include <ui/Rect.h> #include <pixelflinger/pixelflinger.h> @@ -56,7 +57,9 @@ public: bool isUpdateOnDemand() const { return mUpdateOnDemand; } status_t setUpdateRectangle(const Rect& updateRect); status_t compositionComplete(); - + + void dump(String8& result); + // for debugging only int getCurrentBufferIndex() const; |