mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 21:02:14 +00:00
d43150573e
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> |
||
---|---|---|
.. | ||
backends | ||
compositor | ||
core | ||
meta | ||
tests | ||
ui | ||
wayland | ||
x11 | ||
libmutter.pc.in | ||
meson.build | ||
meta-private-enum-types.c.in | ||
meta-private-enum-types.h.in |