Searched refs:mFrameMetricsReporter (Results 1 – 2 of 2) sorted by relevance
158 if (mFrameMetricsReporter.get() == nullptr) { in addFrameMetricsObserver()159 mFrameMetricsReporter.reset(new FrameMetricsReporter()); in addFrameMetricsObserver()162 mFrameMetricsReporter->addObserver(observer); in addFrameMetricsObserver()166 if (mFrameMetricsReporter.get() != nullptr) { in removeFrameMetricsObserver()167 mFrameMetricsReporter->removeObserver(observer); in removeFrameMetricsObserver()168 if (!mFrameMetricsReporter->hasObservers()) { in removeFrameMetricsObserver()169 mFrameMetricsReporter.reset(nullptr); in removeFrameMetricsObserver()268 std::unique_ptr<FrameMetricsReporter> mFrameMetricsReporter; variable
520 if (CC_UNLIKELY(mFrameMetricsReporter.get() != nullptr)) { in draw()521 mFrameMetricsReporter->reportFrameMetrics(mCurrentFrameInfo->data()); in draw()