mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
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:
parent
d560a30adc
commit
411a3e6a6e
2 changed files with 2 additions and 17 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue