summaryrefslogtreecommitdiff
path: root/libs/gui/Surface.cpp
diff options
context:
space:
mode:
author Andy McFadden <fadden@android.com> 2013-08-02 16:53:11 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2013-08-02 16:53:11 +0000
commit86cd09d388d8f6dd52ec1b3e19170966e99caacb (patch)
tree1eada73287e9feb6ae8572c55bca1df513efd03a /libs/gui/Surface.cpp
parentba93b3f8e403636b614a4a379f9421bc70dca84f (diff)
parent14fab7dd794cd6bf29e6425340683c6221062b3c (diff)
Merge "Drop frames based on presentation timestamp"
Diffstat (limited to 'libs/gui/Surface.cpp')
-rw-r--r--libs/gui/Surface.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/gui/Surface.cpp b/libs/gui/Surface.cpp
index fdb7d3d93d..07a98bc352 100644
--- a/libs/gui/Surface.cpp
+++ b/libs/gui/Surface.cpp
@@ -263,9 +263,7 @@ int Surface::queueBuffer(android_native_buffer_t* buffer, int fenceFd) {
Mutex::Autolock lock(mMutex);
int64_t timestamp;
if (mTimestamp == NATIVE_WINDOW_TIMESTAMP_AUTO) {
- timestamp = systemTime(SYSTEM_TIME_MONOTONIC);
- ALOGV("Surface::queueBuffer making up timestamp: %.2f ms",
- timestamp / 1000000.f);
+ timestamp = 0;
} else {
timestamp = mTimestamp;
}