diff options
author | Mathias Agopian <mathias@google.com> | 2010-12-07 17:24:03 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-12-07 17:24:03 -0800 |
commit | b5a00fcb71426492f248ed49a0514a9b8d385065 (patch) | |
tree | ce78c3a966ee11c9cf86d017dc3550e1f481ecb9 /include/ui/GraphicBuffer.h | |
parent | 8a84418ef17048ef7879a2a413e26d6109c22a07 (diff) | |
parent | 372c56e98b93647b7050e518c285057a8a72bc74 (diff) | |
download | frameworks_native-b5a00fcb71426492f248ed49a0514a9b8d385065.zip frameworks_native-b5a00fcb71426492f248ed49a0514a9b8d385065.tar.gz frameworks_native-b5a00fcb71426492f248ed49a0514a9b8d385065.tar.bz2 |
am 48f42f8c: am 4153bf3a: Merge "[3171580] don\'t automatically log GraphicBuffer allocation failures" into gingerbread
* commit '48f42f8c3fbd33b2f46c6290ff5963dd58938cf9':
[3171580] don't automatically log GraphicBuffer allocation failures
Diffstat (limited to 'include/ui/GraphicBuffer.h')
-rw-r--r-- | include/ui/GraphicBuffer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ui/GraphicBuffer.h b/include/ui/GraphicBuffer.h index c446633..aa65d93 100644 --- a/include/ui/GraphicBuffer.h +++ b/include/ui/GraphicBuffer.h @@ -91,12 +91,15 @@ public: status_t lock(uint32_t usage, const Rect& rect, void** vaddr); status_t lock(GGLSurface* surface, uint32_t usage); status_t unlock(); - + android_native_buffer_t* getNativeBuffer() const; void setIndex(int index); int getIndex() const; + // for debugging + static void dumpAllocationsToSystemLog(); + private: virtual ~GraphicBuffer(); |