diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-05-14 17:40:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 17:40:05 -0400 |
commit | e1cc38bea8a701108b6f2fa809f341769613b55f (patch) | |
tree | f86e587b9bde0b23d0dbe5dd92f27c8e30087279 /components/script/dom/gpucomputepassencoder.rs | |
parent | 3acc0f90778a12f521dc788da2ed39ee24d506f2 (diff) | |
parent | e5065c7eb291a83ba489bc41b6c0241f39ed1c0a (diff) | |
download | servo-e1cc38bea8a701108b6f2fa809f341769613b55f.tar.gz servo-e1cc38bea8a701108b6f2fa809f341769613b55f.zip |
Auto merge of #26525 - kunalmohan:share-gpu_id_hub, r=jdm
Share single gpu_id_hub among all threads in a process
<!-- Please describe your changes on the following line: -->
An id_hub for a content process is created when a new script thread is created. This is then cloned whenever a new globalscope object is created. The only exception being service workers because they exist in separate processes, for them a new hub is created.
r?@jdm @kvark
---
<!-- 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 #25725 (GitHub issue number if applicable)
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___
<!-- 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/script/dom/gpucomputepassencoder.rs')
0 files changed, 0 insertions, 0 deletions