diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/backend.h | 8 | ||||
-rw-r--r-- | include/wlr/backend/interface.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/backend/backend.h b/include/backend/backend.h new file mode 100644 index 00000000..f920cc9f --- /dev/null +++ b/include/backend/backend.h @@ -0,0 +1,8 @@ +#ifndef BACKEND_H +#define BACKEND_H + +#include <wlr/backend.h> + +int backend_get_drm_fd(struct wlr_backend *backend); + +#endif diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h index 8782ae0b..3426bb45 100644 --- a/include/wlr/backend/interface.h +++ b/include/wlr/backend/interface.h @@ -19,6 +19,7 @@ struct wlr_backend_impl { struct wlr_renderer *(*get_renderer)(struct wlr_backend *backend); struct wlr_session *(*get_session)(struct wlr_backend *backend); clockid_t (*get_presentation_clock)(struct wlr_backend *backend); + int (*get_drm_fd)(struct wlr_backend *backend); }; /** |