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

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

Completed in 10 milliseconds