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 <leandrohr@riseup.net>
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);
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 */
}
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);