mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
wayland/dmabuf: Bump protocol version to 5
It adds the following clarification: ``` Starting from version 5, the invalid_format protocol error is sent if all planes don't use the same modifier. ``` We already send an error, just the wrong one. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3450>
This commit is contained in:
parent
8b1015a5c7
commit
c19eef3f5e
@ -713,7 +713,7 @@ buffer_params_add (struct wl_client *client,
|
||||
dma_buf->drm_modifier != drm_modifier)
|
||||
{
|
||||
wl_resource_post_error (resource,
|
||||
ZWP_LINUX_BUFFER_PARAMS_V1_ERROR_INVALID_WL_BUFFER,
|
||||
ZWP_LINUX_BUFFER_PARAMS_V1_ERROR_INVALID_FORMAT,
|
||||
"mismatching modifier between planes");
|
||||
return;
|
||||
}
|
||||
@ -1843,7 +1843,7 @@ meta_wayland_dma_buf_manager_new (MetaWaylandCompositor *compositor,
|
||||
|
||||
device_id = device_stat.st_rdev;
|
||||
|
||||
protocol_version = 4;
|
||||
protocol_version = 5;
|
||||
|
||||
initialize:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user