23 #define __NVAPI_EMPTY_SAL
27#include <NvApiDriverSettings.h>
30 #undef __NVAPI_EMPTY_SAL
33 #include <nvapi_lite_salend.h>
97 NvDRSSessionHandle session_handle =
nullptr;
NVIDIA driver profile settings loaded for inspection or modification.
Definition driver_settings.h:42
void destroy()
Destroy the native resource owned by the wrapper.
Definition driver_settings.cpp:60
bool load_settings()
Load settings data from the backing API or store.
Definition driver_settings.cpp:68
bool check_and_modify_global_profile(std::optional< undo_data_t > &undo_data)
Compare and update global NVIDIA profile settings.
Definition driver_settings.cpp:158
bool init()
Load NVIDIA profile settings for the current driver state.
Definition driver_settings.cpp:37
bool restore_global_profile_to_undo(const undo_data_t &undo_data)
Restore global NVIDIA profile settings from undo data.
Definition driver_settings.cpp:99
bool check_and_modify_application_profile(bool &modified)
Compare and update Sunshine NVIDIA application profile settings.
Definition driver_settings.cpp:216
bool save_settings()
Save settings data through the backing API or store.
Definition driver_settings.cpp:84
Serializable NVIDIA profile state saved before preference changes.
Definition undo_data.h:18
Declarations for undoing changes to nvidia preferences.