HostInterface: Add function to switch between sw/hw rendering

This commit is contained in:
Connor McLaughlin
2020-01-24 14:51:53 +10:00
parent f2231d6669
commit 4a3478b360
11 changed files with 43 additions and 39 deletions

View File

@ -104,8 +104,13 @@ protected:
/// Returns the path of the game database cache file.
std::string GetGameListDatabaseFileName() const;
/// Applies new settings, updating internal state as needed. apply_callback should call m_settings.Load() after
/// locking any required mutexes.
void UpdateSettings(const std::function<void()>& apply_callback);
/// Quick switch between software and hardware rendering.
void ToggleSoftwareRendering();
void RunFrame();
/// Throttles the system, i.e. sleeps until it's time to execute the next frame.