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

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

struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
	struct wlr_session *session);

void wlr_drm_backend_dpms(struct wlr_backend *backend, bool screen_on);

#endif