1
0
Fork 0
forked from suyu/suyu

video_core: Reorganize headers

This commit is contained in:
Lioncash 2015-09-11 07:20:02 -04:00
parent 506ab06238
commit aec28ed91e
19 changed files with 56 additions and 62 deletions

View file

@ -4,10 +4,10 @@
#include <boost/container/static_vector.hpp>
#include "clipper.h"
#include "pica.h"
#include "rasterizer.h"
#include "shader/shader_interpreter.h"
#include "video_core/clipper.h"
#include "video_core/pica.h"
#include "video_core/rasterizer.h"
#include "video_core/shader/shader_interpreter.h"
namespace Pica {

View file

@ -2,25 +2,24 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <cmath>
#include <boost/range/algorithm/fill.hpp>
#include "common/microprofile.h"
#include "common/profiler.h"
#include "core/settings.h"
#include "core/hle/service/gsp_gpu.h"
#include "core/hw/gpu.h"
#include "core/settings.h"
#include "debug_utils/debug_utils.h"
#include "clipper.h"
#include "command_processor.h"
#include "math.h"
#include "pica.h"
#include "primitive_assembly.h"
#include "renderer_base.h"
#include "shader/shader_interpreter.h"
#include "video_core.h"
#include "video_core/clipper.h"
#include "video_core/command_processor.h"
#include "video_core/pica.h"
#include "video_core/primitive_assembly.h"
#include "video_core/renderer_base.h"
#include "video_core/video_core.h"
#include "video_core/debug_utils/debug_utils.h"
#include "video_core/shader/shader_interpreter.h"
namespace Pica {

View file

@ -31,8 +31,7 @@
#include "video_core/renderer_base.h"
#include "video_core/utils.h"
#include "video_core/video_core.h"
#include "debug_utils.h"
#include "video_core/debug_utils/debug_utils.h"
using nihstro::DVLBHeader;
using nihstro::DVLEHeader;

View file

@ -5,8 +5,8 @@
#include <cstring>
#include <unordered_map>
#include "pica.h"
#include "shader/shader.h"
#include "video_core/pica.h"
#include "video_core/shader/shader.h"
namespace Pica {

View file

@ -13,8 +13,8 @@
#include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "common/logging/log.h"
#include "common/vector_math.h"
#include "common/logging/log.h"
namespace Pica {

View file

@ -2,12 +2,12 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "pica.h"
#include "primitive_assembly.h"
#include "shader/shader_interpreter.h"
#include "common/logging/log.h"
#include "video_core/pica.h"
#include "video_core/primitive_assembly.h"
#include "video_core/debug_utils/debug_utils.h"
#include "video_core/shader/shader_interpreter.h"
namespace Pica {

View file

@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include <algorithm>
#include <cmath>
#include "common/color.h"
#include "common/common_types.h"
@ -10,15 +11,14 @@
#include "common/microprofile.h"
#include "common/profiler.h"
#include "core/hw/gpu.h"
#include "core/memory.h"
#include "core/hw/gpu.h"
#include "debug_utils/debug_utils.h"
#include "math.h"
#include "pica.h"
#include "rasterizer.h"
#include "shader/shader_interpreter.h"
#include "video_core/pica.h"
#include "video_core/rasterizer.h"
#include "video_core/utils.h"
#include "video_core/debug_utils/debug_utils.h"
#include "video_core/shader/shader_interpreter.h"
namespace Pica {

View file

@ -12,9 +12,9 @@
#include "common/microprofile.h"
#include "common/profiler.h"
#include "core/hw/gpu.h"
#include "core/memory.h"
#include "core/settings.h"
#include "core/hw/gpu.h"
#include "video_core/pica.h"
#include "video_core/utils.h"

View file

@ -9,11 +9,10 @@
#include "common/common_types.h"
#include "video_core/hwrasterizer_base.h"
#include "video_core/renderer_opengl/gl_rasterizer_cache.h"
#include "video_core/renderer_opengl/gl_state.h"
#include "video_core/shader/shader_interpreter.h"
#include "gl_state.h"
#include "gl_rasterizer_cache.h"
class RasterizerOpenGL : public HWRasterizer {
public:

View file

@ -10,9 +10,9 @@
#include "core/memory.h"
#include "video_core/debug_utils/debug_utils.h"
#include "video_core/renderer_opengl/gl_rasterizer_cache.h"
#include "video_core/renderer_opengl/pica_to_gl.h"
#include "video_core/debug_utils/debug_utils.h"
RasterizerCacheOpenGL::~RasterizerCacheOpenGL() {
FullFlush();

View file

@ -4,13 +4,13 @@
#pragma once
#include "gl_state.h"
#include "gl_resource_manager.h"
#include "video_core/debug_utils/debug_utils.h"
#include "video_core/pica.h"
#include <memory>
#include <map>
#include <memory>
#include "video_core/pica.h"
#include "video_core/debug_utils/debug_utils.h"
#include "video_core/renderer_opengl/gl_resource_manager.h"
#include "video_core/renderer_opengl/gl_state.h"
class RasterizerCacheOpenGL : NonCopyable {
public:

View file

@ -2,11 +2,11 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "gl_shader_util.h"
#include "common/logging/log.h"
#include <vector>
#include <algorithm>
#include <vector>
#include "common/logging/log.h"
#include "video_core/renderer_opengl/gl_shader_util.h"
namespace ShaderUtil {

View file

@ -2,8 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "video_core/renderer_opengl/gl_state.h"
#include "video_core/pica.h"
#include "video_core/renderer_opengl/gl_state.h"
OpenGLState OpenGLState::cur_state;

View file

@ -11,11 +11,11 @@
#include "common/logging/log.h"
#include "common/profiler_reporting.h"
#include "core/memory.h"
#include "core/settings.h"
#include "core/hw/gpu.h"
#include "core/hw/hw.h"
#include "core/hw/lcd.h"
#include "core/memory.h"
#include "core/settings.h"
#include "video_core/video_core.h"
#include "video_core/debug_utils/debug_utils.h"

View file

@ -7,9 +7,8 @@
#include <nihstro/shader_bytecode.h>
#include "video_core/pica.h"
#include "shader.h"
#include "shader_interpreter.h"
#include "video_core/shader/shader.h"
#include "video_core/shader/shader_interpreter.h"
using nihstro::OpCode;
using nihstro::Instruction;

View file

@ -4,7 +4,7 @@
#pragma once
#include "shader.h"
#include "video_core/shader/shader.h"
namespace Pica {

View file

@ -9,8 +9,7 @@
#include "common/x64/emitter.h"
#include "video_core/pica.h"
#include "shader.h"
#include "video_core/shader/shader.h"
using nihstro::Instruction;
using nihstro::OpCode;

View file

@ -2,8 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <stdio.h>
#include <string.h>
#include <cstdio>
#include <cstring>
#include "video_core/utils.h"

View file

@ -2,17 +2,16 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "common/logging/log.h"
#include "common/emu_window.h"
#include "common/logging/log.h"
#include "core/core.h"
#include "core/settings.h"
#include "video_core.h"
#include "renderer_base.h"
#include "renderer_opengl/renderer_opengl.h"
#include "pica.h"
#include "video_core/pica.h"
#include "video_core/renderer_base.h"
#include "video_core/video_core.h"
#include "video_core/renderer_opengl/renderer_opengl.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
// Video Core namespace