diff options
author | LC <mathew1800@gmail.com> | 2021-01-15 07:48:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 07:48:02 +0100 |
commit | 6676687694d8cea4b2c5c790cca9144c370dfb09 (patch) | |
tree | f4d0be6388847f45bb9d2e1085cd0ff4829319d1 /src/yuzu_tester/emu_window/emu_window_sdl2_hide.h | |
parent | Merge pull request #5353 from ReinUsesLisp/deduplicate-warning-flags (diff) | |
parent | cmake: Remove yuzu_tester (diff) | |
download | yuzu-6676687694d8cea4b2c5c790cca9144c370dfb09.tar yuzu-6676687694d8cea4b2c5c790cca9144c370dfb09.tar.gz yuzu-6676687694d8cea4b2c5c790cca9144c370dfb09.tar.bz2 yuzu-6676687694d8cea4b2c5c790cca9144c370dfb09.tar.lz yuzu-6676687694d8cea4b2c5c790cca9144c370dfb09.tar.xz yuzu-6676687694d8cea4b2c5c790cca9144c370dfb09.tar.zst yuzu-6676687694d8cea4b2c5c790cca9144c370dfb09.zip |
Diffstat (limited to 'src/yuzu_tester/emu_window/emu_window_sdl2_hide.h')
-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; -}; |