summaryrefslogtreecommitdiffstats
path: root/include/surfaceflinger
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-10-04 20:21:14 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-04 20:21:14 -0700
commitff04e97faf75c435e453d4c1caf7eeac8b9c1ceb (patch)
tree089714d6c07e5ec9e3bbf3cf5478c1dd264d8bc1 /include/surfaceflinger
parent722665c5f76e81bed646490977ea30f38aaa00da (diff)
parentf461930872beb4362998642c115691bdd2e94617 (diff)
downloadframeworks_base-ff04e97faf75c435e453d4c1caf7eeac8b9c1ceb.zip
frameworks_base-ff04e97faf75c435e453d4c1caf7eeac8b9c1ceb.tar.gz
frameworks_base-ff04e97faf75c435e453d4c1caf7eeac8b9c1ceb.tar.bz2
am f4619308: Merge "fix [2835280] Add support for cancelling buffers to ANativeWindow" into gingerbread
Merge commit 'f461930872beb4362998642c115691bdd2e94617' into gingerbread-plus-aosp * commit 'f461930872beb4362998642c115691bdd2e94617': fix [2835280] Add support for cancelling buffers to ANativeWindow
Diffstat (limited to 'include/surfaceflinger')
-rw-r--r--include/surfaceflinger/Surface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/surfaceflinger/Surface.h b/include/surfaceflinger/Surface.h
index 7c5a39b..22684db 100644
--- a/include/surfaceflinger/Surface.h
+++ b/include/surfaceflinger/Surface.h
@@ -199,6 +199,7 @@ private:
*/
static int setSwapInterval(ANativeWindow* window, int interval);
static int dequeueBuffer(ANativeWindow* window, android_native_buffer_t** buffer);
+ static int cancelBuffer(ANativeWindow* window, android_native_buffer_t* buffer);
static int lockBuffer(ANativeWindow* window, android_native_buffer_t* buffer);
static int queueBuffer(ANativeWindow* window, android_native_buffer_t* buffer);
static int query(ANativeWindow* window, int what, int* value);
@@ -207,6 +208,7 @@ private:
int dequeueBuffer(android_native_buffer_t** buffer);
int lockBuffer(android_native_buffer_t* buffer);
int queueBuffer(android_native_buffer_t* buffer);
+ int cancelBuffer(android_native_buffer_t* buffer);
int query(int what, int* value);
int perform(int operation, va_list args);