servo/components/script/dom/bindings
bors-servo 8ec28978cd
Auto merge of #23777 - jdm:webgl-main-thread, r=asajeffrey
Support running WebGL in its own thread or on the main thread.

This is the final missing piece to support WebGL in ANGLE on Windows. ANGLE doesn't support multiple GL contexts on separate threads using the same underlying Direct3d device, so we need to process all GL operations for WebGL on the same thread as the compositor. These changes try to retain enough flexibility to support both approaches so we can get WebGL working on Windows ASAP.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23697
- [x] There are tests for these changes

<!-- 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/23777)
<!-- Reviewable:end -->
2019-07-26 09:16:34 -04:00
..
codegen Update SpiderMonkey bindings for Windows arm64 crash fix. 2019-07-25 20:23:21 -04:00
callback.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
cell.rs Make use of RefCell::try_borrow_unguarded 2019-04-12 19:02:07 +02:00
constant.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
conversions.rs Check existence of property in get_property_jsval 2019-07-23 10:00:19 +03:00
error.rs Added framebuffer and related attributes to XRWebGLLayer 2019-07-18 14:24:50 -05:00
guard.rs Change bindings generation to make Exposed annotation aware of members/partial interfaces 2019-07-14 09:24:43 -04:00
htmlconstructor.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
inheritance.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
interface.rs Update SpiderMonkey bindings for Windows arm64 crash fix. 2019-07-25 20:23:21 -04:00
iterable.rs Convert CGTraitInterface to use safe JSContext instead of raw JSContext 2019-07-24 08:24:50 +01:00
mod.rs Remove unused code from script* crates 2019-06-02 07:12:26 +02:00
mozmap.rs Reformat 2019-02-26 08:18:33 +01:00
namespace.rs Change bindings generation to make Exposed annotation aware of members/partial interfaces 2019-07-14 09:24:43 -04: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
refcounted.rs Remove now-unnecessary must_root and allow(unrooted_must_root) annotations 2019-01-04 15:05:07 -08:00
reflector.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
root.rs Remove default-except-unstable 2019-07-01 15:43:24 +02:00
settings_stack.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
str.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
structuredclone.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
trace.rs Remove extra webgl message pumping thread. 2019-07-25 23:07:23 -04:00
utils.rs DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContext 2019-07-24 08:18:22 +01:00
weakref.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
xmlname.rs Fix some new warnings 2019-06-22 14:59:09 +02:00