mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 12:10:04 +00:00
Merge pull request #1143 from lioncash/vcore-hdr
video_core: Reorganize headers
This commit is contained in:
commit
ece0f050a9
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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();
|
||||
|
@ -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:
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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;
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "shader.h"
|
||||
#include "video_core/shader/shader.h"
|
||||
|
||||
namespace Pica {
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user