Browse Source

debug_utils: Remove unused includes

Quite a bit of these aren't necessary directly within the debug_utils
header and can be removed or included where actually necessary.
Lioncash 8 years ago
parent
commit
c65713832c

+ 1 - 0
src/core/core.h

@@ -5,6 +5,7 @@
 #pragma once
 #pragma once
 
 
 #include <array>
 #include <array>
+#include <map>
 #include <memory>
 #include <memory>
 #include <string>
 #include <string>
 #include <thread>
 #include <thread>

+ 0 - 15
src/video_core/debug_utils/debug_utils.cpp

@@ -2,23 +2,8 @@
 // Licensed under GPLv2
 // Licensed under GPLv2
 // Refer to the license.txt file included.
 // Refer to the license.txt file included.
 
 
-#include <algorithm>
-#include <condition_variable>
-#include <cstdint>
-#include <cstring>
-#include <fstream>
-#include <map>
 #include <mutex>
 #include <mutex>
-#include <string>
 
 
-#include "common/assert.h"
-#include "common/bit_field.h"
-#include "common/color.h"
-#include "common/common_types.h"
-#include "common/file_util.h"
-#include "common/logging/log.h"
-#include "common/math_util.h"
-#include "common/vector_math.h"
 #include "video_core/debug_utils/debug_utils.h"
 #include "video_core/debug_utils/debug_utils.h"
 
 
 namespace Tegra {
 namespace Tegra {

+ 0 - 8
src/video_core/debug_utils/debug_utils.h

@@ -4,19 +4,11 @@
 
 
 #pragma once
 #pragma once
 
 
-#include <algorithm>
 #include <array>
 #include <array>
 #include <condition_variable>
 #include <condition_variable>
-#include <iterator>
 #include <list>
 #include <list>
-#include <map>
 #include <memory>
 #include <memory>
 #include <mutex>
 #include <mutex>
-#include <string>
-#include <utility>
-#include <vector>
-#include "common/common_types.h"
-#include "common/vector_math.h"
 
 
 namespace Tegra {
 namespace Tegra {
 
 

+ 1 - 0
src/yuzu/debugger/graphics/graphics_breakpoints.cpp

@@ -2,6 +2,7 @@
 // Licensed under GPLv2 or any later version
 // Licensed under GPLv2 or any later version
 // Refer to the license.txt file included.
 // Refer to the license.txt file included.
 
 
+#include <map>
 #include <QLabel>
 #include <QLabel>
 #include <QMetaType>
 #include <QMetaType>
 #include <QPushButton>
 #include <QPushButton>

+ 2 - 1
src/yuzu/debugger/graphics/graphics_surface.cpp

@@ -11,12 +11,13 @@
 #include <QPushButton>
 #include <QPushButton>
 #include <QScrollArea>
 #include <QScrollArea>
 #include <QSpinBox>
 #include <QSpinBox>
+#include "common/vector_math.h"
 #include "core/core.h"
 #include "core/core.h"
+#include "core/memory.h"
 #include "video_core/engines/maxwell_3d.h"
 #include "video_core/engines/maxwell_3d.h"
 #include "video_core/gpu.h"
 #include "video_core/gpu.h"
 #include "video_core/textures/decoders.h"
 #include "video_core/textures/decoders.h"
 #include "video_core/textures/texture.h"
 #include "video_core/textures/texture.h"
-#include "video_core/utils.h"
 #include "yuzu/debugger/graphics/graphics_surface.h"
 #include "yuzu/debugger/graphics/graphics_surface.h"
 #include "yuzu/util/spinbox.h"
 #include "yuzu/util/spinbox.h"