2017-05-02 18:13:17 +12:00
|
|
|
#ifndef WLR_BACKEND_DRM_H
|
|
|
|
|
#define WLR_BACKEND_DRM_H
|
|
|
|
|
|
|
|
|
|
#include <wayland-server.h>
|
2017-05-03 16:23:07 +12:00
|
|
|
#include <wlr/session.h>
|
2017-05-07 10:00:23 -04:00
|
|
|
#include <wlr/backend.h>
|
2017-05-03 22:40:19 +12:00
|
|
|
#include <xf86drmMode.h> // drmModeModeInfo
|
2017-05-07 12:26:48 -04:00
|
|
|
#include <wlr/wayland.h>
|
2017-05-03 22:40:19 +12:00
|
|
|
|
2017-05-07 10:00:23 -04:00
|
|
|
struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
|
|
|
|
|
struct wlr_session *session);
|
2017-05-02 18:13:17 +12:00
|
|
|
|
2017-05-13 20:37:15 +12:00
|
|
|
void wlr_drm_backend_dpms(struct wlr_backend *backend, bool screen_on);
|
|
|
|
|
|
2017-05-02 18:13:17 +12:00
|
|
|
#endif
|