servo/components/script/dom/bindings
bors-servo ea32495504
Auto merge of #24708 - szeged:webgpu-base, r=gterzian,kvark
Initial implementation of WebGPU API

<!-- Please describe your changes on the following line: -->
- Added the WebIDL bindings for GPU and GPUadapter interfaces.
- Created a background thread for WebGPU api calls.
- Established the async communication between the background thread and the WebGPU interfaces.
- Implemented the `requesAdapter` function of `navigator.gpu`

`./mach test-tidy` reports an error due to the different `arrayvec` version used in `servo` and `webgpu`, so added it to the ignore list in `servo-tidy.toml`

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes addresses a part of #https://github.com/servo/servo/issues/24706

<!-- 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. -->

cc @jdm, cc @kvark

<!-- 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/24708)
<!-- Reviewable:end -->
2019-11-25 00:00:46 -05:00
..
codegen Auto merge of #24708 - szeged:webgpu-base, r=gterzian,kvark 2019-11-25 00:00:46 -05:00
callback.rs Use #![register_tool] instead of #![register_attr] 2019-11-15 17:24:42 +01:00
cell.rs Make use of RefCell::try_borrow_unguarded 2019-04-12 19:02:07 +02:00
constant.rs Use safe JSContext when possible in interface.rs 2019-08-09 00:43:24 +01:00
conversions.rs Auto merge of #24694 - servo:rustup, r=jdm 2019-11-09 10:15:30 -05:00
error.rs Use safe JSContext as first argument for throw_dom_exception 2019-08-09 00:43:28 +01:00
guard.rs Use safe JSContext when possible in interface.rs 2019-08-09 00:43:24 +01:00
htmlconstructor.rs Remove usage of various unsafe keyword 2019-08-09 00:43:28 +01:00
inheritance.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
interface.rs Support [LegacyWindowAlias] 2019-10-19 12:01:00 +09:00
iterable.rs Remove some usage of unsafe code in iterator.rs 2019-08-09 00:02:09 +01:00
mod.rs begin messageport, transferable objects, impl 2019-10-19 14:12:22 +08:00
namespace.rs Use safe JSContext when possible in interface.rs 2019-08-09 00:43:24 +01:00
num.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
proxyhandler.rs Upgrade to Spidermonkey 67. 2019-06-26 18:10:46 -04:00
record.rs Support WebIDL record<> 2019-10-15 17:14:00 +09:00
refcounted.rs Use #![register_tool] instead of #![register_attr] 2019-11-15 17:24:42 +01:00
reflector.rs Use #![register_tool] instead of #![register_attr] 2019-11-15 17:24:42 +01:00
root.rs Use #![register_tool] instead of #![register_attr] 2019-11-15 17:24:42 +01:00
settings_stack.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
str.rs Support WebIDL record<> 2019-10-15 17:14:00 +09:00
structuredclone.rs continue messageport, transferable, postmessage options 2019-10-19 14:28:18 +08:00
trace.rs Initial implementation of WebGPU API 2019-11-21 08:30:26 +01:00
transferable.rs continue messageport, transferable, postmessage options 2019-10-19 14:28:18 +08:00
utils.rs continue messageport, transferable, postmessage options 2019-10-19 14:28:18 +08:00
weakref.rs Use #![register_tool] instead of #![register_attr] 2019-11-15 17:24:42 +01:00
xmlname.rs Fix some new warnings 2019-06-22 14:59:09 +02:00