2018-10-21, 11:41
Hello everyone,
I would like to use Kodi on a composer Wayland/Weston, I did my tests in Debian/X64 with these parameters :
The test being successful, I try to do it on a Mali/Amlogic GPU, so I can use it only in GLES :
Without having the Intel / GLES in X64, I would like to know if it is normal that I have this compilation error, with the version 18.0b3-Leia, as well as the master ? :
Is it recommended to use Kodi in GL for Wayland ?
I thank you in advance for your help.
I would like to use Kodi on a composer Wayland/Weston, I did my tests in Debian/X64 with these parameters :
Code:
-DCORE_PLATFORM_NAME=wayland -DWAYLAND_RENDER_SYSTEM=gl
The test being successful, I try to do it on a Mali/Amlogic GPU, so I can use it only in GLES :
Code:
-DCORE_PLATFORM_NAME=wayland -DWAYLAND_RENDER_SYSTEM=gles --enable-codec=amcodec
Without having the Intel / GLES in X64, I would like to know if it is normal that I have this compilation error, with the version 18.0b3-Leia, as well as the master ? :
Code:
../xbmc/windowing/wayland/WinSystemWaylandEGLContext.cpp: In member function 'bool KODI::WINDOWING::WAYLAND::CWinSystemWaylandEGLContext::InitWindowSystemEGL(EGLint, EGLint)':
../xbmc/windowing/wayland/WinSystemWaylandEGLContext.cpp:35:128: error: no matching function for call to 'CEGLContextUtils::CreatePlatformDisplay(wayland::display_t&, wayland::display_t&, EGLint&, EGLint&)'
if (!m_eglContext.CreatePlatformDisplay(GetConnection()->GetDisplay(), GetConnection()->GetDisplay(), renderableType, apiType))
^
In file included from ../xbmc/windowing/wayland/WinSystemWaylandEGLContext.h:11,
from ../xbmc/windowing/wayland/WinSystemWaylandEGLContext.cpp:9:
../xbmc/utils/EGLUtils.h:183:8: note: candidate: 'bool CEGLContextUtils::CreatePlatformDisplay(void*, EGLNativeDisplayType, EGLint, EGLint, EGLint)'
bool CreatePlatformDisplay(void* nativeDisplay, EGLNativeDisplayType nativeDisplayLegacy, EGLint renderableType, EGLint renderingApi, EGLint visualId = 0);
^~~~~~~~~~~~~~~~~~~~~
../xbmc/utils/EGLUtils.h:183:8: note: no known conversion for argument 2 from 'wayland::display_t' to 'EGLNativeDisplayType' {aka 'gbm_device*'}
../xbmc/windowing/wayland/WinSystemWaylandEGLContext.cpp: In member function 'virtual bool KODI::WINDOWING::WAYLAND::CWinSystemWaylandEGLContext::CreateNewWindow(const string&, bool, RESOLUTION_INFO&)':
../xbmc/windowing/wayland/WinSystemWaylandEGLContext.cpp:62:89: error: no matching function for call to 'CEGLContextUtils::CreatePlatformSurface(wl_egl_window*, wl_egl_window*)'
if (!m_eglContext.CreatePlatformSurface(m_nativeWindow.c_ptr(), m_nativeWindow.c_ptr()))
^
In file included from ../xbmc/windowing/wayland/WinSystemWaylandEGLContext.h:11,
from ../xbmc/windowing/wayland/WinSystemWaylandEGLContext.cpp:9:
../xbmc/utils/EGLUtils.h:186:8: note: candidate: 'bool CEGLContextUtils::CreatePlatformSurface(void*, EGLNativeWindowType)'
bool CreatePlatformSurface(void* nativeWindow, EGLNativeWindowType nativeWindowLegacy);
^~~~~~~~~~~~~~~~~~~~~
../xbmc/utils/EGLUtils.h:186:8: note: no known conversion for argument 2 from 'wl_egl_window*' to 'EGLNativeWindowType' {aka 'gbm_surface*'}
Is it recommended to use Kodi in GL for Wayland ?
I thank you in advance for your help.