2 * Copyright (C) 2005-2018 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.
11 #include "WinSystemGbmEGLContext.h"
12 #include "rendering/gl/RenderSystemGL.h"
13 #include "utils/EGLUtils.h"
26 class CWinSystemGbmGLContext
: public CWinSystemGbmEGLContext
, public CRenderSystemGL
29 CWinSystemGbmGLContext();
30 ~CWinSystemGbmGLContext() override
= default;
32 static void Register();
33 static std::unique_ptr
<CWinSystemBase
> CreateWinSystem();
35 // Implementation of CWinSystemBase via CWinSystemGbm
36 CRenderSystemBase
*GetRenderSystem() override
{ return this; }
37 bool InitWindowSystem() override
;
38 bool SetFullScreen(bool fullScreen
, RESOLUTION_INFO
& res
, bool blankOtherDisplays
) override
;
39 void PresentRender(bool rendered
, bool videoLayer
) override
;
41 void SetVSyncImpl(bool enable
) override
{}
42 void PresentRenderImpl(bool rendered
) override
{};
43 bool CreateContext() override
;