tree: make surface visibility tracking more robust
This commit is contained in:
parent
be0935c8dd
commit
ba98103233
26 changed files with 313 additions and 144 deletions
|
|
@ -196,7 +196,9 @@ impl Backend for MetalBackend {
|
|||
return;
|
||||
}
|
||||
}
|
||||
if !idle {
|
||||
if idle {
|
||||
self.state.set_backend_idle(true);
|
||||
} else {
|
||||
for device in devices.values() {
|
||||
for connector in device.connectors.lock().values() {
|
||||
connector.schedule_present();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue