render/wayland: filter scanout candidates by frametime estimation

This commit is contained in:
Victoria Brekenfeld 2025-07-22 16:31:56 +02:00 committed by Victoria Brekenfeld
parent db9380e6db
commit be1424f1ca
4 changed files with 50 additions and 17 deletions

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0-only
use crate::utils::prelude::*;
use crate::{utils::prelude::*, wayland::handlers::compositor::FRAME_TIME_FILTER};
use smithay::{
backend::{
allocator::Fourcc,
@ -182,7 +182,7 @@ where
location.to_physical(scale).to_i32_round(),
scale,
1.0,
Kind::Unspecified,
FRAME_TIME_FILTER,
)
}