summaryrefslogtreecommitdiffstats
path: root/src/video_core/video_core.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-09 20:02:00 +0200
committerLioncash <mathew1800@gmail.com>2019-04-12 04:11:40 +0200
commit6d0551196d90af7f1233c655fd3b979811a14708 (patch)
tree9e91a2a79d5351360efaca57cc49be7801c7faf3 /src/video_core/video_core.h
parentcore/cpu_core_manager: Create threads separately from initialization. (diff)
downloadyuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar
yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar.gz
yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar.bz2
yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar.lz
yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar.xz
yuzu-6d0551196d90af7f1233c655fd3b979811a14708.tar.zst
yuzu-6d0551196d90af7f1233c655fd3b979811a14708.zip
Diffstat (limited to 'src/video_core/video_core.h')
-rw-r--r--src/video_core/video_core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/video_core.h b/src/video_core/video_core.h
index 3c583f195..b8e0ac372 100644
--- a/src/video_core/video_core.h
+++ b/src/video_core/video_core.h
@@ -14,6 +14,10 @@ namespace Core::Frontend {
class EmuWindow;
}
+namespace Tegra {
+class GPU;
+}
+
namespace VideoCore {
class RendererBase;
@@ -27,6 +31,9 @@ class RendererBase;
std::unique_ptr<RendererBase> CreateRenderer(Core::Frontend::EmuWindow& emu_window,
Core::System& system);
+/// Creates an emulated GPU instance using the given system context.
+std::unique_ptr<Tegra::GPU> CreateGPU(Core::System& system);
+
u16 GetResolutionScaleFactor(const RendererBase& renderer);
} // namespace VideoCore