mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-24 02:01:18 +07:00
use ScanoutCandidate kind for surfaces
this allows to get direct scan-out on surfaces again
This commit is contained in:
committed by
Ivan Molodetskikh
parent
0044578681
commit
af9ce53310
+2
-2
@@ -195,7 +195,7 @@ impl MappedLayer {
|
|||||||
(buf_pos + offset.to_f64()).to_physical_precise_round(scale),
|
(buf_pos + offset.to_f64()).to_physical_precise_round(scale),
|
||||||
scale,
|
scale,
|
||||||
alpha,
|
alpha,
|
||||||
Kind::Unspecified,
|
Kind::ScanoutCandidate,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -205,7 +205,7 @@ impl MappedLayer {
|
|||||||
buf_pos.to_physical_precise_round(scale),
|
buf_pos.to_physical_precise_round(scale),
|
||||||
scale,
|
scale,
|
||||||
alpha,
|
alpha,
|
||||||
Kind::Unspecified,
|
Kind::ScanoutCandidate,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -3747,7 +3747,7 @@ impl Niri {
|
|||||||
pointer_pos,
|
pointer_pos,
|
||||||
output_scale,
|
output_scale,
|
||||||
1.,
|
1.,
|
||||||
Kind::Unspecified,
|
Kind::ScanoutCandidate,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4144,7 +4144,7 @@ impl Niri {
|
|||||||
(0, 0),
|
(0, 0),
|
||||||
output_scale,
|
output_scale,
|
||||||
1.,
|
1.,
|
||||||
Kind::Unspecified,
|
Kind::ScanoutCandidate,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -587,7 +587,7 @@ impl LayoutElement for Mapped {
|
|||||||
(buf_pos + offset.to_f64()).to_physical_precise_round(scale),
|
(buf_pos + offset.to_f64()).to_physical_precise_round(scale),
|
||||||
scale,
|
scale,
|
||||||
alpha,
|
alpha,
|
||||||
Kind::Unspecified,
|
Kind::ScanoutCandidate,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -597,7 +597,7 @@ impl LayoutElement for Mapped {
|
|||||||
buf_pos.to_physical_precise_round(scale),
|
buf_pos.to_physical_precise_round(scale),
|
||||||
scale,
|
scale,
|
||||||
alpha,
|
alpha,
|
||||||
Kind::Unspecified,
|
Kind::ScanoutCandidate,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -627,7 +627,7 @@ impl LayoutElement for Mapped {
|
|||||||
buf_pos.to_physical_precise_round(scale),
|
buf_pos.to_physical_precise_round(scale),
|
||||||
scale,
|
scale,
|
||||||
alpha,
|
alpha,
|
||||||
Kind::Unspecified,
|
Kind::ScanoutCandidate,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -656,7 +656,7 @@ impl LayoutElement for Mapped {
|
|||||||
(buf_pos + offset.to_f64()).to_physical_precise_round(scale),
|
(buf_pos + offset.to_f64()).to_physical_precise_round(scale),
|
||||||
scale,
|
scale,
|
||||||
alpha,
|
alpha,
|
||||||
Kind::Unspecified,
|
Kind::ScanoutCandidate,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user