Merge pull request #26273 from 78andyp/blurayfixes2
[xbmc.git] / xbmc / windowing / linux / WinSystemEGL.h
blob44bb5e42c84705b16251f4fbc9c385859b49e0bb
1 /*
2 * Copyright (C) 2005-2020 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include "utils/EGLUtils.h"
13 namespace KODI
15 namespace WINDOWING
17 namespace LINUX
20 class CWinSystemEGL
22 public:
23 CWinSystemEGL(EGLenum platform, std::string const& platformExtension);
24 ~CWinSystemEGL() = default;
26 EGLDisplay GetEGLDisplay() const;
27 EGLSurface GetEGLSurface() const;
28 EGLContext GetEGLContext() const;
29 EGLConfig GetEGLConfig() const;
31 protected:
32 CEGLContextUtils m_eglContext;
35 } // namespace LINUX
36 } // namespace WINDOWING
37 } // namespace KODI