summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-01-17 16:54:31 -0500
committerLioncash <mathew1800@gmail.com>2016-01-17 20:11:45 -0500
commitd9fec92628231526b47e19cd09b68572eb06e44f (patch)
tree4b61789785582aff42317d0a6fcd5e474b5c8b68 /Source/Core/VideoBackends/Software
parent87464d432b8dbef6311ee827d592cdce84fe7b67 (diff)
VideoCommon: Header cleanup
Also remedies places where the video backends and core rely on things being indirectly included.
Diffstat (limited to 'Source/Core/VideoBackends/Software')
-rw-r--r--Source/Core/VideoBackends/Software/EfbCopy.cpp5
-rw-r--r--Source/Core/VideoBackends/Software/EfbInterface.cpp6
-rw-r--r--Source/Core/VideoBackends/Software/EfbInterface.h2
-rw-r--r--Source/Core/VideoBackends/Software/Rasterizer.cpp2
-rw-r--r--Source/Core/VideoBackends/Software/SWRenderer.cpp3
-rw-r--r--Source/Core/VideoBackends/Software/SWVertexLoader.cpp2
-rw-r--r--Source/Core/VideoBackends/Software/SWmain.cpp8
-rw-r--r--Source/Core/VideoBackends/Software/Tev.cpp1
-rw-r--r--Source/Core/VideoBackends/Software/TextureEncoder.cpp4
9 files changed, 16 insertions, 17 deletions
diff --git a/Source/Core/VideoBackends/Software/EfbCopy.cpp b/Source/Core/VideoBackends/Software/EfbCopy.cpp
index 1111960c6f..b22a70e5cb 100644
--- a/Source/Core/VideoBackends/Software/EfbCopy.cpp
+++ b/Source/Core/VideoBackends/Software/EfbCopy.cpp
@@ -2,13 +2,12 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
+#include "Common/CommonTypes.h"
#include "Common/GL/GLInterfaceBase.h"
-#include "Core/Core.h"
+#include "Common/Logging/Log.h"
#include "Core/HW/Memmap.h"
-#include "VideoBackends/Software/DebugUtil.h"
#include "VideoBackends/Software/EfbCopy.h"
#include "VideoBackends/Software/EfbInterface.h"
-#include "VideoBackends/Software/SWRenderer.h"
#include "VideoBackends/Software/TextureEncoder.h"
#include "VideoCommon/BPMemory.h"
diff --git a/Source/Core/VideoBackends/Software/EfbInterface.cpp b/Source/Core/VideoBackends/Software/EfbInterface.cpp
index b6b55b7204..943ce78b06 100644
--- a/Source/Core/VideoBackends/Software/EfbInterface.cpp
+++ b/Source/Core/VideoBackends/Software/EfbInterface.cpp
@@ -6,13 +6,11 @@
#include "Common/CommonFuncs.h"
#include "Common/CommonTypes.h"
-#include "Core/HW/Memmap.h"
-
+#include "Common/Logging/Log.h"
#include "VideoBackends/Software/EfbInterface.h"
-
#include "VideoCommon/BPMemory.h"
#include "VideoCommon/LookUpTables.h"
-#include "VideoCommon/PixelEngine.h"
+#include "VideoCommon/PerfQueryBase.h"
static u8 efb[EFB_WIDTH*EFB_HEIGHT*6];
diff --git a/Source/Core/VideoBackends/Software/EfbInterface.h b/Source/Core/VideoBackends/Software/EfbInterface.h
index 0f09000a33..9355d4678b 100644
--- a/Source/Core/VideoBackends/Software/EfbInterface.h
+++ b/Source/Core/VideoBackends/Software/EfbInterface.h
@@ -4,6 +4,8 @@
#pragma once
+#include "Common/CommonTypes.h"
+#include "VideoCommon/PerfQueryBase.h"
#include "VideoCommon/VideoCommon.h"
namespace EfbInterface
diff --git a/Source/Core/VideoBackends/Software/Rasterizer.cpp b/Source/Core/VideoBackends/Software/Rasterizer.cpp
index 03d352beb5..e2f97ad347 100644
--- a/Source/Core/VideoBackends/Software/Rasterizer.cpp
+++ b/Source/Core/VideoBackends/Software/Rasterizer.cpp
@@ -10,7 +10,7 @@
#include "VideoBackends/Software/NativeVertexFormat.h"
#include "VideoBackends/Software/Rasterizer.h"
#include "VideoBackends/Software/Tev.h"
-#include "VideoCommon/BoundingBox.h"
+#include "VideoCommon/PerfQueryBase.h"
#include "VideoCommon/Statistics.h"
#include "VideoCommon/VideoConfig.h"
#include "VideoCommon/XFMemory.h"
diff --git a/Source/Core/VideoBackends/Software/SWRenderer.cpp b/Source/Core/VideoBackends/Software/SWRenderer.cpp
index 0aa5bdb50a..0f03f3e840 100644
--- a/Source/Core/VideoBackends/Software/SWRenderer.cpp
+++ b/Source/Core/VideoBackends/Software/SWRenderer.cpp
@@ -8,10 +8,11 @@
#include <string>
#include "Common/CommonTypes.h"
+#include "Common/FileUtil.h"
#include "Common/StringUtil.h"
+#include "Common/Logging/Log.h"
#include "Core/ConfigManager.h"
-#include "Core/Core.h"
#include "Core/HW/Memmap.h"
#include "VideoBackends/Software/EfbCopy.h"
diff --git a/Source/Core/VideoBackends/Software/SWVertexLoader.cpp b/Source/Core/VideoBackends/Software/SWVertexLoader.cpp
index 86855db446..506a7b1da3 100644
--- a/Source/Core/VideoBackends/Software/SWVertexLoader.cpp
+++ b/Source/Core/VideoBackends/Software/SWVertexLoader.cpp
@@ -22,7 +22,7 @@
#include "VideoCommon/Statistics.h"
#include "VideoCommon/VertexLoaderBase.h"
#include "VideoCommon/VertexLoaderManager.h"
-#include "VideoCommon/VertexLoaderUtils.h"
+#include "VideoCommon/VideoConfig.h"
#include "VideoCommon/XFMemory.h"
class NullNativeVertexFormat : public NativeVertexFormat
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp
index 8600297e9c..16d80df52f 100644
--- a/Source/Core/VideoBackends/Software/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/SWmain.cpp
@@ -8,14 +8,9 @@
#include "Common/CommonTypes.h"
#include "Common/FileUtil.h"
-#include "Common/StringUtil.h"
#include "Common/Logging/LogManager.h"
-#include "Core/ConfigManager.h"
-#include "Core/Core.h"
#include "Core/Host.h"
-#include "Core/HW/Memmap.h"
-#include "Core/HW/VideoInterface.h"
#include "VideoBackends/Software/Clipper.h"
#include "VideoBackends/Software/DebugUtil.h"
@@ -30,7 +25,7 @@
#include "VideoCommon/BPStructs.h"
#include "VideoCommon/CommandProcessor.h"
#include "VideoCommon/Fifo.h"
-#include "VideoCommon/Fifo.h"
+#include "VideoCommon/FramebufferManagerBase.h"
#include "VideoCommon/IndexGenerator.h"
#include "VideoCommon/OnScreenDisplay.h"
#include "VideoCommon/OpcodeDecoding.h"
@@ -40,7 +35,6 @@
#include "VideoCommon/VertexLoaderManager.h"
#include "VideoCommon/VertexShaderManager.h"
#include "VideoCommon/VideoConfig.h"
-#include "VideoCommon/XFMemory.h"
#define VSYNC_ENABLED 0
diff --git a/Source/Core/VideoBackends/Software/Tev.cpp b/Source/Core/VideoBackends/Software/Tev.cpp
index 939b9f98a4..9f7fb4bce6 100644
--- a/Source/Core/VideoBackends/Software/Tev.cpp
+++ b/Source/Core/VideoBackends/Software/Tev.cpp
@@ -12,6 +12,7 @@
#include "VideoBackends/Software/TextureSampler.h"
#include "VideoCommon/BoundingBox.h"
+#include "VideoCommon/PerfQueryBase.h"
#include "VideoCommon/Statistics.h"
#include "VideoCommon/VideoConfig.h"
#include "VideoCommon/XFMemory.h"
diff --git a/Source/Core/VideoBackends/Software/TextureEncoder.cpp b/Source/Core/VideoBackends/Software/TextureEncoder.cpp
index 4b38d1c19a..5ac514ca11 100644
--- a/Source/Core/VideoBackends/Software/TextureEncoder.cpp
+++ b/Source/Core/VideoBackends/Software/TextureEncoder.cpp
@@ -2,6 +2,10 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
+#include "Common/CommonFuncs.h"
+#include "Common/CommonTypes.h"
+#include "Common/MsgHandler.h"
+
#include "VideoBackends/Software/EfbInterface.h"
#include "VideoBackends/Software/TextureEncoder.h"