Commit 2619bfe4 authored by Leandro Ribeiro's avatar Leandro Ribeiro

move frame_signal emission to weston_output_repaint()

In order to remove duplication and make the code easier to follow, move
frame_signal emission from renderers to weston_output_repaint(). This should
have no observable effect.
Signed-off-by: Leandro Ribeiro's avatarLeandro Ribeiro <leandrohr@riseup.net>
parent 9e7e7fac
......@@ -2723,6 +2723,7 @@ weston_output_repaint(struct weston_output *output, void *repaint_data)
weston_output_update_matrix(output);
r = output->repaint(output, &output_damage, repaint_data);
wl_signal_emit(&output->frame_signal, output);
pixman_region32_fini(&output_damage);
......
......@@ -580,7 +580,6 @@ pixman_renderer_repaint_output(struct weston_output *output,
pixman_region32_fini(&hw_damage);
pixman_region32_copy(&output->previous_damage, output_damage);
wl_signal_emit(&output->frame_signal, output);
/* Actual flip should be done by caller */
}
......
......@@ -1474,7 +1474,6 @@ gl_renderer_repaint_output(struct weston_output *output,
draw_output_borders(output, border_status);
pixman_region32_copy(&output->previous_damage, output_damage);
wl_signal_emit(&output->frame_signal, output);
go->end_render_sync = create_render_sync(gr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment