diff options
Diffstat (limited to 'xbmc/windowing/linux/WinSystemEGL.cpp')
-rw-r--r-- | xbmc/windowing/linux/WinSystemEGL.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/xbmc/windowing/linux/WinSystemEGL.cpp b/xbmc/windowing/linux/WinSystemEGL.cpp new file mode 100644 index 0000000..f791b91 --- /dev/null +++ b/xbmc/windowing/linux/WinSystemEGL.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2005-2020 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#include "WinSystemEGL.h" + +using namespace KODI::WINDOWING::LINUX; + +CWinSystemEGL::CWinSystemEGL(EGLenum platform, std::string const& platformExtension) + : m_eglContext{platform, platformExtension} +{ +} + +EGLDisplay CWinSystemEGL::GetEGLDisplay() const +{ + return m_eglContext.GetEGLDisplay(); +} + +EGLSurface CWinSystemEGL::GetEGLSurface() const +{ + return m_eglContext.GetEGLSurface(); +} + +EGLContext CWinSystemEGL::GetEGLContext() const +{ + return m_eglContext.GetEGLContext(); +} + +EGLConfig CWinSystemEGL::GetEGLConfig() const +{ + return m_eglContext.GetEGLConfig(); +} |