scene: Deprecate wlr_scene_output_needs_frame

Previously, needs_frame was only set specifically when a non-damaging
update was required, and would only be cleared when the backend
committed the frame.

Under the new frame scheduler, needs_frame is always set when a frame is
scheduled, with effectively a single scheduling path for all change
sources, and needs_frame must have been true for a frame to be emitted.

Drop wlr_scene_output_needs_frame to make it clear that such a check is
no longer meaningful.
This commit is contained in:
Kenny Levinsen 2026-04-06 23:19:20 +02:00
parent d560a30adc
commit 411a3e6a6e
2 changed files with 2 additions and 17 deletions

View file

@ -617,12 +617,6 @@ struct wlr_scene_output_state_options {
struct wlr_swapchain *swapchain;
};
/**
* Returns true if scene wants to render a new frame. False, if no new frame
* is needed and an output commit can be skipped for the current frame.
*/
bool wlr_scene_output_needs_frame(struct wlr_scene_output *scene_output);
/**
* Render and commit an output.
*/