Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/src/swappy/
DSwappy.h183 const int32_t& newSwapInterval) REQUIRES(mFrameDurationsMutex);
188 const int32_t& newSwapInterval) REQUIRES(mFrameDurationsMutex);
235 std::mutex mFrameDurationsMutex; variable
236 std::vector<FrameDuration> mFrameDurations GUARDED_BY(mFrameDurationsMutex);
237 FrameDuration mFrameDurationsSum GUARDED_BY(mFrameDurationsMutex);
239 bool mAutoSwapIntervalEnabled GUARDED_BY(mFrameDurationsMutex) = true;
240 bool mPipelineModeAutoMode GUARDED_BY(mFrameDurationsMutex) = true;
DSwappy.cpp220 std::lock_guard<std::mutex> lock(swappy->mFrameDurationsMutex); in getSwapIntervalNS()
231 std::lock_guard<std::mutex> lock(swappy->mFrameDurationsMutex); in setAutoSwapInterval()
247 std::lock_guard<std::mutex> lock(swappy->mFrameDurationsMutex); in setAutoPipelineMode()
423 std::lock_guard<std::mutex> lock(mFrameDurationsMutex); in onSettingsChanged()
491 std::lock_guard<std::mutex> lock(mFrameDurationsMutex); in addFrameDuration()
598 std::lock_guard<std::mutex> lock(mFrameDurationsMutex); in updateSwapInterval()