wlroots-hyprland/include/wlr/backend/drm.h

19 lines
485 B
C
Raw Normal View History

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