Software: Clean out unnecessary includes/fwd decls

This commit is contained in:
Lioncash 2016-09-24 05:16:52 -04:00
parent 58d0e22354
commit c9ef042b2d
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 "Common/ChunkFile.h"
#include "Common/Assert.h"
#include "VideoBackends/Software/NativeVertexFormat.h"
#include "VideoBackends/Software/Rasterizer.h"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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