Files
servo/components/script
Mukilan Thiyagarajan bcbd4a2f19 compositing: Allow WebGL contexts to have different Surfman devices (#40594)
Currently, a single `surfman::Device` is used for all WebGL contexts.
This cannot work when we have multiple rendering contexts. So, extract
the surfman `Connection` and `Adapter` into a per-painter data structure
(`PainterSurfmanDetailsMap`) and store the `Device` directly in the
WebGL context.

This patch also modifies the WebXR traits so that the `Device` doesn't
need to be explictly passed into most methods.

Testing: Should be covered by existing tests.

---------

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-11-17 10:16:31 +00:00
..
2025-10-02 07:51:19 +00:00
2025-10-02 07:51:19 +00:00