Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DCanvasContext.h158 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
DCanvasContext.cpp523 if (CC_UNLIKELY(mFrameMetricsReporter.get() != nullptr)) { in draw()
524 mFrameMetricsReporter->reportFrameMetrics(mCurrentFrameInfo->data()); in draw()