wlr_scene: Don't cull the entire output when entering direct scanout

We don't need to.
Alexander Orzechowski 2 years ago committed by Kirill Primak
parent 5477ad7d90
commit fe21fc6920

@ -1504,8 +1504,10 @@ bool wlr_scene_output_commit(struct wlr_scene_output *scene_output) {
scene_output->prev_scanout = scanout; scene_output->prev_scanout = scanout;
wlr_log(WLR_DEBUG, "Direct scan-out %s", wlr_log(WLR_DEBUG, "Direct scan-out %s",
scanout ? "enabled" : "disabled"); scanout ? "enabled" : "disabled");
// When exiting direct scan-out, damage everything if (!scanout) {
wlr_damage_ring_add_whole(&scene_output->damage_ring); // When exiting direct scan-out, damage everything
wlr_damage_ring_add_whole(&scene_output->damage_ring);
}
} }
if (scanout) { if (scanout) {

Loading…
Cancel
Save