kodi
WinSystemEGL.h
1 /*
2  * Copyright (C) 2005-2020 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "utils/EGLUtils.h"
12 
13 namespace KODI
14 {
15 namespace WINDOWING
16 {
17 namespace LINUX
18 {
19 
21 {
22 public:
23  CWinSystemEGL(EGLenum platform, std::string const& platformExtension);
24  ~CWinSystemEGL() = default;
25 
26  EGLDisplay GetEGLDisplay() const;
27  EGLSurface GetEGLSurface() const;
28  EGLContext GetEGLContext() const;
29  EGLConfig GetEGLConfig() const;
30 
31 protected:
32  CEGLContextUtils m_eglContext;
33 };
34 
35 } // namespace LINUX
36 } // namespace WINDOWING
37 } // namespace KODI
Definition: WinSystemEGL.h:20
Definition: AudioDecoder.h:18
Definition: EGLUtils.h:166