mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
InputCommon: reduce number of image loads and texture cache invalidations by only running dynamic input textures once for all controllers
This commit is contained in:
@ -19,10 +19,11 @@ class Configuration
|
||||
public:
|
||||
explicit Configuration(const std::string& json_file);
|
||||
~Configuration();
|
||||
bool GenerateTextures(const IniFile::Section* sec, const std::string& controller_name) const;
|
||||
bool GenerateTextures(const IniFile& file,
|
||||
const std::vector<std::string>& controller_names) const;
|
||||
|
||||
private:
|
||||
bool GenerateTexture(const IniFile::Section* sec, const std::string& controller_name,
|
||||
bool GenerateTexture(const IniFile& file, const std::vector<std::string>& controller_names,
|
||||
const Data& texture_data) const;
|
||||
|
||||
std::vector<Data> m_dynamic_input_textures;
|
||||
|
Reference in New Issue
Block a user