servo/components/compositing
Martin Robinson 4451a59f88
compositing: Properly clean up pending paint metrics (#34305)
Not all pending display list epochs are painted immediately or at all.
Soemtimes WebRender is one or more display lists behind the latest and
sometimes an epoch isn't painted at all if a new display list arrives
before the old one is painted. These situations aren't errors, but they
might indicate performance issues.

Instead of forever printing warnings when this happens, properly clean
up pending paint metrics after compositing. If earlier pending paint
metrics for a pipeline exist, remove them. If a pipeline is no longer
known by the compositor, remove its pending paint metrics.

This change fixes situations where warnings flood the output and a small
memory leak.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-11-20 16:05:26 +00:00
..
Cargo.toml feat: webxr feature flag (#34241) 2024-11-13 17:16:58 +00:00
compositor.rs compositing: Properly clean up pending paint metrics (#34305) 2024-11-20 16:05:26 +00:00
gl.rs Fix save to image on Windows (#32914) 2024-08-03 20:04:26 +00:00
lib.rs feat: webxr feature flag (#34241) 2024-11-13 17:16:58 +00:00
touch.rs Add simple fling implementation (#33219) 2024-11-10 10:15:42 +00:00
tracing.rs compositor: Create a single cross-process compositor API (#33619) (#33660) 2024-10-09 17:30:24 +00:00
webview.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
windowing.rs ohos: Add basic IME and keyboard support (#34188) 2024-11-15 15:04:48 +00:00