From cb857e32e4295822fad39ebf5d9c650f6ead95aa Mon Sep 17 00:00:00 2001 From: Christian Meissl Date: Thu, 17 Apr 2025 13:54:17 +0200 Subject: Bump Smithay and others Presentation subsurface fix, popup unconstrain resize fix, cursor shape fix, refactors. --- src/backend/tty.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/backend') diff --git a/src/backend/tty.rs b/src/backend/tty.rs index cbb8c8c0..363526d4 100644 --- a/src/backend/tty.rs +++ b/src/backend/tty.rs @@ -19,6 +19,7 @@ use smithay::backend::allocator::format::FormatSet; use smithay::backend::allocator::gbm::{GbmAllocator, GbmBufferFlags, GbmDevice}; use smithay::backend::allocator::Fourcc; use smithay::backend::drm::compositor::{DrmCompositor, FrameFlags, PrimaryPlaneElement}; +use smithay::backend::drm::exporter::gbm::GbmFramebufferExporter; use smithay::backend::drm::{ DrmDevice, DrmDeviceFd, DrmEvent, DrmEventMetadata, DrmEventTime, DrmNode, NodeType, VrrSupport, }; @@ -114,7 +115,7 @@ pub type TtyRendererError<'render> = as RendererSuper>::Er type GbmDrmCompositor = DrmCompositor< GbmAllocator, - GbmDevice, + GbmFramebufferExporter, (OutputPresentationFeedback, Duration), DrmDeviceFd, >; @@ -971,7 +972,7 @@ impl Tty { surface, None, allocator.clone(), - device.gbm.clone(), + GbmFramebufferExporter::new(device.gbm.clone()), SUPPORTED_COLOR_FORMATS, // This is only used to pick a good internal format, so it can use the surface's render // formats, even though we only ever render on the primary GPU. @@ -1001,7 +1002,7 @@ impl Tty { surface, None, allocator, - device.gbm.clone(), + GbmFramebufferExporter::new(device.gbm.clone()), SUPPORTED_COLOR_FORMATS, render_formats, device.drm.cursor_size(), -- cgit