MCPcopy Create free account
hub / github.com/Tencent/libpag / onFrameFlush

Method onFrameFlush

viewer/src/task/profiling/PAGProfilingTask.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55auto PAGProfilingTask::onFrameFlush(double progress) -> void {
56 PAGPlayTask::onFrameFlush(progress);
57 if (currentFrame == 0) {
58 return;
59 }
60 performanceData->renderingTime += pagPlayer->renderingTime();
61 performanceData->presentingTime += pagPlayer->presentingTime();
62 performanceData->imageDecodingTime += pagPlayer->imageDecodingTime();
63}
64
65} // namespace pag

Callers

nothing calls this directly

Calls 3

renderingTimeMethod · 0.45
presentingTimeMethod · 0.45
imageDecodingTimeMethod · 0.45

Tested by

no test coverage detected