commit | a5f3018c24dd809ea9fbdba48b585bc2eb95425f | [log] [tgz] |
---|---|---|
author | Austin Orion <auorion@microsoft.com> | Tue Mar 08 23:47:17 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 09 17:14:42 2022 |
tree | 49f57f6471d7441ef6915db2452598193cddae80 | |
parent | 878c0299b3906155215712fc9646d85e355df525 [diff] |
[DesktopCapture][WGC] Avoid artifacts when capture source is resized This CL fixes the issue where artifacts appear during capture with WGC when the capture source is resized. A video of the issue is available here: https://bugs.chromium.org/p/webrtc/issues/detail?id=9273#c44 The solution is to use CopySubresourceRegion instead of CopyResource to only copy valid data into our texture. Additionally, we moved the call to CreateMappedTexture to before the call to CopySubresourceRegion, as the latter requires both textures to be of the same size. Bug: webrtc:9273 Change-Id: I114458d95cbf58550ff653a985dd84db4741e0f8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/254100 Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Austin Orion <auorion@microsoft.com> Cr-Commit-Position: refs/heads/main@{#36163}
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.