servo/ports/servoshell
Martin Robinson 5465bfc2af
libservo: Move GL acclerated media setup out of RenderingContext and simplify it (#35553)
This moves the GL accelerated media setup out of `RenderingContext`
which prevents making libservo dependo on the Wayland and X11 versions
of surfman explicitly. This support is experimental and (honestly) a bit
broken. I've confirmed that this works as well as it did before the
change.

The main thing here is that the configuration, which currently needs
surfman types, moves to servoshell. In addition:

1. Instead of passing the information to the Constellation, the setup is
   stored statically. This is necessary to avoid introducing a
   dependency on `media` in `webrender_traits`. It's quite likely that
   `media` types should move to the internal embedding API to avoid
   this. This is preserved for a followup change.
2. The whole system of wrapping the media channels in an abstract type
   is removed. They could be either mpsc channels or IPC channels. This
   was never going to work because mpsc channels cannot be serialized
   and deserialized with serde. Instead this just uses IPC channels. We
   also have other ways of doing this kind of abstraction in Servo so we
   do not need another. The `mpsc` version was hard-coded to be
   disabled.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-02-20 13:52:18 +00:00
..
desktop libservo: Move GL acclerated media setup out of RenderingContext and simplify it (#35553) 2025-02-20 13:52:18 +00:00
egl libservo: Rework and clarify the rendering model of the WebView (#35522) 2025-02-19 10:35:56 +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 libservo: Expose SoftwareRenderingContext and WindowRenderingContext (#35501) 2025-02-18 14:50:41 +00:00
crash_handler.rs Fix various clippy warnings on OpenHarmony (#34281) 2024-11-19 05:21:48 +00:00
lib.rs Add cli option for tracing-filter (#35370) 2025-02-08 07:10:12 +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 servoshell: Move initial_window_size and screen_size_override into ServoShellPreferences from Opts (#35407) 2025-02-10 20:48:48 +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