aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-03-29 21:27:12 +0200
committerDrew DeVault <sir@cmpwn.com>2019-06-07 09:06:11 -0400
commit96d6fde5dc7ed2e9897297ed459246cb4133a30f (patch)
tree4fc1281fc454b854084cf1d3c973b56d48efb80f /include/wlr/interfaces
parent3dec88e4555ee5fd95ffd69133623816cb0c25c4 (diff)
backend/drm: add basic support for direct scan-out
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_output.h2
1 files changed, 2 insertions, 0 deletions
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,