Searched refs:expectedPresent (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp54 nsecs_t expectedPresent, uint64_t maxFrameNumber) {
90 // If expectedPresent is specified, we may not want to return a buffer yet.
95 if (expectedPresent != 0 && !mCore->mQueue.empty()) {
98 // The 'expectedPresent' argument indicates when the buffer is expected
100 // earlier (less) than expectedPresent -- meaning it will be displayed
103 // expectedPresent time, we return PRESENT_LATER without acquiring it.
105 // To be safe, we don't defer acquisition if expectedPresent is more
135 if (desiredPresent < expectedPresent - MAX_REASONABLE_NSEC ||
136 desiredPresent > expectedPresent) {
142 desiredPresent, expectedPresent,
53 acquireBuffer(BufferItem* outBuffer, nsecs_t expectedPresent, uint64_t maxFrameNumber) argument
[all...]
/frameworks/native/include/gui/
H A DBufferQueueConsumer.h45 // If expectedPresent is nonzero, it indicates the time when the buffer
51 nsecs_t expectedPresent, uint64_t maxFrameNumber = 0) override;
/frameworks/native/libs/gui/include/gui/
H A DBufferQueueConsumer.h45 // If expectedPresent is nonzero, it indicates the time when the buffer
51 nsecs_t expectedPresent, uint64_t maxFrameNumber = 0) override;
/frameworks/native/services/surfaceflinger/
H A DBufferLayer.cpp274 nsecs_t expectedPresent = mConsumer->computeExpectedPresent(dispSync); local
277 bool isPlausible = timestamp < (expectedPresent + s2ns(1));
280 "relative to expectedPresent %" PRId64,
281 mName.string(), timestamp, expectedPresent);
283 bool isDue = timestamp < expectedPresent;

Completed in 66 milliseconds