mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-09 03:01:53 -04:00
VideoCommon: De-globalize GeometryShaderManager class.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "Core/HW/VideoInterface.h"
|
||||
#include "VideoCommon/CommandProcessor.h"
|
||||
#include "VideoCommon/Fifo.h"
|
||||
#include "VideoCommon/GeometryShaderManager.h"
|
||||
#include "VideoCommon/PixelEngine.h"
|
||||
#include "VideoCommon/PixelShaderManager.h"
|
||||
#include "VideoCommon/VertexShaderManager.h"
|
||||
@@ -40,6 +41,7 @@ struct System::Impl
|
||||
DVDThread::DVDThreadState m_dvd_thread_state;
|
||||
ExpansionInterface::ExpansionInterfaceState m_expansion_interface_state;
|
||||
Fifo::FifoManager m_fifo;
|
||||
GeometryShaderManager m_geometry_shader_manager;
|
||||
Memory::MemoryManager m_memory;
|
||||
MemoryInterface::MemoryInterfaceState m_memory_interface_state;
|
||||
PixelEngine::PixelEngineManager m_pixel_engine;
|
||||
@@ -133,6 +135,11 @@ Fifo::FifoManager& System::GetFifo() const
|
||||
return m_impl->m_fifo;
|
||||
}
|
||||
|
||||
GeometryShaderManager& System::GetGeometryShaderManager() const
|
||||
{
|
||||
return m_impl->m_geometry_shader_manager;
|
||||
}
|
||||
|
||||
Memory::MemoryManager& System::GetMemory() const
|
||||
{
|
||||
return m_impl->m_memory;
|
||||
|
||||
Reference in New Issue
Block a user