GS: Slim down GSState.h includes

This commit is contained in:
Stenzek 2023-07-09 01:40:05 +10:00 committed by Connor McLaughlin
parent 9da7628083
commit 819b61937f
10 changed files with 39 additions and 26 deletions

View File

@ -19,15 +19,16 @@
#include "Counters.h" #include "Counters.h"
#include "ImGui/FullscreenUI.h" #include "ImGui/FullscreenUI.h"
#include "ImGui/ImGuiManager.h" #include "ImGui/ImGuiManager.h"
#include "GS.h" #include "GS/GS.h"
#include "GSCapture.h" #include "GS/GSCapture.h"
#include "GSExtra.h" #include "GS/GSExtra.h"
#include "GSGL.h" #include "GS/GSGL.h"
#include "GSLzma.h" #include "GS/GSLzma.h"
#include "GSUtil.h" #include "GS/GSPerfMon.h"
#include "GS/GSUtil.h"
#include "GS/MultiISA.h"
#include "Host.h" #include "Host.h"
#include "Input/InputManager.h" #include "Input/InputManager.h"
#include "MultiISA.h"
#include "MTGS.h" #include "MTGS.h"
#include "pcsx2/GS.h" #include "pcsx2/GS.h"
#include "GS/Renderers/Null/GSRendererNull.h" #include "GS/Renderers/Null/GSRendererNull.h"

View File

@ -18,6 +18,7 @@
#include "GS/GSExtra.h" #include "GS/GSExtra.h"
#include "GS/GSLocalMemory.h" #include "GS/GSLocalMemory.h"
#include "GS/GSGL.h" #include "GS/GSGL.h"
#include "GS/GSUtil.h"
#include "GS/Renderers/Common/GSDevice.h" #include "GS/Renderers/Common/GSDevice.h"
#include "GS/Renderers/Common/GSRenderer.h" #include "GS/Renderers/Common/GSRenderer.h"
#include "common/AlignedMalloc.h" #include "common/AlignedMalloc.h"

View File

@ -14,16 +14,18 @@
*/ */
#include "PrecompiledHeader.h" #include "PrecompiledHeader.h"
#include "GSState.h" #include "GS/GSState.h"
#include "GSGL.h" #include "GS/GSDump.h"
#include "GSUtil.h" #include "GS/GSGL.h"
#include "GS/GSPerfMon.h"
#include "GS/GSUtil.h"
#include "common/Path.h" #include "common/Path.h"
#include "common/StringUtil.h" #include "common/StringUtil.h"
#include <algorithm> // clamp #include <algorithm>
#include <cfloat> // FLT_MAX #include <cfloat>
#include <fstream> #include <fstream>
#include <iomanip> // Dump Verticles #include <iomanip>
int GSState::s_n = 0; int GSState::s_n = 0;
int GSState::s_last_transfer_draw_n = 0; int GSState::s_last_transfer_draw_n = 0;

View File

@ -15,19 +15,18 @@
#pragma once #pragma once
#include "GS.h" #include "GS/GS.h"
#include "GSLocalMemory.h" #include "GS/GSLocalMemory.h"
#include "GSDrawingContext.h" #include "GS/GSDrawingContext.h"
#include "GSDrawingEnvironment.h" #include "GS/GSDrawingEnvironment.h"
#include "Renderers/Common/GSVertex.h" #include "GS/Renderers/Common/GSVertex.h"
#include "Renderers/Common/GSVertexTrace.h" #include "GS/Renderers/Common/GSVertexTrace.h"
#include "GSUtil.h" #include "GS/Renderers/Common/GSDevice.h"
#include "GSPerfMon.h" #include "GS/GSVector.h"
#include "GSVector.h"
#include "Renderers/Common/GSDevice.h"
#include "GSCrc.h" #include "GSCrc.h"
#include "GSAlignedClass.h" #include "GSAlignedClass.h"
#include "GSDump.h"
class GSDumpBase;
class GSState : public GSAlignedClass<32> class GSState : public GSAlignedClass<32>
{ {

View File

@ -19,7 +19,10 @@
#include "ImGui/ImGuiManager.h" #include "ImGui/ImGuiManager.h"
#include "GS/Renderers/Common/GSRenderer.h" #include "GS/Renderers/Common/GSRenderer.h"
#include "GS/GSCapture.h" #include "GS/GSCapture.h"
#include "GS/GSDump.h"
#include "GS/GSGL.h" #include "GS/GSGL.h"
#include "GS/GSPerfMon.h"
#include "GS/GSUtil.h"
#include "GSDumpReplayer.h" #include "GSDumpReplayer.h"
#include "Host.h" #include "Host.h"
#include "PerformanceMetrics.h" #include "PerformanceMetrics.h"

View File

@ -17,6 +17,7 @@
#include "GS/Renderers/HW/GSRendererHW.h" #include "GS/Renderers/HW/GSRendererHW.h"
#include "GS/Renderers/HW/GSHwHack.h" #include "GS/Renderers/HW/GSHwHack.h"
#include "GS/GSGL.h" #include "GS/GSGL.h"
#include "GS/GSUtil.h"
static bool s_nativeres; static bool s_nativeres;

View File

@ -14,9 +14,11 @@
*/ */
#include "PrecompiledHeader.h" #include "PrecompiledHeader.h"
#include "GSRendererHW.h" #include "GS/Renderers/HW/GSRendererHW.h"
#include "GSTextureReplacements.h" #include "GS/Renderers/HW/GSTextureReplacements.h"
#include "GS/GSGL.h" #include "GS/GSGL.h"
#include "GS/GSPerfMon.h"
#include "GS/GSUtil.h"
#include "Host.h" #include "Host.h"
#include "common/Align.h" #include "common/Align.h"
#include "common/StringUtil.h" #include "common/StringUtil.h"

View File

@ -20,6 +20,7 @@
#include "GS/GSState.h" #include "GS/GSState.h"
#include "GS/GSGL.h" #include "GS/GSGL.h"
#include "GS/GSIntrin.h" #include "GS/GSIntrin.h"
#include "GS/GSPerfMon.h"
#include "GS/GSUtil.h" #include "GS/GSUtil.h"
#include "GS/GSXXH.h" #include "GS/GSXXH.h"
#include "common/Align.h" #include "common/Align.h"

View File

@ -20,6 +20,7 @@
#include "GS/Renderers/OpenGL/GLState.h" #include "GS/Renderers/OpenGL/GLState.h"
#include "GS/GSState.h" #include "GS/GSState.h"
#include "GS/GSGL.h" #include "GS/GSGL.h"
#include "GS/GSPerfMon.h"
#include "GS/GSUtil.h" #include "GS/GSUtil.h"
#include "Host.h" #include "Host.h"

View File

@ -16,6 +16,8 @@
#include "PrecompiledHeader.h" #include "PrecompiledHeader.h"
#include "GS/Renderers/SW/GSTextureCacheSW.h" #include "GS/Renderers/SW/GSTextureCacheSW.h"
#include "GS/GSExtra.h" #include "GS/GSExtra.h"
#include "GS/GSPerfMon.h"
#include "GS/GSUtil.h"
GSTextureCacheSW::GSTextureCacheSW() = default; GSTextureCacheSW::GSTextureCacheSW() = default;