Implement wayland backend output

This commit is contained in:
nyorain 2017-06-20 18:27:05 +02:00
parent 62b1421635
commit 50ce35e9da
3 changed files with 117 additions and 4 deletions

View file

@ -23,6 +23,8 @@ struct wlr_backend_state {
struct wlr_backend *backend;
list_t *devices;
struct wl_event_source* remote_display_src;
size_t num_outputs;
struct wlr_output **outputs;
struct wlr_egl egl;
@ -30,10 +32,14 @@ struct wlr_backend_state {
struct wlr_output_state {
size_t id;
unsigned int width;
unsigned int height;
struct wlr_backend_state *backend;
struct wlr_output *output;
struct wl_surface *surface;
struct wl_shell_surface *shell_surface;
struct wl_egl_window* egl_window;
struct wl_callback* frame_callback;
void* egl_surface;
};