6c66148faf
The Wayland server API has changed so that wl_shm_buffer is no longer a type of wl_buffer and wl_buffer will become an opaque type. This changes ClutterWaylandSurface to accept resources for a wl_buffer instead of directly taking the wl_buffer so that it can do different things depending on whether the resource points to an SHM buffer or a normal buffer. This matches similar changes to Cogl: https://git.gnome.org/browse/cogl/commit/?id=9b35e1651ad0e46ed48989 https://bugzilla.gnome.org/show_bug.cgi?id=703608