Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DChoreographer.cpp70 Choreographer::Context Choreographer::gChoreographers; member in android::Choreographer
111 std::lock_guard<std::mutex> _l(gChoreographers.lock);
112 gChoreographers.ptrs.push_back(this);
116 std::lock_guard<std::mutex> _l(gChoreographers.lock); in ~Choreographer()
117 gChoreographers.ptrs.erase(std::remove_if(gChoreographers.ptrs.begin(), in ~Choreographer()
118 gChoreographers.ptrs.end(), in ~Choreographer()
120 gChoreographers.ptrs.end()); in ~Choreographer()
123 if (gChoreographers.ptrs.empty() && gChoreographers.registeredToDisplayManager) { in ~Choreographer()
124 gChoreographers.registeredToDisplayManager = false; in ~Choreographer()
186 std::lock_guard<std::mutex> _l2(gChoreographers.lock); in registerRefreshRateCallback()
[all …]
/frameworks/native/libs/gui/include/gui/
DChoreographer.h80 static Context gChoreographers; variable
83 EXCLUDES(gChoreographers.lock);
89 EXCLUDES(gChoreographers.lock);
107 static void signalRefreshRateCallbacks(nsecs_t vsyncPeriod) EXCLUDES(gChoreographers.lock);
108 static int64_t getStartTimeNanosForVsyncId(AVsyncId vsyncId) EXCLUDES(gChoreographers.lock);
109 virtual ~Choreographer() override EXCLUDES(gChoreographers.lock);