servo/ports/servoshell/egl
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
..
android libservo: Expose SoftwareRenderingContext and WindowRenderingContext (#35501) 2025-02-18 14:50:41 +00:00
ohos libservo: Expose SoftwareRenderingContext and WindowRenderingContext (#35501) 2025-02-18 14:50:41 +00:00
android.rs libservo: Expose SoftwareRenderingContext and WindowRenderingContext (#35501) 2025-02-18 14:50:41 +00:00
app_state.rs libservo: Rework and clarify the rendering model of the WebView (#35522) 2025-02-19 10:35:56 +00:00
host_trait.rs libservo: Add a ClipboardDelegate and a default implementation (#35297) 2025-02-07 10:43:46 +00:00
log.rs ohos: Add basic IME and keyboard support (#34188) 2024-11-15 15:04:48 +00:00
mod.rs Migrate Android and OHOS ports to the delegate API (#35315) 2025-02-06 14:21:29 +00:00
ohos.rs libservo: Add a ClipboardDelegate and a default implementation (#35297) 2025-02-07 10:43:46 +00:00