aboutsummaryrefslogtreecommitdiff
path: root/include/backend/wayland.h
diff options
context:
space:
mode:
authornyorain <nyorain@gmail.com>2017-06-20 18:27:05 +0200
committernyorain <nyorain@gmail.com>2017-06-20 18:27:05 +0200
commit50ce35e9da4e2604b0adb15703cfcd87204472e5 (patch)
tree5a4a3bf7d99c28b1ec4550a6531cb4363f807418 /include/backend/wayland.h
parent62b1421635581fbffc50eac680bb5a5d7a0b8535 (diff)
Implement wayland backend output
Diffstat (limited to 'include/backend/wayland.h')
-rw-r--r--include/backend/wayland.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index 4cad565d..d2f1fb1d 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -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;
};