Searched refs:mFrameMetricsReporter (Results 1 – 2 of 2) sorted by relevance
174 if (mFrameMetricsReporter.get() == nullptr) { in addFrameMetricsObserver()175 mFrameMetricsReporter.reset(new FrameMetricsReporter()); in addFrameMetricsObserver()178 mFrameMetricsReporter->addObserver(observer); in addFrameMetricsObserver()182 if (mFrameMetricsReporter.get() != nullptr) { in removeFrameMetricsObserver()183 mFrameMetricsReporter->removeObserver(observer); in removeFrameMetricsObserver()184 if (!mFrameMetricsReporter->hasObservers()) { in removeFrameMetricsObserver()185 mFrameMetricsReporter.reset(nullptr); in removeFrameMetricsObserver()257 std::unique_ptr<FrameMetricsReporter> mFrameMetricsReporter; variable
485 if (CC_UNLIKELY(mFrameMetricsReporter.get() != nullptr)) { in draw()486 mFrameMetricsReporter->reportFrameMetrics(mCurrentFrameInfo->data()); in draw()