commit | e309a0fd2e528039b3c1f1372a9a7095bcd852cc | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Mon Mar 21 11:04:34 2011 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Mon Mar 21 15:38:36 2011 -0700 |
tree | 695e1fd00b7471195c7e04ab81688956872ef823 | |
parent | affb58e727863fdc8d2c0ea444054b581eb41be5 [diff] |
NEW_API: Add getTimestamp() to SurfaceTexture. Like getTransformMatrix, getTimestamp provides a timestamp for the OpenGL texture produced by the latest call to updateTexImage(). Timestamps are measured in nanoseconds, and are monotonically increasing. Other properties of the timestamps (zero point, comparability) depend on the source providing frames to the SurfaceTexture, and need to be documented by the source. bug:3300707 Change-Id: I380d94926d0e9f1c77bb5c1576b72d5ef4e2eba1