summaryrefslogtreecommitdiffstats
path: root/include/surfaceflinger
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-05-21 14:19:50 -0700
committerMathias Agopian <mathias@google.com>2010-05-21 14:34:32 -0700
commit25f0bdaea6d1a34aae3faf6688cad4fbebcca969 (patch)
tree8600372f2cb6f54254d2c7e0f7018c039e07c4b6 /include/surfaceflinger
parent4f5f2786b2c850ad0d772c7707ddbe55c3b7adf6 (diff)
downloadframeworks_base-25f0bdaea6d1a34aae3faf6688cad4fbebcca969.zip
frameworks_base-25f0bdaea6d1a34aae3faf6688cad4fbebcca969.tar.gz
frameworks_base-25f0bdaea6d1a34aae3faf6688cad4fbebcca969.tar.bz2
added native_window_set_buffer_count()
this method can be used to change the number of buffers associated to a native window. the default is two. Change-Id: I608b959e6b29d77f95edb23c31dc9b099a758f2f
Diffstat (limited to 'include/surfaceflinger')
-rw-r--r--include/surfaceflinger/Surface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/surfaceflinger/Surface.h b/include/surfaceflinger/Surface.h
index 973780f..e4d60af 100644
--- a/include/surfaceflinger/Surface.h
+++ b/include/surfaceflinger/Surface.h
@@ -212,6 +212,7 @@ private:
int dispatch_connect(va_list args);
int dispatch_disconnect(va_list args);
int dispatch_crop(va_list args);
+ int dispatch_set_buffer_count(va_list args);
void setUsage(uint32_t reqUsage);
int connect(int api);