servo/components/script
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
..
docs
dom Auto merge of #23483 - ceyusa:player-context, r=jdm 2019-07-04 23:28:28 -04:00
task_source
body.rs Pass InCompartment by value 2019-04-25 11:37:35 +02:00
build.rs Remove restrictions on cross-compiling on Windows. 2019-05-24 22:32:34 -04:00
Cargo.toml Media crate 2019-07-04 10:25:49 +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 Create a helper API for entering a DOM object's compartment 2019-06-29 19:23:17 +02:00
devtools.rs Create a helper API for entering a DOM object's compartment 2019-06-29 19:23:17 +02: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 Implement HTMLMediaElement poster attribute 2019-01-11 17:11:11 +01:00
layout_image.rs Implementing the builder pattern for RequestInit 2019-04-10 14:01:30 -03:00
lib.rs Remove default-except-unstable 2019-07-01 15:43:24 +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 Upgrade to Spidermonkey 67. 2019-06-26 18:10:46 -04:00
script_thread.rs Fix typos, warnings and other nits 2019-07-04 10:26:48 +02: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 Rename shadow_root_from_node to containing_shadow_root 2019-04-26 12:00:26 +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 PR #23272 review nits 2019-05-22 19:59:33 +02:00
timers.rs #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
unpremultiplytable.rs
webdriver_handlers.rs Implement GetPageSource WebDriver command 2019-06-17 13:06:29 +03:00