aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2011-06-27 10:42:39 -0700
committerGlenn Kasten <gkasten@google.com>2011-06-27 10:42:39 -0700
commitc322f67140d52014c47dff41d03a601b251f56ed (patch)
treedc7cd265889102b3e873537cd9ee1d040ab1c886 /include
parent352dfdfaea55601f2c36fe7286a158e84028bcf3 (diff)
downloadsystem_core-c322f67140d52014c47dff41d03a601b251f56ed.tar.gz
system_core-c322f67140d52014c47dff41d03a601b251f56ed.tar.bz2
system_core-c322f67140d52014c47dff41d03a601b251f56ed.zip
Bug 4571308 Timestamps are not always monotonic
Change-Id: Ia4e89a286a514d91d76268235c716e328cd3d0c2
Diffstat (limited to 'include')
-rw-r--r--include/system/window.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/system/window.h b/include/system/window.h
index 5762a500..eef567db 100644
--- a/include/system/window.h
+++ b/include/system/window.h
@@ -441,8 +441,10 @@ static inline int native_window_set_buffers_transform(
* All buffers queued after this call will be associated with the timestamp
* parameter specified. If the timestamp is set to NATIVE_WINDOW_TIMESTAMP_AUTO
* (the default), timestamps will be generated automatically when queueBuffer is
- * called. The timestamp is measured in nanoseconds, and must be monotonically
- * increasing.
+ * called. The timestamp is measured in nanoseconds, and is normally monotonically
+ * increasing. The timestamp should be unaffected by time-of-day adjustments,
+ * and for a camera should be strictly monotonic but for a media player may be
+ * reset when the position is set.
*/
static inline int native_window_set_buffers_timestamp(
struct ANativeWindow* window,