mirror of
https://github.com/servo/servo.git
synced 2025-06-27 10:33:39 +01:00
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 --> |
||
---|---|---|
.. | ||
codegen | ||
callback.rs | ||
cell.rs | ||
constant.rs | ||
conversions.rs | ||
error.rs | ||
guard.rs | ||
htmlconstructor.rs | ||
inheritance.rs | ||
interface.rs | ||
iterable.rs | ||
mod.rs | ||
namespace.rs | ||
num.rs | ||
proxyhandler.rs | ||
record.rs | ||
refcounted.rs | ||
reflector.rs | ||
root.rs | ||
serializable.rs | ||
settings_stack.rs | ||
str.rs | ||
structuredclone.rs | ||
trace.rs | ||
transferable.rs | ||
utils.rs | ||
weakref.rs | ||
xmlname.rs |