diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-05-10 10:37:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 10:37:29 -0400 |
commit | c436e76240ab190a07afcd961ca2dd279af72968 (patch) | |
tree | aab4f835e5341cd44b5937e0cd0dbb012c2369e8 /include/wlr/backend | |
parent | 1aed98730194aa80b5954ae1d6370162041b56e2 (diff) | |
parent | 42878b45a1dba582feb5ec75762d66ede51fdc98 (diff) |
Merge pull request #2 from ascent12/master
DRM backend + Session interface + EGL
Diffstat (limited to 'include/wlr/backend')
-rw-r--r-- | include/wlr/backend/drm.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h new file mode 100644 index 00000000..2d9bf879 --- /dev/null +++ b/include/wlr/backend/drm.h @@ -0,0 +1,16 @@ +#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_output_begin(struct wlr_output *out); +void wlr_drm_output_end(struct wlr_output *out); + +#endif |