servo/components
bors-servo 0dc17af7f0
Auto merge of #23483 - ceyusa:player-context, r=jdm
Media player rendering with GL textures

These patches pass the application's OpenGL raw context  and the its native display address to the media player, in order to create an internal wrapped context, thus it will generate video frames as textures.

For now only EGL from glutin-based app and android are in place, though tested only in Linux glutin app.

This PR also renders the generated frame textures by Servo/Media and renders them by using a thread that connects Webrenderer's ExternalImageHandler and each instantiated player. **By now, these patches, disable the WebGL rendering**. We need to provide a ExternalImageHandler demuxer.

This PR depends on https://github.com/servo/media/pull/270

- [X]  `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- This PR fixes #22300 and fixes #22920

In order to test it you must launch servo as

`./mach run -- --pref media.glvideo.enabled [...]`

<!-- 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/23483)
<!-- Reviewable:end -->
2019-07-04 23:28:28 -04:00
..
allocator
atoms atoms: Add some static atoms in code that is shared with gecko. 2019-05-29 16:14:33 +02:00
background_hang_monitor Fix some new warnings 2019-06-22 14:59:09 +02:00
bluetooth #23065 removed unnecessary headless checking 2019-03-22 16:31:18 +03:00
bluetooth_traits Update regex to 1.1 2019-04-29 22:25:12 +09:00
canvas Introduce WebrenderExternalImageRegistry 2019-07-04 10:26:48 +02:00
canvas_traits Media crate 2019-07-04 10:25:49 +02:00
compositing Add media (WindowGLContext) module in canvas_trait 2019-07-04 10:24:01 +02:00
config Add media.glvideo preference 2019-07-04 10:25:47 +02:00
config_plugins #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
constellation Final tweaks: use expect and remove unnecessary crate attributes 2019-07-04 10:43:32 +02:00
debugger Upgrade ws. 2019-06-12 15:01:03 -04:00
deny_public_fields
derive_common Update darling to 0.9 2019-05-23 12:14:56 +02:00
devtools Upgrade headers, headers-core, and hyper_serde. 2019-06-13 11:08:16 -04:00
devtools_traits
dom_struct Can collect webidl paths. 2019-04-20 22:39:22 +02:00
domobject_derive
embedder_traits Auto merge of #23564 - mmiecz:clipboard-refactoring, r=jdm 2019-07-03 15:20:15 -04:00
fallible
geometry WR update: new viewport semantic 2019-03-22 15:41:48 +08:00
gfx Remove default-except-unstable 2019-07-01 15:43:24 +02:00
gfx_traits
hashglobe Upgrade ws. 2019-06-12 15:01:03 -04:00
jstraceable_derive
layout Add ./mach build --with-layout-2020 2019-07-04 18:16:44 +02:00
layout_2020 Add ./mach build --with-layout-2020 2019-07-04 18:16:44 +02:00
layout_thread Add ./mach build --with-layout-2020 2019-07-04 18:16:44 +02:00
layout_thread_2020 Add ./mach build --with-layout-2020 2019-07-04 18:16:44 +02:00
layout_traits Fix some new warnings 2019-06-22 14:59:09 +02:00
malloc_size_of Fix some new warnings 2019-06-22 14:59:09 +02:00
media Final tweaks: use expect and remove unnecessary crate attributes 2019-07-04 10:43:32 +02:00
metrics
msg Fix some new warnings 2019-06-22 14:59:09 +02:00
net Add PerformanceResourceTiming: domainLookupStart 2019-06-30 00:20:26 +02:00
net_traits Add PerformanceResourceTiming: domainLookupStart 2019-06-30 00:20:26 +02:00
pixels
profile #[global_allocator] is stable 2019-07-01 14:55:01 +02:00
profile_traits fixup! Measure layout queries blocked by ongoing layout 2019-04-17 17:23:17 +02:00
rand Upgrade headers, headers-core, and hyper_serde. 2019-06-13 11:08:16 -04:00
range Remove unused code from a bunch of crates 2019-06-03 04:18:12 +02:00
remutex Remove unused code from a bunch of crates 2019-06-03 04:18:12 +02:00
script Auto merge of #23483 - ceyusa:player-context, r=jdm 2019-07-04 23:28:28 -04:00
script_layout_interface Fix some new warnings 2019-06-22 14:59:09 +02:00
script_plugins Fix some new warnings 2019-06-22 14:59:09 +02:00
script_traits Media crate 2019-07-04 10:25:49 +02:00
selectors Rustfmt and fix tidy on recent changes. 2019-06-25 13:11:31 +02:00
servo Auto merge of #23483 - ceyusa:player-context, r=jdm 2019-07-04 23:28:28 -04:00
servo_arc style: Rustfmt recent changes. 2019-06-04 01:03:59 -04:00
size_of_test
std_test_override
style Add ./mach build --with-layout-2020 2019-07-04 18:16:44 +02:00
style_derive Update darling to 0.9 2019-05-23 12:14:56 +02:00
style_traits Fix some new warnings 2019-06-22 14:59:09 +02:00
to_shmem style: Add an owned slice type which cbindgen can understand. 2019-05-10 12:43:02 +02:00
to_shmem_derive Update darling to 0.9 2019-05-23 12:14:56 +02:00
url style: Fix servo build, and appease tidy / fmt. 2019-04-12 12:20:15 +02:00
webdriver_server Auto merge of #23580 - georgeroman:implement_switch_to_window_and_dismiss_alert_wd_commands, r=jdm 2019-06-24 18:37:36 -04:00
webrender_traits Final tweaks: use expect and remove unnecessary crate attributes 2019-07-04 10:43:32 +02:00
webvr Update to latest xrtest api 2019-07-01 17:42:46 -07:00
webvr_traits Update to latest xrtest api 2019-07-01 17:42:46 -07:00