Debian Codegraph @

Source/Core/VideoBackends/OGL/VideoBackend.h

raw symbols SCIP
1 // Copyright 2011 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <string>
7 #include "VideoCommon/VideoBackendBase.h"
8
9 class GLContext;
10
11 namespace OGL
12 {
13 class VideoBackend : public VideoBackendBase
14 {
15 public:
16 bool Initialize(const WindowSystemInfo& wsi) override;
17 void Shutdown() override;
18
19 std::string GetConfigName() const override;
20 std::string GetDisplayName() const override;
21
22 void InitBackendInfo(const WindowSystemInfo& wsi) override;
23
24 static constexpr const char* CONFIG_NAME = "OGL";
25
26 private:
27 bool InitializeGLExtensions(GLContext* context);
28 bool FillBackendInfo(GLContext* context);
29 };
30 } // namespace OGL