Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp103 mVsync.value = (mVsync.value + 1) % 2; in vsyncCallback()
106 std::lock_guard lock(mVsync.mutex); in vsyncCallback()
107 mVsync.lastCallbackTime = std::chrono::nanoseconds(vsyncTime); in vsyncCallback()
108 mVsync.scheduledFrameTime.reset(); in vsyncCallback()
111 const auto vsyncId = mVsync.tokenManager->generateTokenForPredictions( in vsyncCallback()
121 mVsync.tokenManager = &tokenManager; in initVsync()
122 mVsync.registration = std::make_unique< in initVsync()
133 std::lock_guard lock(mVsync.mutex); in setDuration()
134 mVsync.workDuration = workDuration; in setDuration()
135 if (mVsync.scheduledFrameTime) { in setDuration()
[all …]
DMessageQueue.h129 Vsync mVsync; variable