Ian Douglas Scott
13b565e013
Add a ScreencopySession type
...
Allows cleaning up some of the relationship between `screencopy.rs` and
`capture.rs`, and groups variables that go together and are set to `Some`/`None`
together.
Should help for adding double buffering.
2024-01-25 15:44:30 -08:00
Ian Douglas Scott
43e9ef390a
Move attach_buffer_and_commit
2024-01-24 16:07:00 -08:00
Ian Douglas Scott
6f1b391b00
Destroy screencopy session when not capturing
2024-01-24 15:59:18 -08:00
Ian Douglas Scott
b958a13b88
Remove outdated comment
2024-01-24 15:30:41 -08:00
Ian Douglas Scott
14d2a66c9d
Re-use screencopy session instead of creating one each frame
2024-01-24 15:29:03 -08:00
Ian Douglas Scott
5269356089
Use Weak<Capture> in session state
2024-01-24 13:59:18 -08:00
Ashley Wulber
791441ca10
refactor: single instance
2023-11-21 19:26:12 -05:00
Ian Douglas Scott
96389fa999
Remove manual Hash impl
...
Added support for this to wayland-rs.
2023-11-16 13:38:37 -08:00
Ian Douglas Scott
9598a9f8e4
Use WlOutput instead of output names for matching
...
With a shared wayland connection between the code here and iced, if we
don't bind outputs outselves, we can have `WlOutput`s that match.
This simplifies things.
2023-11-08 13:59:53 -08:00
Ian Douglas Scott
b5931cd240
Initial support for filtering what to capture to only what's needed
2023-02-10 10:12:26 -08:00
Ian Douglas Scott
b29f1149a4
Split up wayland code into more files
2023-02-09 16:04:36 -08:00