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.h200 enum { NUM_PRESENT_SAMPLES = 8 }; enumerator
252 std::shared_ptr<FenceTime> mPresentFences[NUM_PRESENT_SAMPLES]{FenceTime::NO_FENCE};
DDispSync.cpp533 mPresentSampleOffset = (mPresentSampleOffset + 1) % NUM_PRESENT_SAMPLES; in addPresentFence()
735 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in updateErrorLocked()
781 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in resetErrorLocked()
830 StringAppendF(&result, "mPresentFences [%d]:\n", NUM_PRESENT_SAMPLES); in dump()
833 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in dump()
834 size_t idx = (i + mPresentSampleOffset) % NUM_PRESENT_SAMPLES; in dump()