summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-01-30 15:03:03 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-01-30 15:03:03 -0800
commitc043fa28b907613b7ddf67b622a804b3c8ac2185 (patch)
treeeb73a4484454fab3ce7f8d391e5aa8594d3d5f71 /include
parent4b175081b4473d0b0ff3b9a52be47f8d910d377f (diff)
parentda04384f18602bf3a7bc9c6b39dc1f09ea420692 (diff)
downloadframeworks_native-c043fa28b907613b7ddf67b622a804b3c8ac2185.zip
frameworks_native-c043fa28b907613b7ddf67b622a804b3c8ac2185.tar.gz
frameworks_native-c043fa28b907613b7ddf67b622a804b3c8ac2185.tar.bz2
am 62884505: Merge "Reset ANativeWindow crop on buffer geometry changes." into honeycomb
* commit '628845056282a0c5b1a212ce5aeeaac092b91ec8': Reset ANativeWindow crop on buffer geometry changes.
Diffstat (limited to 'include')
-rw-r--r--include/ui/egl/android_natives.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/egl/android_natives.h b/include/ui/egl/android_natives.h
index 654d0f3..fdc8105 100644
--- a/include/ui/egl/android_natives.h
+++ b/include/ui/egl/android_natives.h
@@ -315,6 +315,8 @@ static inline int native_window_set_buffer_count(
* If all parameters are 0, the normal behavior is restored. That is,
* dequeued buffers following this call will be sized to the window's size.
*
+ * Calling this function will reset the window crop to a NULL value, which
+ * disables cropping of the buffers.
*/
static inline int native_window_set_buffers_geometry(
ANativeWindow* window,