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

/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp49 nsecs_t expectedPresent, uint64_t maxFrameNumber) {
85 // If expectedPresent is specified, we may not want to return a buffer yet.
90 if (expectedPresent != 0 && !mCore->mQueue.empty()) {
93 // The 'expectedPresent' argument indicates when the buffer is expected
95 // earlier (less) than expectedPresent -- meaning it will be displayed
98 // expectedPresent time, we return PRESENT_LATER without acquiring it.
100 // To be safe, we don't defer acquisition if expectedPresent is more
130 if (desiredPresent < expectedPresent - MAX_REASONABLE_NSEC ||
131 desiredPresent > expectedPresent) {
137 desiredPresent, expectedPresent,
48 acquireBuffer(BufferItem* outBuffer, nsecs_t expectedPresent, uint64_t maxFrameNumber) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp1659 nsecs_t expectedPresent = local
1663 bool isPlausible = timestamp < (expectedPresent + s2ns(1));
1665 "relative to expectedPresent %" PRId64, mName.string(), timestamp,
1666 expectedPresent);
1668 bool isDue = timestamp < expectedPresent;
H A DSurfaceFlinger.cpp948 nsecs_t expectedPresent = mPrimaryDispSync.computeNextRefresh(0); local
950 bool frameMissed = (expectedPresent == previousExpectedPresent);
H A DSurfaceFlinger_hwc1.cpp952 nsecs_t expectedPresent = mPrimaryDispSync.computeNextRefresh(0); local
954 bool frameMissed = (expectedPresent == previousExpectedPresent);

Completed in 96 milliseconds