diff options
| author | 2013-08-02 15:31:45 -0700 | |
|---|---|---|
| committer | 2013-08-02 15:31:45 -0700 | |
| commit | 4b49e08385a96398aa2633e096fe916dc9f08768 (patch) | |
| tree | 56f219a344195b6ca7910ec26dca7b87a7f5db0a /libs/gui/BufferQueue.cpp | |
| parent | 14fab7dd794cd6bf29e6425340683c6221062b3c (diff) | |
Roll back recent change
Disable dropping of frames based on timestamp. Resume auto-
generating timestamps in Surface.
Bug 10151804
Change-Id: I15de26158e1d7ef22a5b150e685a126dc48ae2b4
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
| -rw-r--r-- | libs/gui/BufferQueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/BufferQueue.cpp b/libs/gui/BufferQueue.cpp index e22679e499..88159aacb5 100644 --- a/libs/gui/BufferQueue.cpp +++ b/libs/gui/BufferQueue.cpp @@ -855,7 +855,7 @@ status_t BufferQueue::acquireBuffer(BufferItem *buffer, nsecs_t expectedPresent) // // NOTE: code assumes monotonic time values from the system clock are // positive. - while (mQueue.size() > 1) { + while (false && mQueue.size() > 1) { // If entry[1] is timely, drop entry[0] (and repeat). We apply // an additional criteria here: we only drop the earlier buffer if // our desiredPresent falls within +/- 1 second of the expected |