Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.h194 enum { NUM_PRESENT_SAMPLES = 8 }; enumerator
246 std::shared_ptr<FenceTime> mPresentFences[NUM_PRESENT_SAMPLES]{FenceTime::NO_FENCE};
DDispSync.cpp552 mPresentSampleOffset = (mPresentSampleOffset + 1) % NUM_PRESENT_SAMPLES; in addPresentFence()
741 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in updateErrorLocked()
787 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in resetErrorLocked()
834 StringAppendF(&result, "mPresentFences [%d]:\n", NUM_PRESENT_SAMPLES); in dump()
837 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in dump()
838 size_t idx = (i + mPresentSampleOffset) % NUM_PRESENT_SAMPLES; in dump()