mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-01-14 19:30:25 +01:00
schedule_frame is only called when the client has submitted damage and a new frame should be rendered immediately. schedule_frame is not called when the capture client is waiting for the next frame but hasn't submitted damage. Sources implementing a rendering loop based on the capture rate need to know when a capture client is ready to accept a new frame. Such sources want to trigger a redraw if and only if (1) they are dirty (their contents have changed) and (2) the capture client is ready to accept a new frame. Replace schedule_frame with request_frame, triggered each time a client sends a capture request. A flag indicates whether the capture client has submitted damage. |
||
|---|---|---|
| .. | ||
| wlr_buffer.h | ||
| wlr_ext_image_capture_source_v1.h | ||
| wlr_keyboard.h | ||
| wlr_output.h | ||
| wlr_pointer.h | ||
| wlr_switch.h | ||
| wlr_tablet_pad.h | ||
| wlr_tablet_tool.h | ||
| wlr_touch.h | ||