yuzu-mainline/src/video_core/video_core.h

31 lines
576 B
C++
Raw Normal View History

2014-04-08 16:04:25 -07:00
// Copyright 2014 Citra Emulator Project
2014-12-16 21:38:14 -08:00
// Licensed under GPLv2 or any later version
2014-04-08 16:04:25 -07:00
// Refer to the license.txt file included.
2014-04-05 13:04:25 -07:00
#pragma once
#include <memory>
2015-05-18 21:21:33 -07:00
namespace Core {
class System;
}
namespace Core::Frontend {
2015-06-21 06:02:11 -07:00
class EmuWindow;
}
2014-04-05 13:04:25 -07:00
namespace Tegra {
class GPU;
}
2014-04-05 13:04:25 -07:00
namespace VideoCore {
class RendererBase;
/// Creates an emulated GPU instance using the given system context.
std::unique_ptr<Tegra::GPU> CreateGPU(Core::Frontend::EmuWindow& emu_window, Core::System& system);
u16 GetResolutionScaleFactor(const RendererBase& renderer);
} // namespace VideoCore