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.
13 //-----------------------------------------------------------------------------
15 //-----------------------------------------------------------------------------
26 CVaapiProxy
* VaapiProxyCreate();
27 void VaapiProxyDelete(CVaapiProxy
*proxy
);
28 void VaapiProxyConfig(CVaapiProxy
*proxy
, void *dpy
, void *eglDpy
);
29 void VAAPIRegister(CVaapiProxy
*winSystem
, bool deepColor
);
31 void VAAPIRegisterRenderGL(CVaapiProxy
* winSystem
, bool& general
, bool& deepColor
);
34 void VAAPIRegisterRenderGLES(CVaapiProxy
* winSystem
, bool& general
, bool& deepColor
);
40 //-----------------------------------------------------------------------------
42 //-----------------------------------------------------------------------------
46 class CVideoReferenceClock
;
55 class CWinSystemX11GLContext
;
57 XID
GLXGetWindow(void* context
);
58 void* GLXGetContext(void* context
);
59 CGLContext
* GLXContextCreate(Display
*dpy
);
60 CVideoSync
* GLXVideoSyncCreate(CVideoReferenceClock
* clock
, CWinSystemX11GLContext
& winSystem
);
65 //-----------------------------------------------------------------------------
67 //-----------------------------------------------------------------------------
75 void VDPAURegisterRender();