diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-12-01 13:18:53 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2024-03-11 18:15:47 +0200 |
commit | 5921beed9208e15fa45c4bb719f667cdd50cd94c (patch) | |
tree | d7832a75a2d3654012d92caf8106ec3587576f25 /meson.build | |
parent | 9da16115b66545cd458729af23a690e907bd9094 (diff) |
meson.build, src: update for weston 11
Bump Weston library dependencies to work with Weston 11.0.0.
The following changes are needed to port the compositor to the
latest changes from libweston 11.
Specifically we now use weston_surface_unref() instead of
weston_surface_destroy(). The weston_head parameter is now needed
when creating an output in weston_compositor_create_output().
We now use weston_buffer_create_solid_rgba() instead of
weston_surface_set_color() to create our black curtain. A further
upstream updates has been added to include some of the shell-utils
wrapper but we'll get those in the next release of libweston.
Finally, in order to attach heads and enable the outputs, we need to
start from 1, rather than 0, and we now need lazy output placement for
multiple outputs, following basically what weston is doing.
Bug-AGL: SPEC-4578
Bug-AGL: SPEC-4617
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie4aa7bc09b99d85b6bda49437c5f4789012244e1
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 65a55d6..55b68cb 100644 --- a/meson.build +++ b/meson.build @@ -11,7 +11,7 @@ project('agl-compositor', ) config_h = configuration_data() -libweston_version = 'libweston-10' +libweston_version = 'libweston-11' pkgconfig = import('pkgconfig') fs = import('fs') @@ -123,7 +123,7 @@ deps_libweston = [ dependency('wayland-server'), dependency('weston'), libweston_dep, - dependency('libweston-desktop-10'), + dependency('libweston-desktop-11'), ] |