With Mesa 17, build fails: [ 357s] /home/abuild/rpmbuild/BUILD/kwin-5.14.90/plugins/platforms/virtual/egl_gbm_backend.cpp: In member function 'bool KWin::EglGbmBackend::initializeEgl()': [ 357s] /home/abuild/rpmbuild/BUILD/kwin-5.14.90/plugins/platforms/virtual/egl_gbm_backend.cpp:64:48: error: 'EGL_PLATFORM_SURFACELESS_MESA' was not declared in this scope [ 357s] display = eglGetPlatformDisplayEXT(EGL_PLATFORM_SURFACELESS_MESA, EGL_DEFAULT_DISPLAY, nullptr); Best option is probably to skip building the virtual platform in that case.
It can be defined.
Git commit 204a05fef82eede2fb2d79ec051668a1f42886cc by Vlad Zagorodniy. Committed on 18/01/2019 at 13:45. Pushed by vladz into branch 'Plasma/5.15'. Compile the virtual backend with older Mesa Summary: FIXED-IN: 5.15.0 Test Plan: N/A Reviewers: #kwin, fvogt, davidedmundson Reviewed By: #kwin, fvogt, davidedmundson Subscribers: kwin, fvogt Tags: #kwin Differential Revision: https://phabricator.kde.org/D18353 M +4 -0 plugins/platforms/virtual/egl_gbm_backend.cpp https://commits.kde.org/kwin/204a05fef82eede2fb2d79ec051668a1f42886cc