servo/components/compositing
Ngo Iok Ui (Wu Yu Wei) 07aa4ce093
Simplify RenderingContext trait methods (#35251)
There are a few methods are still difficult to implement without
the help of surfman. To simplify the trait methods, all methods that
return surfman types are removed. They are either handled by
embedders themselves or abstract to simpler types that servo
components need. The most noticeable changes are:

- Methods related to native surface are moved to servo_glue. The
  embedder should decide when to remove/replace the surface and it's
  outside of servo's scope.
- Methods required by servo media now return exact media types for it.

The other major change is sevevral difficult trait methods that are
reuiqred by WebGL and Servo media have default implementation. So they
can be optional for users to implement.

Signed-off-by: Wu Wayne <yuweiwu@pm.me>
2025-02-05 12:02:11 +00:00
..
Cargo.toml Finish the integration of webxr into the Cargo workspace (#35229) 2025-01-31 16:41:57 +00:00
compositor.rs Simplify RenderingContext trait methods (#35251) 2025-02-05 12:02:11 +00:00
gl.rs Fix save to image on Windows (#32914) 2024-08-03 20:04:26 +00:00
lib.rs feat: Turn RenderingContext into a trait (#35052) 2025-01-24 02:39:39 +00:00
touch.rs libservo: Stop using script_traits in the embedding layer (#35185) 2025-01-28 11:15:36 +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 Simplify RenderingContext trait methods (#35251) 2025-02-05 12:02:11 +00:00