| 52 | // #define DEBUG_FRAME_TYPE |
| 53 | |
| 54 | const char* FrameTypeToString(FrameType ft) |
| 55 | { |
| 56 | switch (ft) { |
| 57 | #ifdef DEBUG_FRAME_TYPE |
| 58 | case FrameType::NotSet: return "NotSet"; |
| 59 | case FrameType::Repeated: return "Repeated"; |
| 60 | #else |
| 61 | case FrameType::NotSet: |
| 62 | case FrameType::Repeated: |
| 63 | #endif |
| 64 | case FrameType::Application: return "Application"; |
| 65 | case FrameType::Intel_XEFG: return "Intel XeSS-FG"; |
| 66 | case FrameType::AMD_AFMF: return "AMD AFMF"; |
| 67 | } |
| 68 | |
| 69 | return "Unknown"; |
| 70 | } |
| 71 | |
| 72 | // v1.x only: |
| 73 | static const char* FinalStateToDroppedString(PresentResult res) |
no outgoing calls
no test coverage detected