2017-05-02 08:13:17 +02:00
|
|
|
#ifndef WLR_BACKEND_DRM_H
|
|
|
|
#define WLR_BACKEND_DRM_H
|
|
|
|
|
|
|
|
#include <wayland-server.h>
|
2017-05-03 06:23:07 +02:00
|
|
|
#include <wlr/session.h>
|
2017-05-02 08:13:17 +02:00
|
|
|
|
|
|
|
struct wlr_drm_backend;
|
2017-05-03 07:49:03 +02:00
|
|
|
struct wlr_drm_output;
|
2017-05-02 08:13:17 +02:00
|
|
|
|
2017-05-03 11:28:44 +02:00
|
|
|
struct wlr_drm_backend *wlr_drm_backend_init(struct wl_display *display,
|
|
|
|
struct wlr_session *session, struct wl_listener *add, struct wl_listener *rem,
|
|
|
|
struct wl_listener *render);
|
2017-05-02 08:13:17 +02:00
|
|
|
void wlr_drm_backend_free(struct wlr_drm_backend *backend);
|
|
|
|
|
2017-05-03 07:49:03 +02:00
|
|
|
bool wlr_drm_output_modeset(struct wlr_drm_output *out, const char *str);
|
|
|
|
void wlr_drm_output_begin(struct wlr_drm_output *out);
|
|
|
|
void wlr_drm_output_end(struct wlr_drm_output *out);
|
2017-05-02 08:13:17 +02:00
|
|
|
|
|
|
|
#endif
|