summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_base.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-12-08 05:21:06 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-12-08 05:21:06 +0100
commit31764c48fb8f78b998b6627ef4ea4f1b2ec83903 (patch)
tree61533db5c3b250e4f3bc557e442b589e307201ca /src/video_core/renderer_base.h
parentMerge pull request #1271 from lioncash/dyncom-misc (diff)
parentVideoCore: Unify interface to OpenGL and SW rasterizers (diff)
downloadyuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar
yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.gz
yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.bz2
yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.lz
yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.xz
yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.zst
yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.zip
Diffstat (limited to 'src/video_core/renderer_base.h')
-rw-r--r--src/video_core/renderer_base.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h
index 6587bcf27..506bff815 100644
--- a/src/video_core/renderer_base.h
+++ b/src/video_core/renderer_base.h
@@ -8,7 +8,7 @@
#include "common/common_types.h"
-#include "video_core/hwrasterizer_base.h"
+#include "video_core/rasterizer_interface.h"
class EmuWindow;
@@ -54,10 +54,14 @@ public:
return m_current_frame;
}
- std::unique_ptr<HWRasterizer> hw_rasterizer;
+ void RefreshRasterizerSetting();
+
+ std::unique_ptr<VideoCore::RasterizerInterface> rasterizer;
protected:
f32 m_current_fps; ///< Current framerate, should be set by the renderer
int m_current_frame; ///< Current frame, should be set by the renderer
+private:
+ bool opengl_rasterizer_active = false;
};