kwin/plugins/platforms
Alexey Min d318cb3bd4 drm backend: choose correct EGL config with mesa-18
Summary:
Do not blindly select first EGL config from returned list, but choose the one that matches GBM surfaces, that will be created later.
GBM surfaces are created with GBM_FORMAT_XRGB8888 format, so choose the config that matches it.
With wrong format EglGbmBackend::resetOutput() will later fail with error EGL_BAD_MATCH.

Test Plan: Compile, run startplasmacompositor. Verify that OpenGL compositing is used, either by kwin debug console, or by kwin support information.

Reviewers: graesslin, davidedmundson, #kwin, #plasma_on_wayland, bshah

Reviewed By: davidedmundson

Subscribers: zzag, kwin, #kwin

Tags: #kwin, #plasma_on_wayland

Differential Revision: https://phabricator.kde.org/D11758
2018-04-05 01:29:17 +03:00
..
drm drm backend: choose correct EGL config with mesa-18 2018-04-05 01:29:17 +03:00
fbdev SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
hwcomposer SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
virtual [platforms/virtual] Store virtual outputs per reference 2018-03-22 16:03:16 +01:00
wayland SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
x11 [x11] Fix interactive point selection 2018-02-05 21:21:27 +01:00
CMakeLists.txt Require libinput and udev 2018-02-04 15:00:42 +01:00