fix features

This commit is contained in:
galister
2026-01-09 20:27:20 +09:00
parent eb69ec8fe3
commit c799ecea93
12 changed files with 52 additions and 380 deletions
+1 -10
View File
@@ -20,19 +20,10 @@ use smithay_client_toolkit::reexports::protocols_wlr::screencopy::v1::client::zw
use crate::{
WlxCapture,
frame::{FrameFormat, FramePlane, MemFdFrame, WlxFrame},
frame::{DmaExporter, FrameFormat, FramePlane, MemFdFrame, WlxFrame},
wayland::WlxClient,
};
pub trait DmaExporter {
fn next_frame(
&mut self,
width: u32,
height: u32,
fourcc: DrmFourcc,
) -> Option<(FramePlane, DrmModifier)>;
}
enum BufData {
Shm {
wl_buffer: WlBuffer,