diff options
author | Delan Azabani <dazabani@igalia.com> | 2023-09-12 11:30:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 03:30:43 +0000 |
commit | 1bbd0c1e6eb22be6db73c4f9b28664a9104ee3f7 (patch) | |
tree | aa3f5367617455e5b378cffefaaea9b9f2bb25db /components/compositing/compositor.rs | |
parent | aad2dccc9c9f6b89922c07933cfa7087a8cd1ec4 (diff) | |
download | servo-1bbd0c1e6eb22be6db73c4f9b28664a9104ee3f7.tar.gz servo-1bbd0c1e6eb22be6db73c4f9b28664a9104ee3f7.zip |
servoshell: fix lockups while animating (#30322)
* servoshell: fix lockups while animating
* move comment to external_present declaration
* disable needs_recomposite optimisation for now due to breakage
* fix compile error that only happens on ci
* fix more compile errors
Diffstat (limited to 'components/compositing/compositor.rs')
-rw-r--r-- | components/compositing/compositor.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/compositing/compositor.rs b/components/compositing/compositor.rs index 1ae3d4a4616..809d231d831 100644 --- a/components/compositing/compositor.rs +++ b/components/compositing/compositor.rs @@ -1540,6 +1540,7 @@ impl<Window: WindowMethods + ?Sized> IOCompositor<Window> { rect: Option<Rect<f32, CSSPixel>>, ) -> Result<Option<Image>, UnableToComposite> { if self.waiting_on_present { + debug!("tried to composite while waiting on present"); return Err(UnableToComposite::NotReadyToPaintImage( NotReadyToPaint::WaitingOnConstellation, )); |