Mir

mir:implement-wl_shm

Last commit made on 2022-12-08
Get this branch:
git clone -b implement-wl_shm https://git.launchpad.net/mir

Branch merges

Branch information

Name:
implement-wl_shm
Repository:
lp:mir

Recent commits

1965757... by MichaƂ Sawicz

wlcs: bring client_lies_about_buffer_size back

069f576... by Chris Halse Rogers

mg::common::Shm: Really ensure we send `on_consumed` notifications

8a9a22c... by Chris Halse Rogers

frontend_wayland: Fix finding drm_fourcc.h

There are several copies of `drm_fourcc.h` lying around; one from
the kernel tree in linux-libc-dev at `drm/drm_fourcc.h`, one from
libdrm-dev at `libdrm/drm_fourcc.h`.

At least on our Alpine build only the libdrm version is available,
and we already depend on libdrm, so set the appropriate include
paths to include *that* version.

036099b... by Chris Halse Rogers

platform/common: Drop buffer_from_wl_shm.

This whole complicated mess is no longer necessary now that we
have our own `wayland::Shm` implementation.

dd05b80... by Chris Halse Rogers

frontend_wayland/Shm: Generate protocol error on unspported SHM format.

Currently we *only* support the 2 mandatory SHM formats, but expanding that
can be a project for later!

7e49f02... by Chris Halse Rogers

frontend_wayland/Shm: Generate correct protocol error on (some) incorrect `create_buffer` stride

41259c3... by Chris Halse Rogers

frontend_wayland/Shm: Generate correct protocol error on invalid `create_buffer` size

cebcec8... by Chris Halse Rogers

platform(s): Hook up WlShm to the frontend and platforms.

This replaces libwayland's wl_init_shm with our own implementation and simplifies
SHM buffer handling - particularly when the `wl_buffer` is destroyed before use.

b7f19e7... by Chris Halse Rogers

rpi-dispmanx: Fix some formatting

75a8686... by Chris Halse Rogers

frontend_wayland: Add Shm implementation