Commits on Source (11)
-
Enrico Weigelt, metux IT consult . authored
DMX has long gone, but there's still some fallout from it's removal yet to be cleaned up. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1362>
-
Michel Dänzer authored
Otherwise the pixmap is too small for a window with non-0 border width. Fixes: 9730fb64 ("xwayland: Add create_pixmap_for_window() to GBM backend") Part-of: <!1314>
-
Michel Dänzer authored
Each function can get the damage region from the xwl_window instead. Add xwl_window_get_damage_region helper for this. v2: * Use xwl_window_get_damage_region in xwl_window_attach_buffer as well (Olivier Fourdan) Part-of: <!1314>
-
Michel Dänzer authored
Before clearing the damage region. Otherwise the damage region from a Present flip may be ignored when replacing the window pixmap. Part-of: <!1314>
-
Michel Dänzer authored
It doesn't recycle anything but allocates a new pixmap from scratch. Part-of: <!1314>
-
Michel Dänzer authored
There will be another caller in a later commit. v2: * Bump xwl_window_buffer->refcnt in xwl_window_swap_pixmap, to prevent xwl_window_set_pixmap from disposing of it. v3: * Go back to bumping xwl_window_buffer->refcnt in xwl_window_buffers_get_pixmap. xwl_window_set_pixmap should no longer dispose of it now that xwl_glamor_gbm_create_pixmap_for_window is fixed, and xwl_window_swap_pixmap forgot to bump it if xwl_window_buffer_get_available returned NULL. v4: * Unlink xwl_window_buffer from xwl_window->window_buffers_available before calling xwl_window_set_pixmap in xwl_window_swap_pixmap, or that might dispose of it. v5: * xwl_window_swap_pixmap does everything xwl_window_buffer_get_available did before, except for just using the window pixmap if !xwl_glamor_needs_n_buffering. Part-of: <!1314>
-
Michel Dänzer authored
Part-of: <!1314>
-
Michel Dänzer authored
We must not modify the contents of a client pixmap. If there's an available window buffer, we re-use that for the window pixmap. Otherwise we just allocate a new one. This also avoids Present client hangs due to xwl_present_buffer_release not getting called for the buffer release event. v2: * Use xwl_pixmap_get_buffer_release_cb instead of keeping track of the flip pixmap in xwl_window. * Dispose of xwl_window_buffer in xwl_window_swap_pixmap called from damage_report. v3: * Use xwl_window->surface_pixmap in damage_report. v4: * Don't re-use client pixmaps as window buffers. * Clear xwl_window_buffer->pixmap before calling xwl_window_buffer_maybe_dispose in xwl_window_swap_pixmap, to prevent it from clearing the buffer release callback. v5: * Keep using xwl_window_buffers_get_pixmap in xwl_window_attach_buffer. * Always keep a reference to the old window pixmap in _swap_pixmap, drop it in damage_report. Fixes: 6779ec5b ("xwayland: Use window pixmap as a window buffer") Closes: #1633 Closes: #1644 Part-of: <!1314>
-
Michel Dänzer authored
Due to DamageReportNonEmpty, damage_report doesn't get called if the damage region was already non-empty before the flip. In which case it didn't get called before the first draw after the flip either. Closes: #1627 Part-of: <!1314>
-
These aren't used by drivers, so no need to export them. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1376>
-
This is an internal function, not used and not supposed to be used by any drivers, so shouldn't have been exported in the first place. Fixes: 49f77fff Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1372>
Showing
- .gitlab-ci/debian-install.sh 0 additions, 1 deletion.gitlab-ci/debian-install.sh
- Xext/panoramiX.c 0 additions, 4 deletionsXext/panoramiX.c
- dix/dix_priv.h 4 additions, 0 deletionsdix/dix_priv.h
- dix/dixutils.c 3 additions, 0 deletionsdix/dixutils.c
- dix/events.c 0 additions, 54 deletionsdix/events.c
- dix/main.c 1 addition, 0 deletionsdix/main.c
- dix/protocol.txt 0 additions, 18 deletionsdix/protocol.txt
- hw/xwayland/xwayland-glamor-gbm.c 7 additions, 4 deletionshw/xwayland/xwayland-glamor-gbm.c
- hw/xwayland/xwayland-glamor.c 3 additions, 2 deletionshw/xwayland/xwayland-glamor.c
- hw/xwayland/xwayland-glamor.h 1 addition, 1 deletionhw/xwayland/xwayland-glamor.h
- hw/xwayland/xwayland-pixmap.h 6 additions, 0 deletionshw/xwayland/xwayland-pixmap.h
- hw/xwayland/xwayland-present.c 13 additions, 2 deletionshw/xwayland/xwayland-present.c
- hw/xwayland/xwayland-screen.h 1 addition, 0 deletionshw/xwayland/xwayland-screen.h
- hw/xwayland/xwayland-window-buffers.c 38 additions, 32 deletionshw/xwayland/xwayland-window-buffers.c
- hw/xwayland/xwayland-window-buffers.h 6 additions, 4 deletionshw/xwayland/xwayland-window-buffers.h
- hw/xwayland/xwayland-window.c 15 additions, 13 deletionshw/xwayland/xwayland-window.c
- hw/xwayland/xwayland-window.h 1 addition, 1 deletionhw/xwayland/xwayland-window.h
- include/dix.h 0 additions, 11 deletionsinclude/dix.h
- include/os.h 0 additions, 2 deletionsinclude/os.h
- include/protocol-versions.h 0 additions, 5 deletionsinclude/protocol-versions.h