From 96d6fde5dc7ed2e9897297ed459246cb4133a30f Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 29 Mar 2019 21:27:12 +0200 Subject: backend/drm: add basic support for direct scan-out --- include/wlr/interfaces/wlr_output.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/wlr/interfaces') diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index 9c6f4aa5..a70c86e6 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -34,6 +34,8 @@ struct wlr_output_impl { bool (*export_dmabuf)(struct wlr_output *output, struct wlr_dmabuf_attributes *attribs); bool (*schedule_frame)(struct wlr_output *output); + bool (*set_dmabuf)(struct wlr_output *output, + struct wlr_dmabuf_attributes *attribs); }; void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend, -- cgit v1.2.3