servo/components/script
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
..
docs
dom Auto merge of #23777 - jdm:webgl-main-thread, r=asajeffrey 2019-07-26 09:16:34 -04:00
task_source
body.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
build.rs DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContext 2019-07-24 08:18:22 +01:00
Cargo.toml Update euclid. 2019-07-23 23:09:55 +02:00
clipboard_provider.rs Remove not needed DummyClipboardContext 2019-06-13 20:20:25 +02:00
CMakeLists.txt Remove restrictions on cross-compiling on Windows. 2019-05-24 22:32:34 -04:00
compartments.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
devtools.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
document_loader.rs Remove unused code from script* crates 2019-06-02 07:12:26 +02:00
fetch.rs Create a helper API for entering a DOM object's compartment 2019-06-29 19:23:17 +02:00
image_listener.rs
layout_image.rs Implementing the builder pattern for RequestInit 2019-04-10 14:01:30 -03:00
lib.rs Remove uses of mem::uninitialized 2019-07-17 10:48:54 +02:00
mem.rs
microtask.rs Upgrade to Spidermonkey 67. 2019-06-26 18:10:46 -04:00
network_listener.rs Let resources timing entries be added to performance entry buffer. 2019-06-11 09:40:31 -07:00
script_runtime.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
script_thread.rs Remove extra webgl message pumping thread. 2019-07-25 23:07:23 -04:00
serviceworker_manager.rs #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
serviceworkerjob.rs Update Worker webidl to support WorkerOptions 2019-05-11 12:14:25 +09:00
stylesheet_loader.rs Revert changes to load media styles as UA styles 2019-07-22 17:40:15 +02:00
stylesheet_set.rs Move StylesheetSetRef to script 2019-04-26 12:00:26 +02:00
task.rs Remove default-except-unstable 2019-07-01 15:43:24 +02:00
task_manager.rs
task_queue.rs in BC event-loop, only run tasks related to fully-active documents 2019-03-06 14:18:18 +08:00
test.rs
textinput.rs Add clipboard cut functionality 2019-07-10 18:44:43 +02:00
timers.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
unpremultiplytable.rs
webdriver_handlers.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00