MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / DeferFlipFrameType

Method DeferFlipFrameType

PresentData/PresentMonTraceConsumer.cpp:3380–3393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3378}
3379
3380void PMTraceConsumer::DeferFlipFrameType(
3381 uint64_t vidPnLayerId,
3382 uint64_t presentId,
3383 uint64_t timestamp,
3384 FrameType frameType)
3385{
3386 DebugAssert(mPendingFlipFrameTypeEvents.find(vidPnLayerId) == mPendingFlipFrameTypeEvents.end());
3387
3388 FlipFrameTypeEvent e;
3389 e.PresentId = presentId;
3390 e.Timestamp = timestamp;
3391 e.FrameType = frameType;
3392 mPendingFlipFrameTypeEvents.emplace(vidPnLayerId, e);
3393}
3394
3395void PMTraceConsumer::ApplyFlipFrameType(
3396 std::shared_ptr<PresentEvent> const& present,

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected