Lines Matching refs:surfaceFrame
795 std::shared_ptr<frametimeline::SurfaceFrame> surfaceFrame = in transferAvailableJankData() local
797 jankData.emplace_back(JankData(surfaceFrame->getToken(), in transferAvailableJankData()
798 surfaceFrame->getJankType().value(), in transferAvailableJankData()
799 surfaceFrame->getRenderRate().getPeriodNsecs())); in transferAvailableJankData()
845 for (auto& [token, surfaceFrame] : mDrawingState.bufferlessSurfaceFramesTX) { in commitTransaction()
846 if (surfaceFrame->getPresentState() != PresentState::Presented) { in commitTransaction()
849 surfaceFrame->setPresentState(PresentState::Presented, mLastLatchTime); in commitTransaction()
850 mFlinger->mFrameTimeline->addSurfaceFrame(surfaceFrame); in commitTransaction()
1395 auto surfaceFrame = createSurfaceFrameForTransaction(info, postTime); in setFrameTimelineVsyncForBufferlessTransaction() local
1396 mDrawingState.bufferlessSurfaceFramesTX[info.vsyncId] = surfaceFrame; in setFrameTimelineVsyncForBufferlessTransaction()
1409 std::shared_ptr<frametimeline::SurfaceFrame>& surfaceFrame, nsecs_t dropTime) { in addSurfaceFrameDroppedForBuffer() argument
1410 surfaceFrame->setDropTime(dropTime); in addSurfaceFrameDroppedForBuffer()
1411 surfaceFrame->setPresentState(PresentState::Dropped); in addSurfaceFrameDroppedForBuffer()
1412 mFlinger->mFrameTimeline->addSurfaceFrame(surfaceFrame); in addSurfaceFrameDroppedForBuffer()
1416 std::shared_ptr<frametimeline::SurfaceFrame>& surfaceFrame, nsecs_t acquireFenceTime, in addSurfaceFramePresentedForBuffer() argument
1418 surfaceFrame->setAcquireFenceTime(acquireFenceTime); in addSurfaceFramePresentedForBuffer()
1419 surfaceFrame->setPresentState(PresentState::Presented, mLastLatchTime); in addSurfaceFramePresentedForBuffer()
1420 mFlinger->mFrameTimeline->addSurfaceFrame(surfaceFrame); in addSurfaceFramePresentedForBuffer()
1426 auto surfaceFrame = in createSurfaceFrameForTransaction() local
1431 surfaceFrame->setActualStartTime(info.startTimeNanos); in createSurfaceFrameForTransaction()
1433 surfaceFrame->setActualQueueTime(postTime); in createSurfaceFrameForTransaction()
1434 surfaceFrame->setAcquireFenceTime(postTime); in createSurfaceFrameForTransaction()
1437 surfaceFrame->setRenderRate(*fps); in createSurfaceFrameForTransaction()
1439 onSurfaceFrameCreated(surfaceFrame); in createSurfaceFrameForTransaction()
1440 return surfaceFrame; in createSurfaceFrameForTransaction()
1445 auto surfaceFrame = in createSurfaceFrameForBuffer() local
1449 surfaceFrame->setActualStartTime(info.startTimeNanos); in createSurfaceFrameForBuffer()
1451 surfaceFrame->setActualQueueTime(queueTime); in createSurfaceFrameForBuffer()
1454 surfaceFrame->setRenderRate(*fps); in createSurfaceFrameForBuffer()
1456 onSurfaceFrameCreated(surfaceFrame); in createSurfaceFrameForBuffer()
1457 return surfaceFrame; in createSurfaceFrameForBuffer()
1469 auto surfaceFrame = in setFrameTimelineVsyncForSkippedFrames() local
1474 surfaceFrame->setActualStartTime(skippedFrameTimelineInfo.skippedFrameStartTimeNanos); in setFrameTimelineVsyncForSkippedFrames()
1476 surfaceFrame->setActualQueueTime(postTime); in setFrameTimelineVsyncForSkippedFrames()
1477 surfaceFrame->setAcquireFenceTime(postTime); in setFrameTimelineVsyncForSkippedFrames()
1480 surfaceFrame->setRenderRate(*fps); in setFrameTimelineVsyncForSkippedFrames()
1482 onSurfaceFrameCreated(surfaceFrame); in setFrameTimelineVsyncForSkippedFrames()
1483 addSurfaceFrameDroppedForBuffer(surfaceFrame, postTime); in setFrameTimelineVsyncForSkippedFrames()
2946 const std::shared_ptr<frametimeline::SurfaceFrame>& surfaceFrame) { in onSurfaceFrameCreated() argument
2961 mPendingJankClassifications.emplace_back(surfaceFrame); in onSurfaceFrameCreated()
4081 for (auto& [token, surfaceFrame] : mDrawingState.bufferlessSurfaceFramesTX) { in onCompositionPresented()
4082 surfaceFrame->setGpuComposition(); in onCompositionPresented()