Lambros Lambrou
702f2a44ba
[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}
2021-09-16 17:12:26 +00:00
..
2021-09-16 17:12:26 +00:00
2021-09-02 17:33:16 +00:00
2021-09-02 17:33:16 +00:00
2020-02-18 22:36:00 +00:00
2021-08-09 13:12:52 +00:00
2021-09-03 11:28:26 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-09-03 11:28:26 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-04-13 23:30:52 +00:00
2021-04-13 23:30:52 +00:00
2020-10-14 08:26:18 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2019-10-23 23:34:46 +00:00
2021-08-30 19:59:03 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2019-09-17 15:47:29 +00:00
2021-04-09 20:48:32 +00:00
2021-08-09 13:12:52 +00:00
2019-08-21 07:55:07 +00:00
2021-08-09 13:12:52 +00:00
2021-08-10 10:40:03 +00:00
2021-08-09 13:12:52 +00:00
2020-09-07 08:44:24 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2019-12-03 19:17:24 +00:00
2019-12-03 19:17:24 +00:00
2019-12-03 19:17:24 +00:00
2021-04-21 07:04:01 +00:00
2020-05-28 14:11:53 +00:00
2019-12-13 09:36:25 +00:00
2021-07-22 14:00:26 +00:00
2021-07-22 14:00:26 +00:00
2021-07-22 14:00:26 +00:00
2021-08-09 13:12:52 +00:00
2021-07-09 07:49:43 +00:00
2021-08-09 13:12:52 +00:00
2020-09-15 21:34:24 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-16 11:09:16 +00:00
2021-07-08 08:11:50 +00:00
2021-08-09 13:12:52 +00:00
2019-09-17 15:47:29 +00:00
2019-09-17 15:47:29 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-09 13:12:52 +00:00
2021-08-31 16:40:32 +00:00
2019-12-16 09:57:59 +00:00
2021-08-09 13:12:52 +00:00
2021-08-16 11:09:16 +00:00
2021-07-22 14:00:26 +00:00
2021-07-09 07:49:43 +00:00
2021-07-08 08:11:50 +00:00
2020-10-02 07:29:31 +00:00
2019-12-03 19:17:24 +00:00
2019-12-13 09:36:25 +00:00
2019-09-17 15:47:29 +00:00
2021-08-09 13:12:52 +00:00