kwin/plugins/platforms/drm
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
..
CMakeLists.txt GBM remote access support for KWin 2018-03-25 20:18:47 +03:00
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 GBM remote access support for KWin 2018-03-25 20:18:47 +03: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 GBM remote access support for KWin 2018-03-25 20:18:47 +03:00
drm_pointer.h
egl_gbm_backend.cpp drm backend: choose correct EGL config with mesa-18 2018-04-05 01:29:17 +03:00
egl_gbm_backend.h GBM remote access support for KWin 2018-03-25 20:18:47 +03:00
gbm_surface.cpp [platforms/drm] Use a shared pointer for gbm_surface 2017-10-05 21:32:46 +02:00
gbm_surface.h Fix DRM EGL crash regression 2017-10-12 10:12:24 +02:00
logging.cpp
logging.h
remoteaccess_manager.cpp Include errno.h 2018-03-26 12:35:15 +05:30
remoteaccess_manager.h GBM remote access support for KWin 2018-03-25 20:18:47 +03:00
scene_qpainter_drm_backend.cpp [drm] Implement changing of modes 2017-10-31 12:45:38 +01:00
scene_qpainter_drm_backend.h Move QPainter compositor into plugin 2017-09-01 17:44:49 +02:00
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