Core: Cleanup hw includes.

This commit is contained in:
Emmanuel Gil Peyrot 2015-06-27 17:56:17 +01:00
parent 7b746914b9
commit 4964a359e1
13 changed files with 31 additions and 11 deletions

View file

@ -4,6 +4,8 @@
#pragma once #pragma once
#include <string>
#include "core/hle/service/service.h" #include "core/hle/service/service.h"
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////

View file

@ -5,8 +5,11 @@
#pragma once #pragma once
#include <cstddef> #include <cstddef>
#include <string>
#include "common/bit_field.h" #include "common/bit_field.h"
#include "common/common_types.h"
#include "core/hle/service/service.h" #include "core/hle/service/service.h"
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////

View file

@ -5,9 +5,11 @@
#pragma once #pragma once
#include <array> #include <array>
#include <string>
#include "common/common_types.h" #include "common/common_types.h"
#include "core/hle/result.h"
#include "core/hle/service/service.h" #include "core/hle/service/service.h"
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////

View file

@ -2,17 +2,18 @@
// 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 <cstring>
#include <type_traits>
#include "common/color.h" #include "common/color.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "common/logging/log.h"
#include "core/arm/arm_interface.h" #include "common/vector_math.h"
#include "core/settings.h" #include "core/settings.h"
#include "core/core.h"
#include "core/memory.h" #include "core/memory.h"
#include "core/core_timing.h" #include "core/core_timing.h"
#include "core/hle/hle.h"
#include "core/hle/service/gsp_gpu.h" #include "core/hle/service/gsp_gpu.h"
#include "core/hle/service/dsp_dsp.h" #include "core/hle/service/dsp_dsp.h"
#include "core/hle/service/hid/hid.h" #include "core/hle/service/hid/hid.h"
@ -21,6 +22,7 @@
#include "core/hw/gpu.h" #include "core/hw/gpu.h"
#include "video_core/command_processor.h" #include "video_core/command_processor.h"
#include "video_core/hwrasterizer_base.h"
#include "video_core/renderer_base.h" #include "video_core/renderer_base.h"
#include "video_core/utils.h" #include "video_core/utils.h"
#include "video_core/video_core.h" #include "video_core/video_core.h"

View file

@ -5,6 +5,7 @@
#pragma once #pragma once
#include <cstddef> #include <cstddef>
#include <type_traits>
#include "common/assert.h" #include "common/assert.h"
#include "common/bit_field.h" #include "common/bit_field.h"

View file

@ -7,8 +7,6 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "core/arm/arm_interface.h"
#include "core/hle/hle.h"
#include "core/hw/hw.h" #include "core/hw/hw.h"
#include "core/hw/lcd.h" #include "core/hw/lcd.h"

View file

@ -5,6 +5,7 @@
#pragma once #pragma once
#include <cstddef> #include <cstddef>
#include <type_traits>
#include "common/bit_field.h" #include "common/bit_field.h"
#include "common/common_funcs.h" #include "common/common_funcs.h"

View file

@ -2,8 +2,10 @@
// 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 <algorithm>
#include <array> #include <array>
#include <numeric> #include <cstddef>
#include <memory>
#include "common/assert.h" #include "common/assert.h"
#include "common/color.h" #include "common/color.h"

View file

@ -4,11 +4,11 @@
#pragma once #pragma once
#include <type_traits>
#include "common/bit_field.h" #include "common/bit_field.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "pica.h"
namespace Pica { namespace Pica {
namespace CommandProcessor { namespace CommandProcessor {

View file

@ -4,8 +4,13 @@
#pragma once #pragma once
#include "common/emu_window.h" #include "common/common_types.h"
#include "video_core/vertex_shader.h"
namespace Pica {
namespace VertexShader {
struct OutputVertex;
}
}
class HWRasterizer { class HWRasterizer {
public: public:

View file

@ -10,6 +10,8 @@
#include "video_core/hwrasterizer_base.h" #include "video_core/hwrasterizer_base.h"
class EmuWindow;
class RendererBase : NonCopyable { class RendererBase : NonCopyable {
public: public:

View file

@ -6,6 +6,7 @@
#include <memory> #include <memory>
#include "common/color.h" #include "common/color.h"
#include "common/math_util.h"
#include "core/hw/gpu.h" #include "core/hw/gpu.h"
#include "core/memory.h" #include "core/memory.h"

View file

@ -9,6 +9,7 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "video_core/hwrasterizer_base.h" #include "video_core/hwrasterizer_base.h"
#include "video_core/vertex_shader.h"
#include "gl_state.h" #include "gl_state.h"
#include "gl_rasterizer_cache.h" #include "gl_rasterizer_cache.h"