yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #811 from archshift/commonify

Commonify video_core utility headers
This commit is contained in:
archshift 2015-05-31 09:55:29 -07:00
commit 0414ad20cb
13 changed files with 17 additions and 16 deletions

View File

@ -11,10 +11,10 @@
#include <QSpinBox> #include <QSpinBox>
#include <QComboBox> #include <QComboBox>
#include "video_core/pica.h" #include "common/vector_math.h"
#include "video_core/math.h"
#include "video_core/debug_utils/debug_utils.h" #include "video_core/debug_utils/debug_utils.h"
#include "video_core/pica.h"
#include "graphics_cmdlists.h" #include "graphics_cmdlists.h"

View File

@ -9,10 +9,11 @@
#include <QPushButton> #include <QPushButton>
#include <QSpinBox> #include <QSpinBox>
#include "common/color.h"
#include "core/hw/gpu.h" #include "core/hw/gpu.h"
#include "core/memory.h" #include "core/memory.h"
#include "video_core/color.h"
#include "video_core/pica.h" #include "video_core/pica.h"
#include "video_core/utils.h" #include "video_core/utils.h"

View File

@ -24,6 +24,7 @@ set(HEADERS
bit_field.h bit_field.h
break_points.h break_points.h
chunk_file.h chunk_file.h
color.h
common_funcs.h common_funcs.h
common_paths.h common_paths.h
common_types.h common_types.h
@ -54,6 +55,7 @@ set(HEADERS
thread_queue_list.h thread_queue_list.h
thunk.h thunk.h
timer.h timer.h
vector_math.h
) )
create_directory_groups(${SRCS} ${HEADERS}) create_directory_groups(${SRCS} ${HEADERS})

View File

@ -6,8 +6,7 @@
#include "common/common_types.h" #include "common/common_types.h"
#include "common/swap.h" #include "common/swap.h"
#include "common/vector_math.h"
#include "video_core/math.h"
namespace Color { namespace Color {

View File

@ -2,6 +2,7 @@
// 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 "common/color.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "core/arm/arm_interface.h" #include "core/arm/arm_interface.h"
@ -22,7 +23,6 @@
#include "video_core/command_processor.h" #include "video_core/command_processor.h"
#include "video_core/utils.h" #include "video_core/utils.h"
#include "video_core/video_core.h" #include "video_core/video_core.h"
#include "video_core/color.h"
namespace GPU { namespace GPU {

View File

@ -29,11 +29,9 @@ set(HEADERS
renderer_opengl/pica_to_gl.h renderer_opengl/pica_to_gl.h
renderer_opengl/renderer_opengl.h renderer_opengl/renderer_opengl.h
clipper.h clipper.h
color.h
command_processor.h command_processor.h
gpu_debugger.h gpu_debugger.h
hwrasterizer_base.h hwrasterizer_base.h
math.h
pica.h pica.h
primitive_assembly.h primitive_assembly.h
rasterizer.h rasterizer.h

View File

@ -17,11 +17,11 @@
#include <nihstro/shader_binary.h> #include <nihstro/shader_binary.h>
#include "common/assert.h" #include "common/assert.h"
#include "common/color.h"
#include "common/file_util.h" #include "common/file_util.h"
#include "common/math_util.h" #include "common/math_util.h"
#include "common/vector_math.h"
#include "video_core/color.h"
#include "video_core/math.h"
#include "video_core/pica.h" #include "video_core/pica.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

@ -12,7 +12,8 @@
#include <mutex> #include <mutex>
#include <vector> #include <vector>
#include "video_core/math.h" #include "common/vector_math.h"
#include "video_core/pica.h" #include "video_core/pica.h"
namespace Pica { namespace Pica {

View File

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

View File

@ -4,6 +4,7 @@
#include <algorithm> #include <algorithm>
#include "common/color.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "common/math_util.h" #include "common/math_util.h"
#include "common/profiler.h" #include "common/profiler.h"
@ -13,7 +14,6 @@
#include "debug_utils/debug_utils.h" #include "debug_utils/debug_utils.h"
#include "math.h" #include "math.h"
#include "color.h"
#include "pica.h" #include "pica.h"
#include "rasterizer.h" #include "rasterizer.h"
#include "vertex_shader.h" #include "vertex_shader.h"

View File

@ -2,10 +2,11 @@
// 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 "common/color.h"
#include "core/settings.h" #include "core/settings.h"
#include "core/hw/gpu.h" #include "core/hw/gpu.h"
#include "video_core/color.h"
#include "video_core/pica.h" #include "video_core/pica.h"
#include "video_core/utils.h" #include "video_core/utils.h"
#include "video_core/renderer_opengl/gl_rasterizer.h" #include "video_core/renderer_opengl/gl_rasterizer.h"

View File

@ -4,13 +4,13 @@
#include "common/make_unique.h" #include "common/make_unique.h"
#include "common/math_util.h" #include "common/math_util.h"
#include "common/vector_math.h"
#include "core/memory.h" #include "core/memory.h"
#include "video_core/renderer_opengl/gl_rasterizer_cache.h" #include "video_core/renderer_opengl/gl_rasterizer_cache.h"
#include "video_core/renderer_opengl/pica_to_gl.h" #include "video_core/renderer_opengl/pica_to_gl.h"
#include "video_core/debug_utils/debug_utils.h" #include "video_core/debug_utils/debug_utils.h"
#include "video_core/math.h"
RasterizerCacheOpenGL::~RasterizerCacheOpenGL() { RasterizerCacheOpenGL::~RasterizerCacheOpenGL() {
FullFlush(); FullFlush();