Home
last modified time | relevance | path

Searched refs:NUM_PRESENT_SAMPLES (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/
DDispSync.h137 enum { NUM_PRESENT_SAMPLES = 8 }; enumerator
178 std::shared_ptr<FenceTime> mPresentFences[NUM_PRESENT_SAMPLES]{FenceTime::NO_FENCE};
DDispSync.cpp434 mPresentSampleOffset = (mPresentSampleOffset + 1) % NUM_PRESENT_SAMPLES; in addPresentFence()
602 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in updateErrorLocked()
645 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in resetErrorLocked()
682 result.appendFormat("mPresentFences [%d]:\n", NUM_PRESENT_SAMPLES); in dump()
685 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in dump()
686 size_t idx = (i + mPresentSampleOffset) % NUM_PRESENT_SAMPLES; in dump()