diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-02-20 14:52:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-20 13:52:18 +0000 |
commit | 5465bfc2af38e561df5f0a7f81250a0238520d6d (patch) | |
tree | c25e40c47ecc6743ffa1e6559c5c2ea5a06e64cd /components/script/dom/webgl_extensions/ext/oesvertexarrayobject.rs | |
parent | 9887ad369d65eb362db21c778ae5f00aad74db6c (diff) | |
download | servo-5465bfc2af38e561df5f0a7f81250a0238520d6d.tar.gz servo-5465bfc2af38e561df5f0a7f81250a0238520d6d.zip |
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>
Diffstat (limited to 'components/script/dom/webgl_extensions/ext/oesvertexarrayobject.rs')
0 files changed, 0 insertions, 0 deletions