servo/components/compositing
Martin Robinson e5c9a0365d
libservo: Rework and clarify the rendering model of the WebView (#35522)
Make the rendering model of the `WebView` clearer:

1. `WebViewDelegate::notify_new_frame_ready()` indicates that the
   WebView has become dirty and needs to be repainted.
2. `WebView::paint()` asks Servo to paint the contents of the `WebView`
   into the `RenderingContext`.
3. `RenderingContext::present()` does a buffer swap if the
   `RenderingContext` is actually double-buffered.

This is documented and all in-tree embedders are updated to work with
this new model.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2025-02-19 10:35:56 +00:00
..
Cargo.toml libservo: Rework and clarify the rendering model of the WebView (#35522) 2025-02-19 10:35:56 +00:00
compositor.rs libservo: Rework and clarify the rendering model of the WebView (#35522) 2025-02-19 10:35:56 +00:00
lib.rs libservo: Expose an OffscreenRenderingContext and use it for servoshell (#35465) 2025-02-17 08:35:05 +00:00
touch.rs implement Touchevent prevent default behavior (#35031) 2025-02-17 10:50:04 +00:00
tracing.rs compositor: Remove some unused messages to the compositor (#35223) 2025-01-30 09:21:23 +00:00
webview.rs ohos: Support resizing the surface (#35158) 2025-01-29 15:45:17 +00:00
windowing.rs libservo: Remove message-based API (#35366) 2025-02-10 04:14:16 +00:00