refactor: move WaylandPlugin init
Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
@@ -35,7 +35,7 @@ use std::{
|
||||
};
|
||||
use tokio::{net::UnixStream, sync::mpsc, task::AbortHandle};
|
||||
use tokio_stream::StreamExt;
|
||||
use tracing::{debug_span, instrument};
|
||||
use tracing::{debug_span, info, instrument};
|
||||
use waynest::server::protocol::stable::linux_dmabuf_v1::zwp_linux_buffer_params_v1::ZwpLinuxBufferParamsV1;
|
||||
use waynest::{
|
||||
server::{
|
||||
@@ -295,6 +295,7 @@ impl Plugin for WaylandPlugin {
|
||||
}
|
||||
|
||||
fn early_frame() {
|
||||
info!("test");
|
||||
for buffer in WL_BUFFER_REGISTRY.get_valid_contents() {
|
||||
if buffer.rendered.load(Ordering::Relaxed) {
|
||||
let _ = buffer
|
||||
|
||||
Reference in New Issue
Block a user