diff options
| author | degasus <wickmarkus@web.de> | 2015-09-17 18:12:20 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-09-17 18:21:37 +0200 |
| commit | e3e0399af2c7957fb1636689103cae03e2e26db4 (patch) | |
| tree | e1d14542c6a1320c4685b59c87f92ca24ed7d763 /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 52de4cc476429d77240434c4c0c6fcaff353f39a (diff) | |
VideoSW: Drop HwRasterizer
I don't remember it being working, and nobody cares about performance of videosw.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index b49fa8fc4f..93dd37f03f 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -17,12 +17,12 @@ #include "Core/HW/VideoInterface.h" #include "VideoBackends/OGL/GLInterfaceBase.h" +#include "VideoBackends/OGL/GLUtil.h" #include "VideoBackends/OGL/GLExtensions/GLExtensions.h" #include "VideoBackends/Software/BPMemLoader.h" #include "VideoBackends/Software/Clipper.h" #include "VideoBackends/Software/DebugUtil.h" #include "VideoBackends/Software/EfbInterface.h" -#include "VideoBackends/Software/HwRasterizer.h" #include "VideoBackends/Software/OpcodeDecoder.h" #include "VideoBackends/Software/Rasterizer.h" #include "VideoBackends/Software/SWCommandProcessor.h" @@ -91,7 +91,6 @@ bool VideoSoftware::Initialize(void *window_handle) OpcodeDecoder::Init(); Clipper::Init(); Rasterizer::Init(); - HwRasterizer::Init(); SWRenderer::Init(); DebugUtil::Init(); @@ -155,7 +154,6 @@ void VideoSoftware::EmuStateChange(EMUSTATE_CHANGE newState) void VideoSoftware::Shutdown() { // TODO: should be in Video_Cleanup - HwRasterizer::Shutdown(); SWRenderer::Shutdown(); DebugUtil::Shutdown(); @@ -190,7 +188,6 @@ void VideoSoftware::Video_Prepare() // Do our OSD callbacks OSD::DoCallbacks(OSD::OSD_INIT); - HwRasterizer::Prepare(); SWRenderer::Prepare(); INFO_LOG(VIDEO, "Video backend initialized."); @@ -221,14 +218,11 @@ void VideoSoftware::Video_EndField() Core::Callback_VideoCopiedToXFB(false); return; } - if (!g_SWVideoConfig.bHwRasterizer) + if (!g_SWVideoConfig.bBypassXFB) { - if (!g_SWVideoConfig.bBypassXFB) - { - EfbInterface::yuv422_packed *xfb = (EfbInterface::yuv422_packed *) Memory::GetPointer(s_beginFieldArgs.xfbAddr); + EfbInterface::yuv422_packed *xfb = (EfbInterface::yuv422_packed *) Memory::GetPointer(s_beginFieldArgs.xfbAddr); - SWRenderer::UpdateColorTexture(xfb, s_beginFieldArgs.fbWidth, s_beginFieldArgs.fbHeight); - } + SWRenderer::UpdateColorTexture(xfb, s_beginFieldArgs.fbWidth, s_beginFieldArgs.fbHeight); } // Ideally we would just move all the OpenGL context stuff to the CPU thread, |
