servo/components/compositing
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
..
build.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
Cargo.toml Integrate swapchain surface provider changes into webgl and webxr implementations. 2020-03-09 17:50:54 -04:00
compositor.rs Auto merge of #25914 - paulrouget:lessRAF, r=jdm 2020-03-09 11:38:47 -04:00
compositor_thread.rs Track outstanding WR frames and delay reftest screenshot when necessary. 2020-02-21 11:19:14 -05:00
gl.rs Implement TakeElementScreenshot WebDriver command 2019-08-20 00:52:46 +03:00
lib.rs Stop animations when window is hidden (API + UWP) 2020-02-19 14:10:49 +01:00
touch.rs Update euclid. 2019-07-23 23:09:55 +02:00
windowing.rs Integrate swapchain surface provider changes into webgl and webxr implementations. 2020-03-09 17:50:54 -04:00