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

Function GenerateVidPnLayerId

PresentData/PresentMonTraceConsumer.cpp:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26static uint32_t gNextFrameId = 1;
27
28static inline uint64_t GenerateVidPnLayerId(uint32_t vidPnSourceId, uint32_t layerIndex)
29{
30 return (((uint64_t) vidPnSourceId) << 32) | (uint64_t) layerIndex;
31}
32
33static inline FrameType ConvertPMPFrameTypeToFrameType(Intel_PresentMon::FrameType frameType)
34{

Callers 2

HandleDXGKEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected