backend/drm: add basic support for direct scan-out

This commit is contained in:
emersion 2019-03-29 21:27:12 +02:00 committed by Drew DeVault
parent 3dec88e455
commit 96d6fde5dc
7 changed files with 105 additions and 7 deletions

View file

@ -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,