Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.h139 enum { NUM_PRESENT_SAMPLES = 8 }; enumerator
174 sp<Fence> mPresentFences[NUM_PRESENT_SAMPLES];
175 nsecs_t mPresentTimes[NUM_PRESENT_SAMPLES];
DDispSync.cpp421 mPresentSampleOffset = (mPresentSampleOffset + 1) % NUM_PRESENT_SAMPLES; in addPresentFence()
424 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in addPresentFence()
598 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in updateErrorLocked()
624 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in resetErrorLocked()
666 NUM_PRESENT_SAMPLES); in dump()
669 for (size_t i = 0; i < NUM_PRESENT_SAMPLES; i++) { in dump()
670 size_t idx = (i + mPresentSampleOffset) % NUM_PRESENT_SAMPLES; in dump()