Commit graph

38042 commits

Author SHA1 Message Date
Manish Goregaokar
8780edb165 Hook webxr data into XRFrame/XRView/XRSpace 2019-07-11 11:12:59 -07:00
Manish Goregaokar
104a712a28 Remove old RAF code 2019-07-11 11:12:59 -07:00
Manish Goregaokar
877b6c67a1 Trigger callbacks in RAF 2019-07-11 11:12:59 -07:00
Manish Goregaokar
33421e8ee0 Apply pending render states in RAF 2019-07-11 11:12:59 -07:00
Manish Goregaokar
cf53cf6cc5 Add actual frame request in rAF 2019-07-11 11:12:59 -07:00
Manish Goregaokar
84014ffc54 Add basic rAF and cAF functions that do nothing with the callbacks 2019-07-11 11:12:59 -07:00
Manish Goregaokar
c7ed4379e8 Fill in updateRenderState() stubs 2019-07-11 11:12:59 -07:00
Manish Goregaokar
d55ed4240c Hook requestSession() into new XR crate 2019-07-11 11:12:59 -07:00
Manish Goregaokar
fb105d9ff2 Hook supportsSession() into new xr crate 2019-07-11 11:12:59 -07:00
Manish Goregaokar
b7eacebd10 Update webxr dependencies 2019-07-11 11:12:59 -07:00
WPT Sync Bot
4499a0fbb6 Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc 2019-07-11 14:32:39 +00:00
bors-servo
d52692241e
Auto merge of #23741 - jdm:win-servoapp-debug, r=paulrouget
Support media playback in ServoApp debug builds.

<!-- 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/23741)
<!-- Reviewable:end -->
2019-07-11 08:38:24 -04:00
bors-servo
5bc34e3e4d
Auto merge of #23740 - servo:jdm-patch-36, r=ferjm
Load GST videofilter plugins.

The video playback tries to create a videobalance element and can't find it without this plugin.

<!-- 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/23740)
<!-- Reviewable:end -->
2019-07-11 06:48:36 -04:00
Manish Goregaokar
5f69a9e66a Expose webxr registry to window 2019-07-10 23:12:34 -07:00
bors-servo
305312e93b
Auto merge of #23746 - asajeffrey:webgl-lies-damn-lies-and-serialization, r=Manishearth
WebGLSender doesn't really implement Serializable

<!-- Please describe your changes on the following line: -->

Add an API which turns a `WebGLSender` into something that is actually serializable.

---
<!-- 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
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because this is fixing a panic

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

<!-- 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/23746)
<!-- Reviewable:end -->
2019-07-11 01:07:13 -04:00
Alan Jeffrey
1b05ad4bb3 WebGLSender doesn't really implement Serializable 2019-07-10 19:06:51 -05:00
bors-servo
67d38b429b
Auto merge of #23738 - mmiecz:clipboard-cut, r=jdm
Add clipboard cut functionality

<!-- Please describe your changes on the following line: -->
This PR adds clipboard cut functionality. #23735

---
<!-- 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
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #23735 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because manually testing whether cutting works is enough.

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

<!-- 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/23738)
<!-- Reviewable:end -->
2019-07-10 19:22:24 -04:00
Josh Matthews
1cec249b3d Update media crates for Windows fixes. 2019-07-10 14:19:41 -04:00
bors-servo
15be654868
Auto merge of #23737 - servo-wpt-sync:wpt_update_10-07-2019, r=servo-wpt-sync
Sync WPT with upstream (10-07-2019)

Automated downstream sync of changes from upstream as of 10-07-2019.
[no-wpt-sync]

<!-- 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/23737)
<!-- Reviewable:end -->
2019-07-10 14:03:54 -04:00
Josh Matthews
c04078598b Fix inclusion of simpleservo.dll in ServoApp debug builds. 2019-07-10 13:49:56 -04:00
Josh Matthews
0314b2cdd5
Load GST videofilter plugins. 2019-07-10 13:36:56 -04:00
Michal Mieczkowski
4c27e680e0 Add clipboard cut functionality 2019-07-10 18:44:43 +02:00
bors-servo
5ba743b0cf
Auto merge of #23736 - servo:jdm-patch-35, r=asajeffrey
Enable uwp feature when building with --uwp.

This removes some dependencies that trigger WACK errors.

<!-- 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/23736)
<!-- Reviewable:end -->
2019-07-10 11:56:40 -04:00
WPT Sync Bot
b81cdc75ce Update web-platform-tests to revision 84af6c875d378944b39d895acdcfc170736b2d3d 2019-07-10 14:54:55 +00:00
Josh Matthews
1a9300a29d
Enable uwp feature when building with --uwp. 2019-07-10 10:36:45 -04:00
bors-servo
a1441d537c
Auto merge of #23715 - paulrouget:docup, r=jdm
Update hololens doc

<!-- 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/23715)
<!-- Reviewable:end -->
2019-07-10 09:57:20 -04:00
Josh Matthews
20450500ed Mark test with tiny AA difference from reference as fuzzy match. 2019-07-09 10:52:44 -04:00
Josh Matthews
089823ae20 Remove sometimes-unused bounds field from base display item to prevent confusion. 2019-07-09 10:52:43 -04:00
Josh Matthews
f1b10393c2 rustfmt 2019-07-09 10:52:43 -04:00
Josh Matthews
644addd159 WebRender rectangles items are sized based on their clipping rectangles. 2019-07-09 10:51:57 -04:00
Josh Matthews
10ab466e5d Create a solid rectangle display list entry for the page background. 2019-07-09 10:51:56 -04:00
Patrick Walton
e57e2121b2 Get the servo crate building with the new WebRender 2019-07-09 10:51:55 -04:00
Patrick Walton
6b9924bec4 Stop storing display lists in an Arc 2019-07-09 10:50:29 -04:00
Patrick Walton
7ca570dd1d Upgrade display list building for the WebRender update. 2019-07-09 10:50:28 -04:00
Patrick Walton
7915a7099f Fix WebRender churn in compositing 2019-07-09 10:50:28 -04:00
Patrick Walton
ae42048540 A few fixes to the compositor for WebRender 2019-07-09 10:50:28 -04:00
Patrick Walton
2f9c9cefdb WebRender units are no longer reexported. 2019-07-09 10:50:27 -04:00
Patrick Walton
357fc03323 Update WebRender 2019-07-09 10:46:58 -04:00
bors-servo
d0bd2d5e44
Auto merge of #23732 - servo-wpt-sync:wpt_update_09-07-2019, r=servo-wpt-sync
Sync WPT with upstream (09-07-2019)

Automated downstream sync of changes from upstream as of 09-07-2019.
[no-wpt-sync]
2019-07-09 10:00:51 -04:00
WPT Sync Bot
3c256580fa Update web-platform-tests to revision 8119bc10583682676a3db9806c82ed4044e88e13 2019-07-09 14:00:38 +00:00
bors-servo
56f1e7cbc5
Auto merge of #23729 - servo-wpt-sync:wpt_update_08-07-2019, r=jdm
Sync WPT with upstream (08-07-2019)

Automated downstream sync of changes from upstream as of 08-07-2019.
[no-wpt-sync]

<!-- 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/23729)
<!-- Reviewable:end -->
2019-07-08 15:25:51 -04:00
bors-servo
988e38fe0a
Auto merge of #23712 - servo:gstreamer-windows, r=ferjm
Support WebAudio on Windows

These changes improve the GStreamer experience on Windows in several ways:
* we package the set of plugins and their dependencies that Servo requires for media support
* we explicitly load those plugins when starting the media engine rather than relying on an existing gstreamer installation

These changes do not affect the experience on non-Windows platforms, but the path is clear to do so in order to fix problems like #23519. With these changes I can successfully hear a tone when loading https://joshmatthews.net/osc.html in both a desktop build and a UWP build.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23631 and fix #23698
- [x] These changes do not require tests because no tests on windows ;_;

<!-- 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/23712)
<!-- Reviewable:end -->
2019-07-08 12:40:05 -04:00
Josh Matthews
7c97d0193b Remove Windows x86 build. 2019-07-08 12:10:07 -04:00
Josh Matthews
890f8c1c9a
Remove intermittet failure. 2019-07-08 11:31:04 -04:00
bors-servo
3e88f63693
Auto merge of #23727 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See each individual commit for details.

<!-- 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/23727)
<!-- Reviewable:end -->
2019-07-08 11:29:33 -04:00
WPT Sync Bot
fc8f5dd9fd Update web-platform-tests to revision 3387cf524436af6e29ad89b1b04ec94b8a76d4f9 2019-07-08 13:49:25 +00:00
Emilio Cobos Álvarez
fbf6b926e5
style: Servo doesn't support backdrop-filter yet. 2019-07-08 14:59:16 +02:00
Emilio Cobos Álvarez
03a8e57b9c
style: Appease tidy. 2019-07-08 12:58:20 +02:00
Emilio Cobos Álvarez
55966412af
style: Rustfmt recent changes. 2019-07-08 12:56:47 +02:00
Emilio Cobos Álvarez
c913941669
style: Trivially simplify some recently-added code. 2019-07-08 12:56:37 +02:00