The root cause is because the offset used in DxgiOutputDuplicator should always depend on the position of the monitor in the system instead of the offset in the target frame. Otherwise, once switching between two monitors with different screen size, the updated region in the context would base on the old monitor, and cause the copied regions to be out of the source DesktopFrame. This issue also impacts the SpreadContextChange() function, the updated region stores in the Context should also only depend on the position of the monitor. BUG=chromium:706797 Review-Url: https://codereview.webrtc.org/2801433002 Cr-Commit-Position: refs/heads/master@{#17548}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.