diff options
author | James Rowe <jroweboy@gmail.com> | 2020-03-25 05:57:36 +0100 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2020-03-26 06:32:42 +0100 |
commit | cf9c94d4017120b618194a720942ef4e5c8289bd (patch) | |
tree | 30cbea0216626e3a1db1a68120b54e6bd53804f5 /src/yuzu_tester/emu_window/emu_window_sdl2_hide.h | |
parent | Frontend/GPU: Refactor context management (diff) | |
download | yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.gz yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.bz2 yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.lz yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.xz yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.zst yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.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 | 9 |
1 files changed, 1 insertions, 8 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 index b13e15309..9f5d04fca 100644 --- a/src/yuzu_tester/emu_window/emu_window_sdl2_hide.h +++ b/src/yuzu_tester/emu_window/emu_window_sdl2_hide.h @@ -16,12 +16,6 @@ public: /// Polls window events void PollEvents() override; - /// Makes the graphics context current for the caller thread - void MakeCurrent() override; - - /// Releases the GL context from the caller thread - void DoneCurrent() override; - /// Whether the screen is being shown or not. bool IsShown() const override; @@ -29,8 +23,7 @@ public: void RetrieveVulkanHandlers(void* get_instance_proc_addr, void* instance, void* surface) const override; - /// Whether the window is still open, and a close request hasn't yet been sent - bool IsOpen() const; + std::unique_ptr<Core::Frontend::GraphicsContext> CreateSharedContext() const override; private: /// Whether the GPU and driver supports the OpenGL extension required |