Ian Douglas Scott
355b142c52
When cosmic-workspaces is shown, render only layer-shell surfaces
...
This allows `cosmic-workspaces` to rely on cosmic-comp for rendering the
background, and just have transparency. This should be a more reliable
and performant way of doing things, at least for now.
Instead of adding another opaque bool argument, this defines an
`ElementFilter` enum, which makes calls more readable.
Window surfaces are still included in screencopy, as needed for the
workspace previews.
2024-07-15 17:12:05 +02:00
Ian Douglas Scott
11914e97ea
Use FromGlesError instead of OutputNoMode placeholder
2024-07-05 17:49:41 +02:00
Ian Douglas Scott
9f8fec6ec5
screencopy: Handle error from with_buffer_contents_mut
...
Fixes https://github.com/pop-os/cosmic-comp/issues/48 .
https://github.com/Smithay/smithay/pull/1475 fixes the segfault so this
instead produces an error. Then we need to handle the error here.
2024-07-05 17:49:41 +02:00
Victoria Brekenfeld
cc0bbb61e3
debug: Drop FPS struct for kms timings
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
469a366207
kms: New backend
...
New backend utilizing a thread per surface for precise frame
scheduling.
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
3b7bba3add
debug: Drop puffin, interactivity, renderdoc
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
cf0b0f9d2d
chore: Move some rendering-related state into the shell
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
aae16c49dc
screencopy: Make threadsafe
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
e78e199663
chore: Update smithay for thread-safety
2024-06-26 12:59:33 +02:00
Ian Douglas Scott
4f076e0753
Update smithay, with xwayland shell, Cow, etc.
2024-05-21 19:31:50 +02:00
Victoria Brekenfeld
5d5a510691
state: Move shell behind RwLock
2024-04-16 18:50:54 +02:00
Victoria Brekenfeld
647deb81f1
shell: Move seats into shell
2024-04-16 18:50:54 +02:00
Ian Douglas Scott
de544e1d31
Update smithay to latest commit
2024-04-09 11:26:36 +02:00
Victoria Brekenfeld
b40d153809
cosmic-screencopy-v2
2024-03-25 16:55:31 +01:00