diff options
author | bors-servo <infra@servo.org> | 2023-06-27 20:01:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 20:01:48 +0200 |
commit | ea4701c57b3cb732a46ea5356e0945aa1d488d06 (patch) | |
tree | bd7d05ca9cbbeec816cf28df326d7cb61e85f193 /components/servo/lib.rs | |
parent | 1ca74a3ceea37ed6eb8786c35028966d4b8d3547 (diff) | |
parent | ec3b2826ae7f9186e20e7a992f8be70c9aa2f903 (diff) | |
download | servo-ea4701c57b3cb732a46ea5356e0945aa1d488d06.tar.gz servo-ea4701c57b3cb732a46ea5356e0945aa1d488d06.zip |
Auto merge of #29938 - mrobinson:remove-domtotexture, r=jdm
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
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #29936.
- [x] These changes do not require tests because they remove functionality.
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r-- | components/servo/lib.rs | 7 |
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) |