Merge pull request #4240 from lioncash/include

Software: Clean out unnecessary includes/fwd decls
This commit is contained in:
shuffle2 2016-10-02 20:31:35 -07:00 committed by GitHub
commit 17aef319e8
14 changed files with 21 additions and 25 deletions

View File

@ -36,7 +36,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "VideoBackends/Software/Clipper.h" #include "VideoBackends/Software/Clipper.h"
#include "Common/ChunkFile.h"
#include "Common/Assert.h"
#include "VideoBackends/Software/NativeVertexFormat.h" #include "VideoBackends/Software/NativeVertexFormat.h"
#include "VideoBackends/Software/Rasterizer.h" #include "VideoBackends/Software/Rasterizer.h"

View File

@ -11,8 +11,6 @@
#include "Common/FileUtil.h" #include "Common/FileUtil.h"
#include "Common/StringUtil.h" #include "Common/StringUtil.h"
#include "Core/ConfigManager.h"
#include "VideoBackends/Software/EfbInterface.h" #include "VideoBackends/Software/EfbInterface.h"
#include "VideoBackends/Software/SWRenderer.h" #include "VideoBackends/Software/SWRenderer.h"
#include "VideoBackends/Software/TextureSampler.h" #include "VideoBackends/Software/TextureSampler.h"

View File

@ -4,8 +4,6 @@
#pragma once #pragma once
#include "Common/CommonTypes.h"
namespace EfbCopy namespace EfbCopy
{ {
// Copy the EFB to RAM as a texture format or XFB // Copy the EFB to RAM as a texture format or XFB

View File

@ -4,7 +4,7 @@
#pragma once #pragma once
#include "Common/ChunkFile.h" #include "Common/CommonTypes.h"
#include "VideoBackends/Software/Vec3.h" #include "VideoBackends/Software/Vec3.h"
struct Vec4 struct Vec4

View File

@ -4,7 +4,7 @@
#pragma once #pragma once
#include "Common/ChunkFile.h" #include "Common/CommonTypes.h"
struct OutputVertexData; struct OutputVertexData;

View File

@ -5,7 +5,6 @@
#pragma once #pragma once
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Common/Thread.h"
#include "VideoBackends/Software/EfbInterface.h" #include "VideoBackends/Software/EfbInterface.h"

View File

@ -2,17 +2,17 @@
// Licensed under GPLv2+ // Licensed under GPLv2+
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "VideoBackends/Software/SWVertexLoader.h"
#include <limits> #include <limits>
#include "Common/ChunkFile.h" #include "Common/Assert.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "VideoBackends/Software/Clipper.h"
#include "VideoBackends/Software/DebugUtil.h" #include "VideoBackends/Software/DebugUtil.h"
#include "VideoBackends/Software/NativeVertexFormat.h" #include "VideoBackends/Software/NativeVertexFormat.h"
#include "VideoBackends/Software/Rasterizer.h" #include "VideoBackends/Software/Rasterizer.h"
#include "VideoBackends/Software/SWVertexLoader.h"
#include "VideoBackends/Software/SetupUnit.h"
#include "VideoBackends/Software/Tev.h" #include "VideoBackends/Software/Tev.h"
#include "VideoBackends/Software/TransformUnit.h" #include "VideoBackends/Software/TransformUnit.h"

View File

@ -11,7 +11,6 @@
#include "VideoBackends/Software/NativeVertexFormat.h" #include "VideoBackends/Software/NativeVertexFormat.h"
#include "VideoBackends/Software/SetupUnit.h" #include "VideoBackends/Software/SetupUnit.h"
#include "VideoCommon/VertexLoaderBase.h"
#include "VideoCommon/VertexManagerBase.h" #include "VideoCommon/VertexManagerBase.h"
class SWVertexLoader : public VertexManagerBase class SWVertexLoader : public VertexManagerBase

View File

@ -19,7 +19,6 @@
#include "VideoCommon/FramebufferManagerBase.h" #include "VideoCommon/FramebufferManagerBase.h"
#include "VideoCommon/OnScreenDisplay.h" #include "VideoCommon/OnScreenDisplay.h"
#include "VideoCommon/PixelEngine.h"
#include "VideoCommon/TextureCacheBase.h" #include "VideoCommon/TextureCacheBase.h"
#include "VideoCommon/VideoCommon.h" #include "VideoCommon/VideoCommon.h"
#include "VideoCommon/VideoConfig.h" #include "VideoCommon/VideoConfig.h"

View File

@ -3,7 +3,9 @@
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "VideoBackends/Software/SetupUnit.h" #include "VideoBackends/Software/SetupUnit.h"
#include "Common/ChunkFile.h"
#include "Common/Logging/Log.h"
#include "VideoBackends/Software/Clipper.h" #include "VideoBackends/Software/Clipper.h"
#include "VideoCommon/OpcodeDecoding.h" #include "VideoCommon/OpcodeDecoding.h"

View File

@ -2,12 +2,13 @@
// Licensed under GPLv2+ // Licensed under GPLv2+
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "VideoBackends/Software/TextureSampler.h"
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>
#include "Common/Common.h" #include "Common/CommonTypes.h"
#include "Core/HW/Memmap.h" #include "Core/HW/Memmap.h"
#include "VideoBackends/Software/TextureSampler.h"
#include "VideoCommon/BPMemory.h" #include "VideoCommon/BPMemory.h"
#include "VideoCommon/SamplerCommon.h" #include "VideoCommon/SamplerCommon.h"

View File

@ -2,14 +2,19 @@
// Licensed under GPLv2+ // Licensed under GPLv2+
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include "VideoBackends/Software/TransformUnit.h"
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>
#include "Common/Assert.h"
#include "Common/CommonFuncs.h"
#include "Common/CommonTypes.h" #include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
#include "Common/MathUtil.h" #include "Common/MathUtil.h"
#include "Common/MsgHandler.h"
#include "VideoBackends/Software/NativeVertexFormat.h" #include "VideoBackends/Software/NativeVertexFormat.h"
#include "VideoBackends/Software/TransformUnit.h"
#include "VideoBackends/Software/Vec3.h" #include "VideoBackends/Software/Vec3.h"
#include "VideoCommon/BPMemory.h" #include "VideoCommon/BPMemory.h"

View File

@ -7,8 +7,6 @@
#include <cmath> #include <cmath>
#include <cstdlib> #include <cstdlib>
#include "Common/ChunkFile.h"
class Vec3 class Vec3
{ {
public: public:

View File

@ -7,11 +7,6 @@
#include <string> #include <string>
#include "VideoCommon/VideoBackendBase.h" #include "VideoCommon/VideoBackendBase.h"
namespace MMIO
{
class Mapping;
}
namespace SW namespace SW
{ {
class VideoSoftware : public VideoBackendBase class VideoSoftware : public VideoBackendBase