servo/ports/servoshell
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
..
desktop libservo: Add WebViewDelegate and ServoDelegate and port winit_minimal (#35196) 2025-02-05 10:08:40 +00:00
egl Simplify RenderingContext trait methods (#35251) 2025-02-05 12:02:11 +00:00
platform Fix a leak in MacOS thread count function (#34862) 2025-01-07 03:28:30 +00:00
backtrace.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
build.rs Fix a leak in MacOS thread count function (#34862) 2025-01-07 03:28:30 +00:00
Cargo.toml servoshell: Migrate to egui-file-dialog from tinyfiledialogs (#34823) 2025-02-04 18:24:24 +00:00
crash_handler.rs Fix various clippy warnings on OpenHarmony (#34281) 2024-11-19 05:21:48 +00:00
lib.rs Use aws-lc-rs as rust-tls provider (#35106) 2025-01-30 19:10:49 +00:00
main.rs Make tracing available on all platforms, with or without perfetto (#33301) 2024-09-04 12:56:29 +00:00
panic_hook.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
parser.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
prefs.rs Clean up some stale debug options for ServoDriver (#35281) 2025-02-04 12:59:06 +00:00
resources.rs libservo: Stop using script_traits in the embedding layer (#35185) 2025-01-28 11:15:36 +00:00
test.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00