mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
VideoCommon: De-globalize VertexShaderManager class.
This commit is contained in:
parent
0900e68986
commit
50625728e0
19 changed files with 151 additions and 101 deletions
|
@ -22,6 +22,7 @@
|
|||
#include "VideoCommon/Fifo.h"
|
||||
#include "VideoCommon/PixelEngine.h"
|
||||
#include "VideoCommon/PixelShaderManager.h"
|
||||
#include "VideoCommon/VertexShaderManager.h"
|
||||
|
||||
namespace Core
|
||||
{
|
||||
|
@ -45,6 +46,7 @@ struct System::Impl
|
|||
PixelShaderManager m_pixel_shader_manager;
|
||||
SerialInterface::SerialInterfaceState m_serial_interface_state;
|
||||
Sram m_sram;
|
||||
VertexShaderManager m_vertex_shader_manager;
|
||||
VideoInterface::VideoInterfaceState m_video_interface_state;
|
||||
};
|
||||
|
||||
|
@ -161,6 +163,11 @@ Sram& System::GetSRAM() const
|
|||
return m_impl->m_sram;
|
||||
}
|
||||
|
||||
VertexShaderManager& System::GetVertexShaderManager() const
|
||||
{
|
||||
return m_impl->m_vertex_shader_manager;
|
||||
}
|
||||
|
||||
VideoInterface::VideoInterfaceState& System::GetVideoInterfaceState() const
|
||||
{
|
||||
return m_impl->m_video_interface_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue