mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Common/LinearDiskCache: Move interface into Common namespace
Gets the interface out of the global namespace.
This commit is contained in:
@ -176,8 +176,8 @@ private:
|
||||
template <typename T>
|
||||
void ClearShaderCache(T& cache);
|
||||
template <typename KeyType, typename DiskKeyType, typename T>
|
||||
void LoadPipelineCache(T& cache, LinearDiskCache<DiskKeyType, u8>& disk_cache, APIType api_type,
|
||||
const char* type, bool include_gameid);
|
||||
void LoadPipelineCache(T& cache, Common::LinearDiskCache<DiskKeyType, u8>& disk_cache,
|
||||
APIType api_type, const char* type, bool include_gameid);
|
||||
template <typename T, typename Y>
|
||||
void ClearPipelineCache(T& cache, Y& disk_cache);
|
||||
|
||||
@ -216,7 +216,7 @@ private:
|
||||
bool pending = false;
|
||||
};
|
||||
std::map<Uid, Shader> shader_map;
|
||||
LinearDiskCache<Uid, u8> disk_cache;
|
||||
Common::LinearDiskCache<Uid, u8> disk_cache;
|
||||
};
|
||||
ShaderModuleCache<VertexShaderUid> m_vs_cache;
|
||||
ShaderModuleCache<GeometryShaderUid> m_gs_cache;
|
||||
@ -229,8 +229,8 @@ private:
|
||||
std::map<GXUberPipelineUid, std::pair<std::unique_ptr<AbstractPipeline>, bool>>
|
||||
m_gx_uber_pipeline_cache;
|
||||
File::IOFile m_gx_pipeline_uid_cache_file;
|
||||
LinearDiskCache<SerializedGXPipelineUid, u8> m_gx_pipeline_disk_cache;
|
||||
LinearDiskCache<SerializedGXUberPipelineUid, u8> m_gx_uber_pipeline_disk_cache;
|
||||
Common::LinearDiskCache<SerializedGXPipelineUid, u8> m_gx_pipeline_disk_cache;
|
||||
Common::LinearDiskCache<SerializedGXUberPipelineUid, u8> m_gx_uber_pipeline_disk_cache;
|
||||
|
||||
// EFB copy to VRAM/RAM pipelines
|
||||
std::map<TextureConversionShaderGen::TCShaderUid, std::unique_ptr<AbstractPipeline>>
|
||||
|
Reference in New Issue
Block a user