|
|
@ -1766,6 +1766,9 @@ bool wlr_scene_output_build_state(struct wlr_scene_output *scene_output,
|
|
|
|
struct render_list_entry *list_data = list_con.render_list->data;
|
|
|
|
struct render_list_entry *list_data = list_con.render_list->data;
|
|
|
|
int list_len = list_con.render_list->size / sizeof(*list_data);
|
|
|
|
int list_len = list_con.render_list->size / sizeof(*list_data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wlr_damage_ring_set_bounds(&scene_output->damage_ring,
|
|
|
|
|
|
|
|
render_data.trans_width, render_data.trans_height);
|
|
|
|
|
|
|
|
|
|
|
|
if (debug_damage == WLR_SCENE_DEBUG_DAMAGE_RERENDER) {
|
|
|
|
if (debug_damage == WLR_SCENE_DEBUG_DAMAGE_RERENDER) {
|
|
|
|
wlr_damage_ring_add_whole(&scene_output->damage_ring);
|
|
|
|
wlr_damage_ring_add_whole(&scene_output->damage_ring);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1830,9 +1833,6 @@ bool wlr_scene_output_build_state(struct wlr_scene_output *scene_output,
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
wlr_damage_ring_set_bounds(&scene_output->damage_ring,
|
|
|
|
|
|
|
|
render_data.trans_width, render_data.trans_height);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct wlr_swapchain *swapchain = options->swapchain;
|
|
|
|
struct wlr_swapchain *swapchain = options->swapchain;
|
|
|
|
if (!swapchain) {
|
|
|
|
if (!swapchain) {
|
|
|
|
if (!wlr_output_configure_primary_swapchain(output, state, &output->swapchain)) {
|
|
|
|
if (!wlr_output_configure_primary_swapchain(output, state, &output->swapchain)) {
|
|
|
|