Skip to content

Commit

Permalink
Updated names for generated frame types.
Browse files Browse the repository at this point in the history
  • Loading branch information
markgalvan-intel committed Dec 13, 2024
1 parent a55b9e6 commit 7ec24eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions IntelPresentMon/Interprocess/source/metadata/EnumFrameType.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
X_(FRAME_TYPE, UNSPECIFIED, "Unspecified", "", "Frame rendered by unspecified technique") \
X_(FRAME_TYPE, APPLICATION, "Application", "", "Frame rendered by the target application") \
X_(FRAME_TYPE, REPEATED, "Application", "", "Frame rendered by the taget application") \
X_(FRAME_TYPE, INTEL_XEFG, "Intel XEFG", "", "Frame generated by Intel XEFG") \
X_(FRAME_TYPE, AMD_AFMF, "AMD_AFMF", "", "Frame generated by AMD Fluid Motion Frames")
X_(FRAME_TYPE, INTEL_XEFG, "Intel XeSS-FG", "", "Frame generated by Intel XeSS-FG") \
X_(FRAME_TYPE, AMD_AFMF, "AMD AFMF", "", "Frame generated by AMD Fluid Motion Frames")
8 changes: 4 additions & 4 deletions PresentData/Debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ wchar_t const* PMPFrameTypeToString(Intel_PresentMon::FrameType type)
case Intel_PresentMon::FrameType::Unspecified: return L"Unspecified";
case Intel_PresentMon::FrameType::Original: return L"Original";
case Intel_PresentMon::FrameType::Repeated: return L"Repeated";
case Intel_PresentMon::FrameType::Intel_XEFG: return L"Intel_XEFG";
case Intel_PresentMon::FrameType::AMD_AFMF: return L"AMD_AFMF";
case Intel_PresentMon::FrameType::Intel_XEFG: return L"Intel XeSS-FG";
case Intel_PresentMon::FrameType::AMD_AFMF: return L"AMD AFMF";
}

assert(false);
Expand All @@ -192,8 +192,8 @@ void PrintFrameType(FrameType type)
case FrameType::Unspecified: wprintf(L"Unspecified"); break;
case FrameType::Application: wprintf(L"Application"); break;
case FrameType::Repeated: wprintf(L"Repeated"); break;
case FrameType::Intel_XEFG: wprintf(L"Intel_XEFG"); break;
case FrameType::AMD_AFMF: wprintf(L"AMD_AFMF"); break;
case FrameType::Intel_XEFG: wprintf(L"Intel XeSS-FG"); break;
case FrameType::AMD_AFMF: wprintf(L"AMD AFMF"); break;
default: wprintf(L"Unknown (%u)", type); assert(false); break;
}
}
Expand Down
4 changes: 2 additions & 2 deletions PresentMon/CsvOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const char* FrameTypeToString(FrameType ft)
case FrameType::Repeated:
#endif
case FrameType::Application: return "Application";
case FrameType::Intel_XEFG: return "Intel_XEFG";
case FrameType::AMD_AFMF: return "AMD_AFMF";
case FrameType::Intel_XEFG: return "Intel XeSS-FG";
case FrameType::AMD_AFMF: return "AMD AFMF";
}

return "Unknown";
Expand Down

0 comments on commit 7ec24eb

Please sign in to comment.