aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/output.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-03-02 12:12:10 +0100
committerDrew DeVault <sir@cmpwn.com>2019-03-02 09:37:05 -0700
commitc2178d51a8af8bc70e4cf468ee4796ff2a9224fc (patch)
tree91659d5c735e58a2cff00a60ebac6ced86c63770 /include/rootston/output.h
parent242e9e3bf00fa0eaca631be19b54d11493bdeaa8 (diff)
rootston: split rendering code into render.c
Diffstat (limited to 'include/rootston/output.h')
-rw-r--r--include/rootston/output.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/rootston/output.h b/include/rootston/output.h
index 60648f75..687df3ac 100644
--- a/include/rootston/output.h
+++ b/include/rootston/output.h
@@ -47,6 +47,15 @@ void output_view_for_each_surface(struct roots_output *output,
void output_drag_icons_for_each_surface(struct roots_output *output,
struct roots_input *input, roots_surface_iterator_func_t iterator,
void *user_data);
+void output_layer_for_each_surface(struct roots_output *output,
+ struct wl_list *layer_surfaces, roots_surface_iterator_func_t iterator,
+ void *user_data);
+#if WLR_HAS_XWAYLAND
+struct wlr_xwayland_surface;
+void output_xwayland_children_for_each_surface(
+ struct roots_output *output, struct wlr_xwayland_surface *surface,
+ roots_surface_iterator_func_t iterator, void *user_data);
+#endif
void output_for_each_surface(struct roots_output *output,
roots_surface_iterator_func_t iterator, void *user_data);
@@ -67,4 +76,10 @@ void output_damage_from_local_surface(struct roots_output *output,
void output_damage_whole_local_surface(struct roots_output *output,
struct wlr_surface *surface, double ox, double oy);
+void output_render(struct roots_output *output);
+
+void scale_box(struct wlr_box *box, float scale);
+void get_decoration_box(struct roots_view *view,
+ struct roots_output *output, struct wlr_box *box);
+
#endif