[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / windowing / wayland / OptionalsReg.h
blob293c9c3efbd0f664f69911a6c9af1d1c12183877
1 /*
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.
7 */
9 #pragma once
12 //-----------------------------------------------------------------------------
13 // VAAPI
14 //-----------------------------------------------------------------------------
16 namespace KODI
18 namespace WINDOWING
20 namespace WAYLAND
22 class CVaapiProxy;
24 CVaapiProxy* VaapiProxyCreate();
25 void VaapiProxyDelete(CVaapiProxy *proxy);
26 void VaapiProxyConfig(CVaapiProxy *proxy, void *dpy, void *eglDpy);
27 void VAAPIRegister(CVaapiProxy *winSystem, bool deepColor);
28 #if defined(HAS_GL)
29 void VAAPIRegisterRenderGL(CVaapiProxy* winSystem, bool& general, bool& deepColor);
30 #endif
31 #if defined(HAS_GLES)
32 void VAAPIRegisterRenderGLES(CVaapiProxy* winSystem, bool& general, bool& deepColor);
33 #endif
35 } // namespace WAYLAND
36 } // namespace WINDOWING
37 } // namespace KODI