ei: add support for libei
This commit is contained in:
parent
084fe50259
commit
40e87f8f91
69 changed files with 4340 additions and 72 deletions
|
|
@ -199,7 +199,7 @@ impl ConnectorHandler {
|
|||
self.state.outputs.set(self.id, output_data);
|
||||
on.schedule_update_render_data();
|
||||
self.state.root.outputs.set(self.id, on.clone());
|
||||
self.state.root.update_extents();
|
||||
self.state.output_extents_changed();
|
||||
global.opt.node.set(Some(on.clone()));
|
||||
global.opt.global.set(Some(global.clone()));
|
||||
let mut ws_to_move = VecDeque::new();
|
||||
|
|
@ -280,7 +280,7 @@ impl ConnectorHandler {
|
|||
}
|
||||
global.destroyed.set(true);
|
||||
self.state.root.outputs.remove(&self.id);
|
||||
self.state.root.update_extents();
|
||||
self.state.output_extents_changed();
|
||||
self.state.outputs.remove(&self.id);
|
||||
on.lock_surface.take();
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,3 +12,16 @@ impl SlowClientHandler {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub struct SlowEiClientHandler {
|
||||
pub state: Rc<State>,
|
||||
}
|
||||
|
||||
impl SlowEiClientHandler {
|
||||
pub async fn handle_events(&mut self) {
|
||||
loop {
|
||||
let client = self.state.slow_ei_clients.pop().await;
|
||||
client.check_queue_size().await;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue