diff options
| author | 2013-08-02 22:34:13 +0000 | |
|---|---|---|
| committer | 2013-08-02 22:34:13 +0000 | |
| commit | d9ba9707b0ab5c53e34d8ce9a5e71c41b85bb8da (patch) | |
| tree | a530f96ac820166b0baa7b0fdb9a953acffc2f8a /libs/gui/Surface.cpp | |
| parent | c1c39f8807f5b3dad9ca221d912f7cd4f4f74d9c (diff) | |
| parent | 4b49e08385a96398aa2633e096fe916dc9f08768 (diff) | |
Merge "Roll back recent change"
Diffstat (limited to 'libs/gui/Surface.cpp')
| -rw-r--r-- | libs/gui/Surface.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp index 07a98bc352..f3a7e5ea77 100644 --- a/libs/gui/Surface.cpp +++ b/libs/gui/Surface.cpp @@ -263,7 +263,9 @@ int Surface::queueBuffer(android_native_buffer_t* buffer, int fenceFd) { Mutex::Autolock lock(mMutex); int64_t timestamp; if (mTimestamp == NATIVE_WINDOW_TIMESTAMP_AUTO) { - timestamp = 0; + timestamp = systemTime(SYSTEM_TIME_MONOTONIC); + ALOGV("Surface::queueBuffer making up timestamp: %.2f ms", + timestamp / 1000000.f); } else { timestamp = mTimestamp; } |