summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-11 13:20:02 +0200
committerLioncash <mathew1800@gmail.com>2015-09-11 13:31:15 +0200
commitaec28ed91eb570c5c7aac31ee6ef302df91ee868 (patch)
treece6b4f5b99132665c448b26e3e3c8db88e568617 /src/video_core/renderer_opengl
parentMerge pull request #1141 from lioncash/hdr (diff)
downloadyuzu-aec28ed91eb570c5c7aac31ee6ef302df91ee868.tar
yuzu-aec28ed91eb570c5c7aac31ee6ef302df91ee868.tar.gz
yuzu-aec28ed91eb570c5c7aac31ee6ef302df91ee868.tar.bz2
yuzu-aec28ed91eb570c5c7aac31ee6ef302df91ee868.tar.lz
yuzu-aec28ed91eb570c5c7aac31ee6ef302df91ee868.tar.xz
yuzu-aec28ed91eb570c5c7aac31ee6ef302df91ee868.tar.zst
yuzu-aec28ed91eb570c5c7aac31ee6ef302df91ee868.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.h5
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.h12
-rw-r--r--src/video_core/renderer_opengl/gl_shader_util.cpp8
-rw-r--r--src/video_core/renderer_opengl/gl_state.cpp2
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp4
7 files changed, 17 insertions, 18 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 62ca18317..50eb157a5 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -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"
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h
index 24560d7f8..1fe307846 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer.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:
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
index d9ccf2a3f..10d4ab0b6 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -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();
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h
index ec56237b5..98a48ffbe 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h
@@ -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:
diff --git a/src/video_core/renderer_opengl/gl_shader_util.cpp b/src/video_core/renderer_opengl/gl_shader_util.cpp
index 42d0e597c..4cf246c06 100644
--- a/src/video_core/renderer_opengl/gl_shader_util.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_util.cpp
@@ -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 {
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp
index e02c27fbf..77b2816cb 100644
--- a/src/video_core/renderer_opengl/gl_state.cpp
+++ b/src/video_core/renderer_opengl/gl_state.cpp
@@ -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;
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index e1828c754..22f261c68 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -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"