No description
Find a file
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
.github/workflows .github/workflows/build.yml: Pass +stable to cargo 2025-05-19 21:29:51 +02:00
cosmic-comp-config Initial support for workspace pinning and moving 2025-04-24 12:45:50 +02:00
data Fix display vim bindings (j and k were swapped) 2025-05-09 08:47:03 -06:00
debian chore: Add libdisplay-info dependency for packaging 2025-01-06 20:23:05 +01:00
resources i18n(zh-CN): update translation 2025-05-19 21:52:09 +02:00
src kms/surface: Call cleanup_texture_cache for each device at end of draw 2025-06-02 18:58:49 +02:00
.gitignore Rework source filtering. 2023-01-04 01:52:16 -08:00
build.rs deps: Update to wayland-rs.0.30 2022-07-04 16:01:06 +02:00
Cargo.lock shell: Using parking_lot's RwLock for fairness guarantees 2025-05-27 20:00:21 +02:00
Cargo.toml shell: Using parking_lot's RwLock for fairness guarantees 2025-05-27 20:00:21 +02:00
flake.lock Update and fix flake.nix 2024-09-02 19:44:51 +02:00
flake.nix fix: add missing libdisplay-info library into flake.nix 2025-01-12 13:09:03 +01:00
i18n.toml i18n support 2023-07-06 00:04:34 +02:00
LICENSE Initial commit 2021-12-15 17:25:15 +01:00
Makefile Use new config from cosmic-settings-config 2024-09-04 20:50:42 +02:00
rust-toolchain.toml Update toolchain to Rust 1.85 2025-05-19 21:29:51 +02:00
rustfmt.toml Fix refresh_focus 2023-04-01 20:35:58 +04:00