VideoCommon: De-globalize PixelShaderManager class.
This commit is contained in:
22 files changed
+197
-133
No files matched your search
@@ -21,6 +21,7 @@
|
||||
#include "VideoCommon/CommandProcessor.h"
|
||||
#include "VideoCommon/Fifo.h"
|
||||
#include "VideoCommon/PixelEngine.h"
|
||||
#include "VideoCommon/PixelShaderManager.h"
|
||||
|
||||
namespace Core
|
||||
{
|
||||
@@ -41,6 +42,7 @@ struct System::Impl
|
||||
Memory::MemoryManager m_memory;
|
||||
MemoryInterface::MemoryInterfaceState m_memory_interface_state;
|
||||
PixelEngine::PixelEngineManager m_pixel_engine;
|
||||
PixelShaderManager m_pixel_shader_manager;
|
||||
SerialInterface::SerialInterfaceState m_serial_interface_state;
|
||||
Sram m_sram;
|
||||
VideoInterface::VideoInterfaceState m_video_interface_state;
|
||||
@@ -144,6 +146,11 @@ PixelEngine::PixelEngineManager& System::GetPixelEngine() const
|
||||
return m_impl->m_pixel_engine;
|
||||
}
|
||||
|
||||
PixelShaderManager& System::GetPixelShaderManager() const
|
||||
{
|
||||
return m_impl->m_pixel_shader_manager;
|
||||
}
|
||||
|
||||
SerialInterface::SerialInterfaceState& System::GetSerialInterfaceState() const
|
||||
{
|
||||
return m_impl->m_serial_interface_state;
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
class PixelShaderManager;
|
||||
class SoundStream;
|
||||
struct Sram;
|
||||
|
||||
@@ -106,6 +107,7 @@ public:
|
||||
Memory::MemoryManager& GetMemory() const;
|
||||
MemoryInterface::MemoryInterfaceState& GetMemoryInterfaceState() const;
|
||||
PixelEngine::PixelEngineManager& GetPixelEngine() const;
|
||||
PixelShaderManager& GetPixelShaderManager() const;
|
||||
SerialInterface::SerialInterfaceState& GetSerialInterfaceState() const;
|
||||
Sram& GetSRAM() const;
|
||||
VideoInterface::VideoInterfaceState& GetVideoInterfaceState() const;
|
||||
|
||||
Reference in new issue
Block a user