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

Function PMPFrameTypeToString

PresentData/Debug.cpp:177–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 if (flags & DXGI_PRESENT_TEST) wprintf(L"TEST");
176}
177wchar_t const* PMPFrameTypeToString(Intel_PresentMon::FrameType type)
178{
179 switch (type) {
180 case Intel_PresentMon::FrameType::Unspecified: return L"Unspecified";
181 case Intel_PresentMon::FrameType::Original: return L"Original";
182 case Intel_PresentMon::FrameType::Repeated: return L"Repeated";
183 case Intel_PresentMon::FrameType::Intel_XEFG: return L"Intel XeSS-FG";
184 case Intel_PresentMon::FrameType::AMD_AFMF: return L"AMD AFMF";
185 }
186
187 assert(false);
188 return L"Unknown";
189}
190void PrintFrameType(FrameType type)
191{
192 switch (type) {

Callers 1

VerboseTraceEventImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected