diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-07-04 23:28:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-04 23:28:28 -0400 |
commit | 0dc17af7f0dab01f673894b6ac7c84cb50d03603 (patch) | |
tree | a33b26de57aeee002058f6771eb5c4e667b56552 /components/script/dom/baseaudiocontext.rs | |
parent | ee785f6f2370929712915a0eab563e39e2b32592 (diff) | |
parent | 4fe129109bbc40a32e491825d77a67fa8e5e9662 (diff) | |
download | servo-0dc17af7f0dab01f673894b6ac7c84cb50d03603.tar.gz servo-0dc17af7f0dab01f673894b6ac7c84cb50d03603.zip |
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 -->
Diffstat (limited to 'components/script/dom/baseaudiocontext.rs')
0 files changed, 0 insertions, 0 deletions