output: change set_dmabuf to attach_buffer

This commit is contained in:
Simon Ser 2019-04-29 22:04:18 +03:00 committed by Drew DeVault
parent 493804e421
commit 1d222309b8
4 changed files with 27 additions and 21 deletions

View file

@ -34,8 +34,7 @@ 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);
bool (*attach_buffer)(struct wlr_output *output, struct wlr_buffer *buffer);
};
void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend,