cosmic-comp/src
Ian Douglas Scott f86cd933d4 kms/surface: Call cleanup_texture_cache for each device at end of draw
Fixes an issue where a dual GPU system would keep allocating dGPU PBOs in
`cpu_copy()` every frame, but `cleanup()` was not being called, since the
surface thread for the builtin output was rendered on the
primary/integrated GPU, targeting the same GPU.

Even if a different monitor was compositing on the dGPU, That wouldn't
help since that thread has it's own `GpuManager` with it's own renderer
and cache.

Running cleanup at the end (or start) of each frame seems like a good
idea. Not sure if it would be best to avoid additional calls, or if
that's desirable/fine.
2025-06-02 18:58:49 +02:00
..
backend kms/surface: Call cleanup_texture_cache for each device at end of draw 2025-06-02 18:58:49 +02:00
config shell: Using parking_lot's RwLock for fairness guarantees 2025-05-27 20:00:21 +02:00
dbus Update to zbus 5.x 2025-05-23 19:24:52 +02:00
input debug: More profiling annotations 2025-05-27 20:00:21 +02:00
logger log: Calloop is very chatty 2023-03-09 19:24:00 +01:00
shell wayland/decorations: Fix xdg-decoration state always shadowing kde-decorations 2025-05-30 17:28:51 +02:00
utils kms: Allow updating the primary node 2025-05-27 20:00:21 +02:00
wayland xwayland: Delay selection notify until focused 2025-05-30 18:32:24 +02:00
debug.rs chore: smithay update 2025-03-12 16:50:58 +01:00
main.rs shell: Using parking_lot's RwLock for fairness guarantees 2025-05-27 20:00:21 +02:00
session.rs Update smithay 2024-05-10 13:51:28 +02:00
state.rs debug: More profiling annotations 2025-05-27 20:00:21 +02:00
systemd.rs Update smithay 2024-05-10 13:51:28 +02:00
theme.rs shell: Using parking_lot's RwLock for fairness guarantees 2025-05-27 20:00:21 +02:00
xwayland.rs xwayland: Delay selection notify until focused 2025-05-30 18:32:24 +02:00