|
|
|
@ -19,7 +19,7 @@ struct mangoapp_msg_header {
|
|
|
|
|
|
|
|
|
|
struct mangoapp_msg_v1 {
|
|
|
|
|
struct mangoapp_msg_header hdr;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uint32_t pid;
|
|
|
|
|
uint64_t visible_frametime_ns;
|
|
|
|
|
uint8_t fsrUpscale;
|
|
|
|
@ -38,16 +38,16 @@ struct mangoapp_ctrl_header {
|
|
|
|
|
|
|
|
|
|
struct mangoapp_ctrl_msgid1_v1 {
|
|
|
|
|
struct mangoapp_ctrl_header hdr;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// When a field is set to 0, it should always mean "ignore" or "no changes"
|
|
|
|
|
uint8_t no_display; // 0x0 = ignore; 0x1 = disable; 0x2 = enable; 0x3 = toggle
|
|
|
|
|
uint8_t log_session; // 0x0 = ignore; 0x1 = start a session; 0x2 = stop the current session; 0x3 = toggle logging
|
|
|
|
|
char log_session_name[64]; // if byte 0 is NULL, ignore. Needs to be set when starting/toggling a session if we want to override the default name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// WARNING: Always ADD fields, never remove or repurpose fields
|
|
|
|
|
} __attribute__((packed));
|
|
|
|
|
|
|
|
|
|
extern uint8_t g_fsrUpscale;
|
|
|
|
|
extern uint8_t g_fsrSharpness;
|
|
|
|
|
extern std::vector<float> gamescope_debug_latency;
|
|
|
|
|
extern std::vector<float> gamescope_debug_app;
|
|
|
|
|
extern std::vector<float> gamescope_debug_app;
|
|
|
|
|