aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Alexander Orzechowski <alex@ozal.ski>2023-03-03 21:13:56 -0500
committerLibravatar Kirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commit869baff25221e1a1881e9559453faa43f90da33e (patch)
tree732c0c4cb4ea0efcaf407fd7e3766c767d057f45 /include
parentseat: Remove dead seatop_render function (diff)
downloadsway-869baff25221e1a1881e9559453faa43f90da33e.tar.gz
sway-869baff25221e1a1881e9559453faa43f90da33e.tar.zst
sway-869baff25221e1a1881e9559453faa43f90da33e.zip
renderer: Remove in favor of scene_graph
Diffstat (limited to 'include')
-rw-r--r--include/sway/output.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 8405f78d..d353ce61 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -78,14 +78,6 @@ struct sway_output_non_desktop {
78 struct wl_listener destroy; 78 struct wl_listener destroy;
79}; 79};
80 80
81struct render_context {
82 struct sway_output *output;
83 struct wlr_renderer *renderer;
84 const pixman_region32_t *output_damage;
85
86 struct wlr_render_pass *pass;
87};
88
89struct sway_output *output_create(struct wlr_output *wlr_output); 81struct sway_output *output_create(struct wlr_output *wlr_output);
90 82
91void output_destroy(struct sway_output *output); 83void output_destroy(struct sway_output *output);
@@ -136,8 +128,6 @@ bool output_has_opaque_overlay_layer_surface(struct sway_output *output);
136 128
137struct sway_workspace *output_get_active_workspace(struct sway_output *output); 129struct sway_workspace *output_get_active_workspace(struct sway_output *output);
138 130
139void output_render(struct render_context *ctx);
140
141void output_surface_for_each_surface(struct sway_output *output, 131void output_surface_for_each_surface(struct sway_output *output,
142 struct wlr_surface *surface, double ox, double oy, 132 struct wlr_surface *surface, double ox, double oy,
143 sway_surface_iterator_func_t iterator, void *user_data); 133 sway_surface_iterator_func_t iterator, void *user_data);
@@ -185,11 +175,6 @@ void output_get_box(struct sway_output *output, struct wlr_box *box);
185enum sway_container_layout output_get_default_layout( 175enum sway_container_layout output_get_default_layout(
186 struct sway_output *output); 176 struct sway_output *output);
187 177
188void render_rect(struct render_context *ctx, const struct wlr_box *_box,
189 float color[static 4]);
190
191void premultiply_alpha(float color[4], float opacity);
192
193void scale_box(struct wlr_box *box, float scale); 178void scale_box(struct wlr_box *box, float scale);
194 179
195enum wlr_direction opposite_direction(enum wlr_direction d); 180enum wlr_direction opposite_direction(enum wlr_direction d);