32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
|
|
diff --git a/src/backend/tty.rs b/src/backend/tty.rs
|
||
|
|
index 1f0eae32..97cd058b 100644
|
||
|
|
--- a/src/backend/tty.rs
|
||
|
|
+++ b/src/backend/tty.rs
|
||
|
|
@@ -2220,16 +2220,16 @@ fn surface_dmabuf_feedback(
|
||
|
|
// planes.
|
||
|
|
let scanout = builder
|
||
|
|
.clone()
|
||
|
|
- .add_preference_tranche(
|
||
|
|
- surface_render_node.dev_id(),
|
||
|
|
- Some(TrancheFlags::Scanout),
|
||
|
|
- primary_scanout_formats,
|
||
|
|
- )
|
||
|
|
- .add_preference_tranche(
|
||
|
|
- surface_render_node.dev_id(),
|
||
|
|
- Some(TrancheFlags::Scanout),
|
||
|
|
- primary_or_overlay_scanout_formats,
|
||
|
|
- )
|
||
|
|
+ // .add_preference_tranche(
|
||
|
|
+ // surface_render_node.dev_id(),
|
||
|
|
+ // Some(TrancheFlags::Scanout),
|
||
|
|
+ // primary_scanout_formats,
|
||
|
|
+ // )
|
||
|
|
+ // .add_preference_tranche(
|
||
|
|
+ // surface_render_node.dev_id(),
|
||
|
|
+ // Some(TrancheFlags::Scanout),
|
||
|
|
+ // primary_or_overlay_scanout_formats,
|
||
|
|
+ // )
|
||
|
|
.build()?;
|
||
|
|
|
||
|
|
// If this is the primary node surface, send scanout formats in both tranches to avoid
|