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.h198 enum { NUM_PRESENT_SAMPLES = 8 }; enumerator
245 std::shared_ptr<FenceTime> mPresentFences[NUM_PRESENT_SAMPLES]{FenceTime::NO_FENCE};
DDispSync.cpp537 mPresentSampleOffset = (mPresentSampleOffset + 1) % NUM_PRESENT_SAMPLES; in addPresentFence()
724 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in updateErrorLocked()
767 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in resetErrorLocked()
816 StringAppendF(&result, "mPresentFences [%d]:\n", NUM_PRESENT_SAMPLES); in dump()
819 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in dump()
820 size_t idx = (i + mPresentSampleOffset) % NUM_PRESENT_SAMPLES; in dump()