mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Isolate D3D and Software Renderer from wxWidgets code
This commit is contained in:
@ -33,10 +33,6 @@
|
||||
#include "VideoBackends/Software/VideoBackend.h"
|
||||
#include "VideoBackends/Software/XFMemLoader.h"
|
||||
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
#include "VideoBackends/Software/VideoConfigDialog.h"
|
||||
#endif // HAVE_WX
|
||||
|
||||
#include "VideoCommon/Fifo.h"
|
||||
#include "VideoCommon/OnScreenDisplay.h"
|
||||
#include "VideoCommon/PixelEngine.h"
|
||||
@ -62,12 +58,17 @@ static std::mutex m_csSWVidOccupied;
|
||||
|
||||
std::string VideoSoftware::GetName() const
|
||||
{
|
||||
return _trans("Software Renderer");
|
||||
return "Software Renderer";
|
||||
}
|
||||
|
||||
void VideoSoftware::ShowConfig(void *_hParent)
|
||||
std::string VideoSoftware::GetDisplayName() const
|
||||
{
|
||||
Host_ShowVideoConfig(_hParent, "Software", "gfx_software");
|
||||
return "Software Renderer";
|
||||
}
|
||||
|
||||
void VideoSoftware::ShowConfig(void *hParent)
|
||||
{
|
||||
Host_ShowVideoConfig(hParent, GetDisplayName(), "gfx_software");
|
||||
}
|
||||
|
||||
bool VideoSoftware::Initialize(void *&window_handle)
|
||||
|
@ -59,7 +59,6 @@
|
||||
<ClCompile Include="TextureEncoder.cpp" />
|
||||
<ClCompile Include="TextureSampler.cpp" />
|
||||
<ClCompile Include="TransformUnit.cpp" />
|
||||
<ClCompile Include="VideoConfigDialog.cpp" />
|
||||
<ClCompile Include="XFMemLoader.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@ -87,7 +86,6 @@
|
||||
<ClInclude Include="TransformUnit.h" />
|
||||
<ClInclude Include="Vec3.h" />
|
||||
<ClInclude Include="VideoBackend.h" />
|
||||
<ClInclude Include="VideoConfigDialog.h" />
|
||||
<ClInclude Include="XFMemLoader.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -14,6 +14,7 @@ class VideoSoftware : public VideoBackend
|
||||
void Shutdown() override;
|
||||
|
||||
std::string GetName() const override;
|
||||
std::string GetDisplayName() const override;
|
||||
|
||||
void EmuStateChange(EMUSTATE_CHANGE newState) override;
|
||||
|
||||
|
Reference in New Issue
Block a user