Linux Wayland/Weston in GLES
#1
Question 
Hello everyone,
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.  Wink
Reply


Messages In This Thread
Wayland/Weston in GLES - by CSylvain - 2018-10-21, 11:41
RE: Wayland/Weston in GLES - by fritsch - 2018-10-21, 12:06
RE: Wayland/Weston in GLES - by CSylvain - 2018-10-21, 12:30
RE: Wayland/Weston in GLES - by yol - 2018-10-21, 13:13
RE: Wayland/Weston in GLES - by fritsch - 2018-10-21, 13:17
RE: Wayland/Weston in GLES - by CSylvain - 2018-10-21, 21:44
RE: Wayland/Weston in GLES - by lrusak - 2018-10-21, 19:04
RE: Wayland/Weston in GLES - by fritsch - 2018-10-21, 21:52
RE: Wayland/Weston in GLES - by CSylvain - 2018-10-21, 22:07
RE: Wayland/Weston in GLES - by yol - 2018-10-21, 22:25
RE: Wayland/Weston in GLES - by CSylvain - 2018-10-21, 23:33
RE: Wayland/Weston in GLES - by CSylvain - 2018-11-04, 09:52
Logout Mark Read Team Forum Stats Members Help
Wayland/Weston in GLES0