diff options
| author | 2015-06-27 17:56:17 +0100 | |
|---|---|---|
| committer | 2015-06-28 00:46:39 +0100 | |
| commit | 4964a359e1a82f87a9772140fd1d933c5812c2e7 (patch) | |
| tree | 49bae12a6ba7f7d946bb85fe9d304ab958815609 | |
| parent | Core: Cleanup soc:U includes. (diff) | |
| download | yuzu-4964a359e1a82f87a9772140fd1d933c5812c2e7.tar.gz yuzu-4964a359e1a82f87a9772140fd1d933c5812c2e7.tar.xz yuzu-4964a359e1a82f87a9772140fd1d933c5812c2e7.zip | |
Core: Cleanup hw includes.
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/dsp_dsp.h | 2 | ||||
| -rw-r--r-- | src/core/hle/service/gsp_gpu.h | 3 | ||||
| -rw-r--r-- | src/core/hle/service/y2r_u.h | 2 | ||||
| -rw-r--r-- | src/core/hw/gpu.cpp | 10 | ||||
| -rw-r--r-- | src/core/hw/gpu.h | 1 | ||||
| -rw-r--r-- | src/core/hw/lcd.cpp | 2 | ||||
| -rw-r--r-- | src/core/hw/lcd.h | 1 | ||||
| -rw-r--r-- | src/core/hw/y2r.cpp | 4 | ||||
| -rw-r--r-- | src/video_core/command_processor.h | 4 | ||||
| -rw-r--r-- | src/video_core/hwrasterizer_base.h | 9 | ||||
| -rw-r--r-- | src/video_core/renderer_base.h | 2 | ||||
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 1 | ||||
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 1 |
13 files changed, 31 insertions, 11 deletions
diff --git a/src/core/hle/service/dsp_dsp.h b/src/core/hle/service/dsp_dsp.h index fa13bfb7c..54109b2a9 100644 --- a/src/core/hle/service/dsp_dsp.h +++ b/src/core/hle/service/dsp_dsp.h | |||
| @@ -4,6 +4,8 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <string> | ||
| 8 | |||
| 7 | #include "core/hle/service/service.h" | 9 | #include "core/hle/service/service.h" |
| 8 | 10 | ||
| 9 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 11 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
diff --git a/src/core/hle/service/gsp_gpu.h b/src/core/hle/service/gsp_gpu.h index a435d418a..d9e9a1a60 100644 --- a/src/core/hle/service/gsp_gpu.h +++ b/src/core/hle/service/gsp_gpu.h | |||
| @@ -5,8 +5,11 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <cstddef> | 7 | #include <cstddef> |
| 8 | #include <string> | ||
| 8 | 9 | ||
| 9 | #include "common/bit_field.h" | 10 | #include "common/bit_field.h" |
| 11 | #include "common/common_types.h" | ||
| 12 | |||
| 10 | #include "core/hle/service/service.h" | 13 | #include "core/hle/service/service.h" |
| 11 | 14 | ||
| 12 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 15 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
diff --git a/src/core/hle/service/y2r_u.h b/src/core/hle/service/y2r_u.h index 7df47fcb9..9454e5aab 100644 --- a/src/core/hle/service/y2r_u.h +++ b/src/core/hle/service/y2r_u.h | |||
| @@ -5,9 +5,11 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <array> | 7 | #include <array> |
| 8 | #include <string> | ||
| 8 | 9 | ||
| 9 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
| 10 | 11 | ||
| 12 | #include "core/hle/result.h" | ||
| 11 | #include "core/hle/service/service.h" | 13 | #include "core/hle/service/service.h" |
| 12 | 14 | ||
| 13 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 15 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp index bdceb6984..901519a8b 100644 --- a/src/core/hw/gpu.cpp +++ b/src/core/hw/gpu.cpp | |||
| @@ -2,17 +2,18 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <cstring> | ||
| 6 | #include <type_traits> | ||
| 7 | |||
| 5 | #include "common/color.h" | 8 | #include "common/color.h" |
| 6 | #include "common/common_types.h" | 9 | #include "common/common_types.h" |
| 7 | 10 | #include "common/logging/log.h" | |
| 8 | #include "core/arm/arm_interface.h" | 11 | #include "common/vector_math.h" |
| 9 | 12 | ||
| 10 | #include "core/settings.h" | 13 | #include "core/settings.h" |
| 11 | #include "core/core.h" | ||
| 12 | #include "core/memory.h" | 14 | #include "core/memory.h" |
| 13 | #include "core/core_timing.h" | 15 | #include "core/core_timing.h" |
| 14 | 16 | ||
| 15 | #include "core/hle/hle.h" | ||
| 16 | #include "core/hle/service/gsp_gpu.h" | 17 | #include "core/hle/service/gsp_gpu.h" |
| 17 | #include "core/hle/service/dsp_dsp.h" | 18 | #include "core/hle/service/dsp_dsp.h" |
| 18 | #include "core/hle/service/hid/hid.h" | 19 | #include "core/hle/service/hid/hid.h" |
| @@ -21,6 +22,7 @@ | |||
| 21 | #include "core/hw/gpu.h" | 22 | #include "core/hw/gpu.h" |
| 22 | 23 | ||
| 23 | #include "video_core/command_processor.h" | 24 | #include "video_core/command_processor.h" |
| 25 | #include "video_core/hwrasterizer_base.h" | ||
| 24 | #include "video_core/renderer_base.h" | 26 | #include "video_core/renderer_base.h" |
| 25 | #include "video_core/utils.h" | 27 | #include "video_core/utils.h" |
| 26 | #include "video_core/video_core.h" | 28 | #include "video_core/video_core.h" |
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h index 699bcd2a5..5b8c43f8b 100644 --- a/src/core/hw/gpu.h +++ b/src/core/hw/gpu.h | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <cstddef> | 7 | #include <cstddef> |
| 8 | #include <type_traits> | ||
| 8 | 9 | ||
| 9 | #include "common/assert.h" | 10 | #include "common/assert.h" |
| 10 | #include "common/bit_field.h" | 11 | #include "common/bit_field.h" |
diff --git a/src/core/hw/lcd.cpp b/src/core/hw/lcd.cpp index 963c8d981..cdb757a18 100644 --- a/src/core/hw/lcd.cpp +++ b/src/core/hw/lcd.cpp | |||
| @@ -7,8 +7,6 @@ | |||
| 7 | #include "common/common_types.h" | 7 | #include "common/common_types.h" |
| 8 | #include "common/logging/log.h" | 8 | #include "common/logging/log.h" |
| 9 | 9 | ||
| 10 | #include "core/arm/arm_interface.h" | ||
| 11 | #include "core/hle/hle.h" | ||
| 12 | #include "core/hw/hw.h" | 10 | #include "core/hw/hw.h" |
| 13 | #include "core/hw/lcd.h" | 11 | #include "core/hw/lcd.h" |
| 14 | 12 | ||
diff --git a/src/core/hw/lcd.h b/src/core/hw/lcd.h index 8631eb201..bcce6d8cf 100644 --- a/src/core/hw/lcd.h +++ b/src/core/hw/lcd.h | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <cstddef> | 7 | #include <cstddef> |
| 8 | #include <type_traits> | ||
| 8 | 9 | ||
| 9 | #include "common/bit_field.h" | 10 | #include "common/bit_field.h" |
| 10 | #include "common/common_funcs.h" | 11 | #include "common/common_funcs.h" |
diff --git a/src/core/hw/y2r.cpp b/src/core/hw/y2r.cpp index 5b7fb39e1..b40f13cae 100644 --- a/src/core/hw/y2r.cpp +++ b/src/core/hw/y2r.cpp | |||
| @@ -2,8 +2,10 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <algorithm> | ||
| 5 | #include <array> | 6 | #include <array> |
| 6 | #include <numeric> | 7 | #include <cstddef> |
| 8 | #include <memory> | ||
| 7 | 9 | ||
| 8 | #include "common/assert.h" | 10 | #include "common/assert.h" |
| 9 | #include "common/color.h" | 11 | #include "common/color.h" |
diff --git a/src/video_core/command_processor.h b/src/video_core/command_processor.h index bb3d4150f..022a71f5e 100644 --- a/src/video_core/command_processor.h +++ b/src/video_core/command_processor.h | |||
| @@ -4,11 +4,11 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <type_traits> | ||
| 8 | |||
| 7 | #include "common/bit_field.h" | 9 | #include "common/bit_field.h" |
| 8 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
| 9 | 11 | ||
| 10 | #include "pica.h" | ||
| 11 | |||
| 12 | namespace Pica { | 12 | namespace Pica { |
| 13 | 13 | ||
| 14 | namespace CommandProcessor { | 14 | namespace CommandProcessor { |
diff --git a/src/video_core/hwrasterizer_base.h b/src/video_core/hwrasterizer_base.h index dec193f8b..c8746c608 100644 --- a/src/video_core/hwrasterizer_base.h +++ b/src/video_core/hwrasterizer_base.h | |||
| @@ -4,8 +4,13 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include "common/emu_window.h" | 7 | #include "common/common_types.h" |
| 8 | #include "video_core/vertex_shader.h" | 8 | |
| 9 | namespace Pica { | ||
| 10 | namespace VertexShader { | ||
| 11 | struct OutputVertex; | ||
| 12 | } | ||
| 13 | } | ||
| 9 | 14 | ||
| 10 | class HWRasterizer { | 15 | class HWRasterizer { |
| 11 | public: | 16 | public: |
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h index fbbf17db4..6587bcf27 100644 --- a/src/video_core/renderer_base.h +++ b/src/video_core/renderer_base.h | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | 10 | ||
| 11 | #include "video_core/hwrasterizer_base.h" | 11 | #include "video_core/hwrasterizer_base.h" |
| 12 | 12 | ||
| 13 | class EmuWindow; | ||
| 14 | |||
| 13 | class RendererBase : NonCopyable { | 15 | class RendererBase : NonCopyable { |
| 14 | public: | 16 | public: |
| 15 | 17 | ||
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 2edc38ac5..935a9f281 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | #include <memory> | 6 | #include <memory> |
| 7 | 7 | ||
| 8 | #include "common/color.h" | 8 | #include "common/color.h" |
| 9 | #include "common/math_util.h" | ||
| 9 | 10 | ||
| 10 | #include "core/hw/gpu.h" | 11 | #include "core/hw/gpu.h" |
| 11 | #include "core/memory.h" | 12 | #include "core/memory.h" |
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 911ae8c36..ae7b26fc6 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | #include "common/common_types.h" | 9 | #include "common/common_types.h" |
| 10 | 10 | ||
| 11 | #include "video_core/hwrasterizer_base.h" | 11 | #include "video_core/hwrasterizer_base.h" |
| 12 | #include "video_core/vertex_shader.h" | ||
| 12 | 13 | ||
| 13 | #include "gl_state.h" | 14 | #include "gl_state.h" |
| 14 | #include "gl_rasterizer_cache.h" | 15 | #include "gl_rasterizer_cache.h" |