kwin/plugins/platforms/drm
Alexey Min 0ccecbc427 drm backend: choose correct EGL config with mesa-18
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-06 00:17:08 +03:00
..
CMakeLists.txt
drm.json SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-13 07:01:42 +01:00
drm_backend.cpp [colorcorrection] Night Color - blue light filter at nighttime 2017-12-11 10:58:40 +01:00
drm_backend.h [colorcorrection] Night Color - blue light filter at nighttime 2017-12-11 10:58:40 +01:00
drm_buffer.cpp [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_buffer.h [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_buffer_gbm.cpp [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_buffer_gbm.h [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_inputeventfilter.cpp
drm_inputeventfilter.h
drm_object.cpp [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_object.h [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_object_connector.cpp [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_object_connector.h [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_object_crtc.cpp [colorcorrection] Night Color - blue light filter at nighttime 2017-12-11 10:58:40 +01:00
drm_object_crtc.h [colorcorrection] Night Color - blue light filter at nighttime 2017-12-11 10:58:40 +01:00
drm_object_plane.cpp [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_object_plane.h [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
drm_output.cpp Fix typo in config group name 2018-03-05 13:03:20 +01:00
drm_output.h [libinput] Find screen for touch screen devices and calibrate accordingly 2017-12-23 10:18:55 +01:00
drm_pointer.h
egl_gbm_backend.cpp drm backend: choose correct EGL config with mesa-18 2018-04-06 00:17:08 +03:00
egl_gbm_backend.h
gbm_surface.cpp
gbm_surface.h
logging.cpp
logging.h
scene_qpainter_drm_backend.cpp
scene_qpainter_drm_backend.h
screens_drm.cpp [libinput] Find screen for touch screen devices and calibrate accordingly 2017-12-23 10:18:55 +01:00
screens_drm.h [libinput] Find screen for touch screen devices and calibrate accordingly 2017-12-23 10:18:55 +01:00