servo/components/script
bors-servo b4d7ec1c99
Auto merge of #25855 - jdm:surface-inversion, r=Manishearth,asajeffrey
Remove GL->d3d blit in HoloLens immersive mode

Depends on:
* https://github.com/servo/surfman/pull/151
* https://github.com/asajeffrey/surfman-chains/pull/7
* https://github.com/servo/webxr/pull/133

These changes add two extra APIs for embedders to use when registering a WebXR device - one to allow running any closure as a task in the webgl thread, and one to register an arbitrary surface provider for a particular webxr session. When an openxr session is started, it can then obtain the webgl thread's d3d device from that thread's surfman device and ensure that openxr uses it.

Surface providers are traits that have their methods invoked by the webgl thread as part of the the normal swapchain operations. This allows the openxr surface provider to return surfaces that wrap the underlying openxr textures, which are valid in the webgl thread and can be used as the target of an opaque framebuffer.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25735
- [x] These changes do not require tests because there are no windows immersive mode tests
2020-03-09 19:58:21 -04:00
..
docs
dom Auto merge of #25855 - jdm:surface-inversion, r=Manishearth,asajeffrey 2020-03-09 19:58:21 -04:00
task_source
body.rs Implement Blob methods (text/arraybuffer) and async file read method 2020-01-28 14:38:32 +05:30
build.rs
canvas_state.rs Implement CanvasRenderingContext2D.getTransform() 2020-02-12 08:49:18 +01:00
Cargo.toml Update SpiderMonkey 2020-03-06 11:13:28 +01:00
clipboard_provider.rs
devtools.rs
document_loader.rs
euclidext.rs
fetch.rs let integrity_metadata survive IPC sending 2020-01-30 10:34:29 -05:00
image_listener.rs
init.rs
layout_image.rs
lib.rs Update SpiderMonkey 2020-03-06 11:13:28 +01:00
mem.rs
microtask.rs
network_listener.rs
realms.rs
script_module.rs Update SpiderMonkey 2020-03-06 11:13:28 +01:00
script_runtime.rs Update SpiderMonkey 2020-03-06 11:13:28 +01:00
script_thread.rs Avoid accessing node global during Node's destructor. 2020-02-24 16:27:40 -05:00
serviceworker_manager.rs
serviceworkerjob.rs
stylesheet_loader.rs
stylesheet_set.rs
task.rs
task_manager.rs
task_queue.rs
test.rs
textinput.rs
timers.rs
unpremultiplytable.rs
webdriver_handlers.rs Update SpiderMonkey 2020-03-06 11:13:28 +01:00