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