emu_window_sdl2_vk.h 570 B

123456789101112131415161718192021222324
  1. // Copyright 2018 yuzu Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <memory>
  6. #include "core/frontend/emu_window.h"
  7. #include "yuzu_cmd/emu_window/emu_window_sdl2.h"
  8. namespace Core {
  9. class System;
  10. }
  11. class EmuWindow_SDL2_VK final : public EmuWindow_SDL2 {
  12. public:
  13. explicit EmuWindow_SDL2_VK(Core::System& system, bool fullscreen);
  14. ~EmuWindow_SDL2_VK();
  15. void Present() override;
  16. std::unique_ptr<Core::Frontend::GraphicsContext> CreateSharedContext() const override;
  17. };