Fix fractional-scale capture sizing and release idle capture caches

This commit is contained in:
Samuel Onoja committed 2026-10-14 13:16:24 +01:00
1 parent 07a8e50f47
commit a5e8ba65e2
5 files changed
+60 -7

No files matched your search

+4
View File
@@ -440,6 +440,8 @@ pub struct Ferese {
pub(crate) windows: WindowRegistry<Window>,
pub(crate) render: crate::render::RenderResources,
pub(crate) capture_render: crate::render::RenderResources,
pub(crate) capture_last_used: Option<Instant>,
pub(crate) nested_capture_texture: Option<smithay::backend::renderer::gles::GlesTexture>,
pub(crate) capture_epoch: u64,
capture_protected_windows: HashSet<WindowId>,
capture_protected_cursor: Option<WlSurface>,
@@ -742,6 +744,8 @@ impl Ferese {
windows: WindowRegistry::default(),
render: Default::default(),
capture_render: Default::default(),
capture_last_used: None,
nested_capture_texture: None,
capture_epoch: 0,
capture_protected_windows: HashSet::new(),
capture_protected_cursor: None,