Initialize display, backend; add frame handling

This commit is contained in:
Drew DeVault 2017-09-23 00:29:53 -04:00
parent 550748681d
commit b6d7c3ed8e
9 changed files with 253 additions and 36 deletions

View file

@ -1,6 +1,7 @@
#ifndef _WLR_INTERNAL_BACKEND_WAYLAND_H
#define _WLR_INTERNAL_BACKEND_WAYLAND_H
#include <stdbool.h>
#include <wayland-client.h>
#include <wayland-server.h>
#include <wayland-egl.h>
@ -14,6 +15,7 @@ struct wlr_wl_backend {
struct wlr_backend backend;
/* local state */
bool started;
struct wl_display *local_display;
list_t *devices;
list_t *outputs;