aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/drm.h
blob: fe1cc5a7f2d8140af85ffa4c6c7a61e60c3cd88f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef WLR_BACKEND_DRM_H
#define WLR_BACKEND_DRM_H

#include <wayland-server.h>
#include <wlr/backend/session.h>
#include <wlr/backend.h>
#include <wlr/backend/udev.h>

struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
		struct wlr_session *session, struct wlr_udev *udev, int gpu_fd);

bool wlr_backend_is_drm(struct wlr_backend *backend);

#endif