diff options
author | Simon Ser <contact@emersion.fr> | 2021-11-05 12:49:32 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-11-08 15:57:19 +0000 |
commit | 76bab68e701bbdd1ed43e419b4c22a68e2a1db55 (patch) | |
tree | a42f5fa56583ee01344982813c15cbc49750b59b /include | |
parent | fa77aeb80e70fba09bb0f0d42045dfc6ce1ce1a9 (diff) |
output: drop wlr_output_export_dmabuf
Callers can access output->front_buffer instead.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_output.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 6c07372b..17f48311 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -14,7 +14,6 @@ #include <time.h> #include <wayland-server-protocol.h> #include <wayland-util.h> -#include <wlr/render/dmabuf.h> #include <wlr/types/wlr_buffer.h> #include <wlr/util/addon.h> @@ -402,13 +401,6 @@ size_t wlr_output_get_gamma_size(struct wlr_output *output); void wlr_output_set_gamma(struct wlr_output *output, size_t size, const uint16_t *r, const uint16_t *g, const uint16_t *b); /** - * Exports the last committed buffer as a DMA-BUF. - * - * The caller is responsible for cleaning up the DMA-BUF attributes. - */ -bool wlr_output_export_dmabuf(struct wlr_output *output, - struct wlr_dmabuf_attributes *attribs); -/** * Returns the wlr_output matching the provided wl_output resource. If the * resource isn't a wl_output, it aborts. If the resource is inert (because the * wlr_output has been destroyed), NULL is returned. |