aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/create.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2020-01-13 11:46:56 -0500
committerGitHub <noreply@github.com>2020-01-13 11:46:56 -0500
commit0131952d6d97bf904da353cec9a8fdb32307ef01 (patch)
treeb6240ff68e4cdf2dc0fbe12f507c4cc9362b2c91 /components/script/dom/create.rs
parent968b45f9dcf94349ca44a053155e5ac8b020e62b (diff)
parent430248e9c819c0889811c2d25ba1ebad5d00f745 (diff)
downloadservo-0131952d6d97bf904da353cec9a8fdb32307ef01.tar.gz
servo-0131952d6d97bf904da353cec9a8fdb32307ef01.zip
Auto merge of #25030 - szeged:webgpu-constellation, r=gterzian
Only start WebGPU thread if an adapter is requested <!-- Please describe your changes on the following line: --> This addresses 1 and 2 from https://github.com/servo/servo/issues/24706#issuecomment-555491438 We send a message to constellation instead of creating the `WebGPU` thread on the start. We send back the result to script and set the `Window`'s `web_gpu` component there. cc @jdm @imiklos --- <!-- 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 - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/25030) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/create.rs')
0 files changed, 0 insertions, 0 deletions