summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2011-02-18 11:02:42 -0800
committerEino-Ville Talvala <etalvala@google.com>2011-03-17 13:10:03 -0700
commit1d01a12e7150be569557b64da9b8663c62c13594 (patch)
tree796f86331ff79593bd6483e4b947c61d63c5c243 /opengl/tests/gl_basic/gl_basic.cpp
parentf75ad0db1959cccfdee9086732236605c2800423 (diff)
Add support for timestamps into SurfaceTexture.
API addition: The timestamps are represented as nanoseconds from some arbitrary time point. Like the SurfaceTexture transform matrix, the timestamp retrieved by getTimestamp is for the last frame sent to the GL texture using updateTexImage(). Camera HAL change: Expect vendors to set these timestamps using native_window_set_buffers_timestamp(). For now, they are autogenerated by SurfaceTextureClient if set_buffers_timestamp() is never called, but such timing is likely not accurate enough to pass a CTS test. bug:3300707 Change-Id: Ife131a0c2a826ac27342e11b8a6c42ff49e1bea7
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions