[PATCH 0/4][XWayland] New API to support dri3/present
axel.davy at ens.fr
Wed Jan 15 11:46:49 PST 2014
The first patch moves the wl_buffers from being a per-window thing to
a per-pixmap thing. That way if we change the window pixmap, the
window update will attach the new buffer.
The second and third patches are to support dri3 (on render-nodes too).
wlglamor has been updated to drop the DRI2 code (which had the major flaw
that we had to keep the pci_ids, taken from Mesa sources, to get the driver
name for dri2 initialization.), and to implement DRI3.
The fourth patch is an updated version of my patches I had posted long
ago to improve DRI2 support. Now they are designed to work for Present
The code to support Present for XWayland (using this API) is not finished
Axel Davy (4):
Move the wl_buffer from xwl_window to xwl_pixmap
Add support to render-nodes.
Add function to get new fd of the graphic device
Add XWayland API with Present support in mind.
hw/xfree86/xwayland/Makefile.am | 1 +
hw/xfree86/xwayland/drm.xml | 45 ++++++-
hw/xfree86/xwayland/xwayland-drm.c | 148 +++++++++++++++++++----
hw/xfree86/xwayland/xwayland-events.c | 210 +++++++++++++++++++++++++++++++++
hw/xfree86/xwayland/xwayland-private.h | 19 ++-
hw/xfree86/xwayland/xwayland-window.c | 92 ++++++++++++---
hw/xfree86/xwayland/xwayland.c | 38 ++++--
hw/xfree86/xwayland/xwayland.h | 24 ++++
8 files changed, 525 insertions(+), 52 deletions(-)
create mode 100644 hw/xfree86/xwayland/xwayland-events.c
More information about the wayland-devel