aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/lib.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-06-26 16:35:03 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-06-27 11:39:52 +0200
commitec3b2826ae7f9186e20e7a992f8be70c9aa2f903 (patch)
tree76b0ed5a9a48b1bde9418e1819481caae1e91dde /components/servo/lib.rs
parent234d50723463159400ee4bf25fa130011e9f72ef (diff)
downloadservo-ec3b2826ae7f9186e20e7a992f8be70c9aa2f903.tar.gz
servo-ec3b2826ae7f9186e20e7a992f8be70c9aa2f903.zip
Remove the DOMToTexture feature
This relies on WebRender's frame output API, `set_output_image_handler`, which has been removed from the latest upstream [1]. It's sad to remove this feature, which was probably a lot of work to implement, but it seems difficult to patch WebRender to restore this functionality. Fixes #29936. 1. https://hg.mozilla.org/mozilla-central/rev/361521e3c52324809553c555fb066d50f023d9bf
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r--components/servo/lib.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index 65b84721006..434ebe5b33e 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -440,10 +440,8 @@ where
webgl_threads,
webxr_layer_grand_manager,
image_handler,
- output_handler,
} = WebGLComm::new(
webrender_surfman.clone(),
- webrender_gl.clone(),
webrender_api.create_sender(),
webrender_document,
external_images.clone(),
@@ -453,11 +451,6 @@ where
// Set webrender external image handler for WebGL textures
external_image_handlers.set_handler(image_handler, WebrenderImageHandlerType::WebGL);
- // Set DOM to texture handler, if enabled.
- if let Some(output_handler) = output_handler {
- webrender.set_output_image_handler(output_handler);
- }
-
// Create the WebXR main thread
let mut webxr_main_thread =
webxr::MainThreadRegistry::new(event_loop_waker, webxr_layer_grand_manager)