mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-01-16 19:20:22 +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. |
||
|---|---|---|
| .. | ||
| backend | ||
| interfaces | ||
| render | ||
| types | ||
| util | ||
| wlr | ||
| xcursor | ||
| xwayland | ||
| meson.build | ||