aboutsummaryrefslogtreecommitdiffstats
path: root/include/system
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2012-08-26 13:07:16 -0700
committerSteve Kondik <shade@chemlab.org>2012-08-26 16:55:34 -0700
commitef6d451e17a2696e017b0e683079d049893fd1b7 (patch)
tree59705f6bb0f328aafc17beba7c122fa0281411bc /include/system
parent92c3874861402821ac5d2ce94ef9e5c7310b05ca (diff)
downloadsystem_core-ef6d451e17a2696e017b0e683079d049893fd1b7.tar.gz
system_core-ef6d451e17a2696e017b0e683079d049893fd1b7.tar.bz2
system_core-ef6d451e17a2696e017b0e683079d049893fd1b7.zip
window: Add API to set the min undequeued buffer count
* Raising this value globally has some effects on other parts of the system. We need to control it dynamically. Change-Id: Ie11c7a7e53006aad710aebce64c02d3a3f64ade1
Diffstat (limited to 'include/system')
-rw-r--r--include/system/window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/system/window.h b/include/system/window.h
index a5eb0749..b7ffa016 100644
--- a/include/system/window.h
+++ b/include/system/window.h
@@ -254,6 +254,9 @@ enum {
NATIVE_WINDOW_SET_BUFFERS_USER_DIMENSIONS = 15, /* private */
NATIVE_WINDOW_SET_POST_TRANSFORM_CROP = 16, /* private */
NATIVE_WINDOW_SET_BUFFERS_SIZE = 17, /* private */
+#ifdef QCOM_HARDWARE
+ NATIVE_WINDOW_SET_MIN_UNDEQUEUED_BUFFER_COUNT = 18, /* private */
+#endif
};
/* parameter for NATIVE_WINDOW_[API_][DIS]CONNECT */