diff options
| author | 2016-05-01 17:44:57 -0400 | |
|---|---|---|
| committer | 2016-05-01 17:44:57 -0400 | |
| commit | 15d0e982678d6151bb058fbb8ea0f39b7ffa688a (patch) | |
| tree | 716ea2ff8d136622183261274564eeb03aed5c5f /src/video_core/debug_utils | |
| parent | Merge pull request #1745 from JayFoxRox/fix-const_color (diff) | |
| parent | VideoCore: Run include-what-you-use and fix most includes. (diff) | |
| download | yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.gz yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.tar.xz yuzu-15d0e982678d6151bb058fbb8ea0f39b7ffa688a.zip | |
Merge pull request #1741 from linkmauve/iwyu-video_core
Fix video_core includes (and dependencies) using include-what-you-use
Diffstat (limited to 'src/video_core/debug_utils')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 14 | ||||
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 16 |
2 files changed, 23 insertions, 7 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index 178a566f7..fb20f81dd 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp | |||
| @@ -4,35 +4,41 @@ | |||
| 4 | 4 | ||
| 5 | #include <algorithm> | 5 | #include <algorithm> |
| 6 | #include <condition_variable> | 6 | #include <condition_variable> |
| 7 | #include <cstdint> | ||
| 7 | #include <cstring> | 8 | #include <cstring> |
| 8 | #include <fstream> | 9 | #include <fstream> |
| 9 | #include <list> | ||
| 10 | #include <map> | 10 | #include <map> |
| 11 | #include <mutex> | 11 | #include <mutex> |
| 12 | #include <stdexcept> | ||
| 12 | #include <string> | 13 | #include <string> |
| 13 | 14 | ||
| 14 | #ifdef HAVE_PNG | 15 | #ifdef HAVE_PNG |
| 15 | #include <png.h> | 16 | #include <png.h> |
| 17 | #include <setjmp.h> | ||
| 16 | #endif | 18 | #endif |
| 17 | 19 | ||
| 20 | #include <nihstro/bit_field.h> | ||
| 18 | #include <nihstro/float24.h> | 21 | #include <nihstro/float24.h> |
| 19 | #include <nihstro/shader_binary.h> | 22 | #include <nihstro/shader_binary.h> |
| 20 | 23 | ||
| 21 | #include "common/assert.h" | 24 | #include "common/assert.h" |
| 25 | #include "common/bit_field.h" | ||
| 22 | #include "common/color.h" | 26 | #include "common/color.h" |
| 23 | #include "common/common_types.h" | 27 | #include "common/common_types.h" |
| 24 | #include "common/file_util.h" | 28 | #include "common/file_util.h" |
| 29 | #include "common/logging/log.h" | ||
| 25 | #include "common/math_util.h" | 30 | #include "common/math_util.h" |
| 26 | #include "common/vector_math.h" | 31 | #include "common/vector_math.h" |
| 27 | 32 | ||
| 28 | #include "core/settings.h" | 33 | #include "video_core/debug_utils/debug_utils.h" |
| 29 | |||
| 30 | #include "video_core/pica.h" | 34 | #include "video_core/pica.h" |
| 31 | #include "video_core/pica_state.h" | 35 | #include "video_core/pica_state.h" |
| 36 | #include "video_core/pica_types.h" | ||
| 37 | #include "video_core/rasterizer_interface.h" | ||
| 32 | #include "video_core/renderer_base.h" | 38 | #include "video_core/renderer_base.h" |
| 39 | #include "video_core/shader/shader.h" | ||
| 33 | #include "video_core/utils.h" | 40 | #include "video_core/utils.h" |
| 34 | #include "video_core/video_core.h" | 41 | #include "video_core/video_core.h" |
| 35 | #include "video_core/debug_utils/debug_utils.h" | ||
| 36 | 42 | ||
| 37 | using nihstro::DVLBHeader; | 43 | using nihstro::DVLBHeader; |
| 38 | using nihstro::DVLEHeader; | 44 | using nihstro::DVLEHeader; |
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index dd0828cee..be2d0301a 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h | |||
| @@ -4,23 +4,33 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <algorithm> | ||
| 7 | #include <array> | 8 | #include <array> |
| 8 | #include <condition_variable> | 9 | #include <condition_variable> |
| 10 | #include <iterator> | ||
| 9 | #include <list> | 11 | #include <list> |
| 10 | #include <map> | 12 | #include <map> |
| 11 | #include <memory> | 13 | #include <memory> |
| 12 | #include <mutex> | 14 | #include <mutex> |
| 15 | #include <string> | ||
| 16 | #include <utility> | ||
| 13 | #include <vector> | 17 | #include <vector> |
| 14 | 18 | ||
| 19 | #include "common/common_types.h" | ||
| 15 | #include "common/vector_math.h" | 20 | #include "common/vector_math.h" |
| 16 | 21 | ||
| 17 | #include "core/tracer/recorder.h" | ||
| 18 | |||
| 19 | #include "video_core/pica.h" | 22 | #include "video_core/pica.h" |
| 20 | #include "video_core/shader/shader.h" | 23 | |
| 24 | namespace CiTrace { | ||
| 25 | class Recorder; | ||
| 26 | } | ||
| 21 | 27 | ||
| 22 | namespace Pica { | 28 | namespace Pica { |
| 23 | 29 | ||
| 30 | namespace Shader { | ||
| 31 | struct ShaderSetup; | ||
| 32 | } | ||
| 33 | |||
| 24 | class DebugContext { | 34 | class DebugContext { |
| 25 | public: | 35 | public: |
| 26 | enum class Event { | 36 | enum class Event { |