Searched refs:expectedPresent (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/gui/ |
D | BufferQueueConsumer.cpp | 54 nsecs_t expectedPresent, uint64_t maxFrameNumber) { in acquireBuffer() argument 95 if (expectedPresent != 0 && !mCore->mQueue.empty()) { in acquireBuffer() 135 if (desiredPresent < expectedPresent - MAX_REASONABLE_NSEC || in acquireBuffer() 136 desiredPresent > expectedPresent) { in acquireBuffer() 142 desiredPresent, expectedPresent, in acquireBuffer() 143 desiredPresent - expectedPresent, in acquireBuffer() 150 desiredPresent, expectedPresent, mCore->mQueue.size()); in acquireBuffer() 180 bool bufferIsDue = desiredPresent <= expectedPresent || in acquireBuffer() 181 desiredPresent > expectedPresent + MAX_REASONABLE_NSEC; in acquireBuffer() 188 desiredPresent, expectedPresent, in acquireBuffer() [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferQueueConsumer.h | 51 nsecs_t expectedPresent, uint64_t maxFrameNumber = 0) override;
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayer.cpp | 274 nsecs_t expectedPresent = mConsumer->computeExpectedPresent(dispSync); in shouldPresentNow() local 277 bool isPlausible = timestamp < (expectedPresent + s2ns(1)); in shouldPresentNow() 281 mName.string(), timestamp, expectedPresent); in shouldPresentNow() 283 bool isDue = timestamp < expectedPresent; in shouldPresentNow()
|