Repository navigation
Media player rendering with GL textures - #23483
Conversation
|
Heads up! This PR modifies the following files:
|
|
☔ The latest upstream changes (presumably #23485) made this pull request unmergeable. Please resolve the merge conflicts. |
3e97f8a to
3e803e6
Compare
|
☔ The latest upstream changes (presumably #23506) made this pull request unmergeable. Please resolve the merge conflicts. |
|
☔ The latest upstream changes (presumably #23517) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Is this waiting for review right now? |
Is still a working progress :( It would be great a glance to check if the sketched ideas make senss. |
|
☔ The latest upstream changes (presumably #23154) made this pull request unmergeable. Please resolve the merge conflicts. |
d14bc2a to
2c3017a
Compare
|
☔ The latest upstream changes (presumably #23468) made this pull request unmergeable. Please resolve the merge conflicts. |
848f777 to
72e0941
Compare
|
Ready for review :) |
23e9746 to
4748553
Compare
1726eef to
a5949a9
Compare
|
@bors-servo try=windows |
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 servo/media#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 -->
|
💔 Test failed - status-taskcluster |
|
You can test the simpleservo changes locally using |
|
Yes, that worked on my laptop (OSX) |
|
@bors-servo try=windows |
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 servo/media#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 -->
|
💔 Test failed - status-taskcluster |
|
@bors-servo r+ |
|
📌 Commit 5d30716 has been approved by |
|
💔 Test failed - status-taskcluster |
|
In |
|
@bors-servo r+ |
|
📌 Commit 4fe1291 has been approved by |
|
☀️ Test successful - linux-rel-css, linux-rel-wpt, status-taskcluster |
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 servo/media#270
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsIn order to test it you must launch servo as
./mach run -- --pref media.glvideo.enabled [...]This change is