commit | 2f194e03254cf349706bc50c6b2a1e6cd6300a5d | [log] [tgz] |
---|---|---|
author | Jan Grulich <grulja@gmail.com> | Fri Feb 11 15:01:08 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 14 20:08:50 2022 |
tree | 57c7d39129acf1ce84362fbae082deaee675e32e | |
parent | 5723d854c98e6bc47c46903ea4edbd6baa335b42 [diff] |
PipeWire capturer: Import DMA-BUFs with correct render node With more GPUs it might happen that server used different render node from the one we pick from the list. This would cause DMA-BUF to fail to import so we use Wayland client library to obtain wl_display in order to initialize EGLDisplay using same render node and have previous approach as a fallback. Also everyone else uses EGL_LINUX_DMA_BUF_EXT target for importing EGLImages from DMA-BUF file descriptors so use it as well to be sure we import buffers same way as they are produced. Bug: chromium:1290566 Bug: webrtc:13429 Change-Id: I32bbb0bdb28c08b6e7fcb3f94009f82a2041b6ee Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/250661 Reviewed-by: Mark Foltz <mfoltz@chromium.org> Commit-Queue: Jan Grulich <grulja@gmail.com> Commit-Queue: Mark Foltz <mfoltz@chromium.org> Cr-Commit-Position: refs/heads/main@{#35997}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.