mutter/src
Michel Dänzer d43150573e wayland/dma-buf: Add meta_wayland_dma_buf_create_source
Creates a GSource which will call the specified dispatch callback when
all dma-buf file descriptors for the buffer have become readable.

v2:
* Hold a reference to the buffer in the source, to prevent the buffer
  from getting destroyed before the source.
v3:
* Do not use check callback, handle everything in dispatch callback.
  (Dor Askayo)
v4: (Georges Basile Stavracas Neto)
* Define and use MetaWaylandDmaBufSource & MetaWaylandDmaBufSourceDispatch
  types.
* Fix meta_wayland_dma_buf_source_dispatch &
  meta_wayland_dma_buf_source_funcs formatting.
* Use gpointer instead of void*.
* Rename meta_wayland_dma_buf_get_source to
  meta_wayland_dma_buf_create_source. (Carlos Garnacho)
v5:
* Explicitly handle NULL return value. (Jonas Ådahl)
v6:
* Fix style issue per check-style.py.
v7:
* Fix code style harder. (Jonas Ådahl)

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1880>
2022-12-01 09:40:38 +01:00
..
backends context: Add 'started' and 'prepare-shutdown' signals 2022-11-25 10:26:52 +00:00
compositor plugin-manager: Don't try to starte effect when shutting down 2022-11-25 10:26:52 +00:00
core context: Add 'started' and 'prepare-shutdown' signals 2022-11-25 10:26:52 +00:00
meta barrier: Make type derivable again 2022-09-15 12:27:52 +00:00
tests tests/clutter/conform: Add a test for event delivery 2022-11-22 20:31:42 +00:00
ui frames: Add basic color-scheme support 2022-07-29 13:19:23 +00:00
wayland wayland/dma-buf: Add meta_wayland_dma_buf_create_source 2022-12-01 09:40:38 +01:00
x11 x11-display: Use autoptr during construction 2022-11-24 12:25:29 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build build: Replace deprecated meson functions 2022-11-19 02:21:05 +01:00
meta-private-enum-types.c.in build: Add missing include 2022-08-10 20:28:40 +02:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00