forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on f2ce84b243e4eae837a97a146fe1d8fcf0e512caFiltered to src/render_helpers/offscreen.rsClear filter

2024-05-16

Update Smithay and other depsIvan Molodetskikh · ae63773Browse files

2024-04-09

Update SmithayIvan Molodetskikh · 7e0d3d3Browse files

2024-03-08

Implement wlr-screencopy v1 (#243)sodiboo · Unverifiedca22e70
Implement wlr-screencopy v1 (#243)

* 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>

2024-02-18

2024-02-07