OSDN Git Service

Merge "BQ: Remove getNextFrameNumber Binder call" into nyc-mr1-dev
authorPablo Ceballos <pceballos@google.com>
Tue, 12 Jul 2016 00:24:56 +0000 (00:24 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 12 Jul 2016 00:24:57 +0000 (00:24 +0000)
1  2 
include/gui/Surface.h
libs/gui/IGraphicBufferProducer.cpp
libs/gui/Surface.cpp

@@@ -370,11 -370,9 +370,13 @@@ private
      // used to prevent a mismatch between the number of queue/dequeue calls.
      bool mSharedBufferHasBeenQueued;
  
 +    // These are used to satisfy the NATIVE_WINDOW_LAST_*_DURATION queries
 +    nsecs_t mLastDequeueDuration = 0;
 +    nsecs_t mLastQueueDuration = 0;
 +
      Condition mQueueBufferCondition;
+     uint64_t mNextFrameNumber;
  };
  
  namespace view {
Simple merge
Simple merge