commit | 702f2a44ba25982a17c6ab19412b05f324c097ae | [log] [tgz] |
---|---|---|
author | Lambros Lambrou <lambroslambrou@chromium.org> | Thu Sep 16 02:39:54 2021 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 16 17:12:26 2021 |
tree | 91fed45bcec1b2461e7beb8cf62303bb1057bf02 | |
parent | 80e96de5ba27312c22350337661cdb3e036c66d8 [diff] |
[ScreenCapturerX11] Fix update-region for monitors with offsets. This CL ensures that each DesktopFrame's updated-region is expressed in the frame's own coordinates, where the top-left is always (0, 0). For example, DesktopFrame::GetFrameDataAtPos() and its callers use this coordinate system. Previously, whenever a RANDR monitor with a non-zero offset was selected, ScreenCapturerX11 would hit some DCHECKs when trying to copy pixels from previous frames, or when capturing new pixels into them from XDAMAGE regions. Bug: None Change-Id: I7b2e8d0449359ee7b263ad60af193e2bf89aa1f4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/232085 Reviewed-by: Joe Downing <joedow@chromium.org> Commit-Queue: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/main@{#35017}
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.