Debian Codegraph @

xbmc/windowing/X11/OptionalsReg.h

raw
1 /*
2 * Copyright (C) 2005-2018 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 <X11/Xlib.h>
12
13 //-----------------------------------------------------------------------------
14 // VAAPI
15 //-----------------------------------------------------------------------------
16
17 namespace KODI
18 {
19 namespace WINDOWING
20 {
21 namespace X11
22 {
23
24 class CVaapiProxy;
25
26 CVaapiProxy* VaapiProxyCreate();
27 void VaapiProxyDelete(CVaapiProxy *proxy);
28 void VaapiProxyConfig(CVaapiProxy *proxy, void *dpy, void *eglDpy);
29 void VAAPIRegister(CVaapiProxy *winSystem, bool deepColor);
30 #if defined(HAS_GL)
31 void VAAPIRegisterRenderGL(CVaapiProxy* winSystem, bool& general, bool& deepColor);
32 #endif
33 #if defined(HAS_GLES)
34 void VAAPIRegisterRenderGLES(CVaapiProxy* winSystem, bool& general, bool& deepColor);
35 #endif
36 }
37 }
38 }
39
40 //-----------------------------------------------------------------------------
41 // GLX
42 //-----------------------------------------------------------------------------
43
44 class CVideoSync;
45 class CGLContext;
46 class CVideoReferenceClock;
47
48 namespace KODI
49 {
50 namespace WINDOWING
51 {
52 namespace X11
53 {
54
55 class CWinSystemX11GLContext;
56
57 XID GLXGetWindow(void* context);
58 void* GLXGetContext(void* context);
59 CGLContext* GLXContextCreate(Display *dpy);
60 CVideoSync* GLXVideoSyncCreate(CVideoReferenceClock* clock, CWinSystemX11GLContext& winSystem);
61 }
62 }
63 }
64
65 //-----------------------------------------------------------------------------
66 // VDPAU
67 //-----------------------------------------------------------------------------
68
69 namespace KODI
70 {
71 namespace WINDOWING
72 {
73 namespace X11
74 {
75 void VDPAURegisterRender();
76 void VDPAURegister();
77 }
78 }
79 }