servo/components/script/dom/bindings
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
..
codegen Improve support for nested dictionaries 2019-06-27 18:13:23 -07:00
callback.rs Update to SpiderMonkey 66. 2019-05-10 22:43:43 -04:00
cell.rs Make use of RefCell::try_borrow_unguarded 2019-04-12 19:02:07 +02:00
constant.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
conversions.rs Auto merge of #23669 - georgeroman:more_array_like_types, r=ferjm 2019-07-04 08:18:52 -04:00
error.rs Propagate JSFailed error & conditionally execute initial assertion when converting error to JS value. 2019-07-03 13:48:48 -04:00
guard.rs #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
htmlconstructor.rs Upgrade to Spidermonkey 67. 2019-06-26 18:10:46 -04:00
inheritance.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
interface.rs Update to SpiderMonkey 66. 2019-05-10 22:43:43 -04:00
iterable.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
mod.rs Remove unused code from script* crates 2019-06-02 07:12:26 +02:00
mozmap.rs Reformat 2019-02-26 08:18:33 +01:00
namespace.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
num.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
proxyhandler.rs Upgrade to Spidermonkey 67. 2019-06-26 18:10:46 -04:00
refcounted.rs Remove now-unnecessary must_root and allow(unrooted_must_root) annotations 2019-01-04 15:05:07 -08:00
reflector.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
root.rs Remove default-except-unstable 2019-07-01 15:43:24 +02:00
settings_stack.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
str.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
structuredclone.rs Create a helper API for entering a DOM object's compartment 2019-06-29 19:23:17 +02:00
trace.rs Fix typos, warnings and other nits 2019-07-04 10:26:48 +02:00
utils.rs Upgrade to Spidermonkey 67. 2019-06-26 18:10:46 -04:00
weakref.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
xmlname.rs Fix some new warnings 2019-06-22 14:59:09 +02:00