aboutsummaryrefslogtreecommitdiff
path: root/src/protocols/screencopy.rs
AgeCommit message (Collapse)Author
2025-01-04Migrate to new Rectangle functionsIvan Molodetskikh
2024-08-08screencopy: Change integer to fractional scaleIvan Molodetskikh
That *was* wrong after all.
2024-08-08screencopy: Wait for SyncPoint before submittingIvan Molodetskikh
2024-08-08screencopy: Fix transformed damage calculationIvan Molodetskikh
2024-08-08screencopy: Clarify the use of integer scaleIvan Molodetskikh
2024-08-08screencopy: Use monotonic timeIvan Molodetskikh
This way it matches up with presentation-time.
2024-08-08feat: update screencopy to version 3Michael Yang
2024-05-20Fix no outputs case handling in a few placesIvan Molodetskikh
2024-03-08Implement wlr-screencopy v1 (#243)sodiboo
* Implement wlr-screencopy * Finish the implementation Lots of changes, mainly to fix transform handling. Turns out, grim expects transformed buffers and untransforms them by itself using info from wl_output. This means that render helpers needed to learn how to actually render transformed buffers. Also, it meant that y_invert is no longer needed. Next, moved the rendering to the Screencopy frame handler. Turns out, copy() is more or less expected to return immediately, whereas copy_with_damage() is expected to wait until the next VBlank. At least that's the intent I parse reading the protocol. Finally, brought the version from 3 down to 1, because copy_with_damage() will need bigger changes. Grim still works, others not really, mainly because they bind v3 unnecessarily, even if they don't use the damage request. --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>