diff options
| author | Christian Meissl <meissl.christian@gmail.com> | 2025-04-17 13:54:17 +0200 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-04-29 08:53:25 +0300 |
| commit | cb857e32e4295822fad39ebf5d9c650f6ead95aa (patch) | |
| tree | 5fcc0ee71276dcde1ab70ec1521a8dbe0d8dab70 /src/backend | |
| parent | 199be26947a7aea9c8a36d05d6c49978a3880da2 (diff) | |
| download | niri-cb857e32e4295822fad39ebf5d9c650f6ead95aa.tar.gz niri-cb857e32e4295822fad39ebf5d9c650f6ead95aa.tar.bz2 niri-cb857e32e4295822fad39ebf5d9c650f6ead95aa.zip | |
Bump Smithay and others
Presentation subsurface fix, popup unconstrain resize fix, cursor shape fix, refactors.
Diffstat (limited to 'src/backend')
| -rw-r--r-- | src/backend/tty.rs | 7 |
1 files changed, 4 insertions, 3 deletions
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> = <TtyRenderer<'render> as RendererSuper>::Er type GbmDrmCompositor = DrmCompositor< GbmAllocator<DrmDeviceFd>, - GbmDevice<DrmDeviceFd>, + GbmFramebufferExporter<DrmDeviceFd>, (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(), |
