mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-16 08:21:40 -04:00
output: drop wlr_output.needs_frame
The frame scheduler is responsible for de-duplicating needs_frame events.
This commit is contained in:
parent
0967873a20
commit
d99ee40a1d
3 changed files with 1 additions and 11 deletions
|
|
@ -2144,7 +2144,7 @@ static enum scene_direct_scanout_result scene_entry_try_direct_scanout(
|
|||
}
|
||||
|
||||
bool wlr_scene_output_needs_frame(struct wlr_scene_output *scene_output) {
|
||||
return scene_output->output->needs_frame ||
|
||||
return scene_output->frame_scheduler->needs_frame ||
|
||||
!pixman_region32_empty(&scene_output->pending_commit_damage) ||
|
||||
scene_output->gamma_lut_changed;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue