diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-15 07:04:37 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-15 07:14:44 +0100 |
commit | af540b00573e8c6b935289873ba624ecf81002ce (patch) | |
tree | e847a3f246d76fecb7f0156a5a89a1bd54984dab /src/yuzu_tester/emu_window/emu_window_sdl2_hide.h | |
parent | Merge pull request #5348 from ReinUsesLisp/astc-robustness (diff) | |
download | yuzu-af540b00573e8c6b935289873ba624ecf81002ce.tar yuzu-af540b00573e8c6b935289873ba624ecf81002ce.tar.gz yuzu-af540b00573e8c6b935289873ba624ecf81002ce.tar.bz2 yuzu-af540b00573e8c6b935289873ba624ecf81002ce.tar.lz yuzu-af540b00573e8c6b935289873ba624ecf81002ce.tar.xz yuzu-af540b00573e8c6b935289873ba624ecf81002ce.tar.zst yuzu-af540b00573e8c6b935289873ba624ecf81002ce.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu_tester/emu_window/emu_window_sdl2_hide.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/yuzu_tester/emu_window/emu_window_sdl2_hide.h b/src/yuzu_tester/emu_window/emu_window_sdl2_hide.h deleted file mode 100644 index adccdf35e..000000000 --- a/src/yuzu_tester/emu_window/emu_window_sdl2_hide.h +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2019 yuzu Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include "core/frontend/emu_window.h" - -struct SDL_Window; - -namespace InputCommon { -class InputSubsystem; -} - -class EmuWindow_SDL2_Hide : public Core::Frontend::EmuWindow { -public: - explicit EmuWindow_SDL2_Hide(); - ~EmuWindow_SDL2_Hide(); - - /// Whether the screen is being shown or not. - bool IsShown() const override; - - std::unique_ptr<Core::Frontend::GraphicsContext> CreateSharedContext() const override; - -private: - /// Whether the GPU and driver supports the OpenGL extension required - bool SupportsRequiredGLExtensions(); - - std::unique_ptr<InputCommon::InputSubsystem> input_subsystem; - - /// Internal SDL2 render window - SDL_Window* render_window; - - using SDL_GLContext = void*; - /// The OpenGL context associated with the window - SDL_GLContext gl_context; -}; |