[PATCH weston 1/3] compositor-drm: Read FB2_MODIFIERS capability

2018-09-05 Thread Deepak Rawat
Not all drivers support fb2 modifiers so read the capability before using drmModeAddFB2WithModifiers. Signed-off-by: Deepak Rawat --- libweston/compositor-drm.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/libweston/compositor-drm.c b/libweston/compos

[PATCH weston 2/3] compositor-drm: Add support for drm plane FB_DAMAGE_CLIPS property

2018-09-05 Thread Deepak Rawat
The plane property FB_DAMAGE_CLIPS provides a way mark damaged regions on the plane in framebuffer coordinates of the framebuffer attached to the plane. This patch adds a new member "damage" to compositor version of drm_plane_state and set FB_DAMAGE_CLIPS property whenever damage is available. Si

[PATCH weston 3/3] compositor-drm: Set damage for scanout plane

2018-09-05 Thread Deepak Rawat
Copy the damage region to scanout drm_plane_state which will be sent to kernel during atomic state update. Signed-off-by: Deepak Rawat --- libweston/compositor-drm.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c index

Re: XWayland crash, multiple displays, Fedora 29

2018-09-05 Thread Pekka Paalanen
On Tue, 4 Sep 2018 13:05:37 -0600 Chris Murphy wrote: > I've come across a regression from Fedora 28 to Fedora 29. Problem > happens with combination of: > 1. Wayland session > 2. Chrome with hardware acceleration enabled; and also glxgears > 3. multiple displays > 4. moving the application windo