render/wayland: filter scanout candidates by frametime estimation
This commit is contained in:
parent
db9380e6db
commit
be1424f1ca
4 changed files with 50 additions and 17 deletions
|
|
@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue