Lambros Lambrou d4a6c3f76f New macOS screen-capturer which uses ScreenCaptureKit.
This supports:
* Full-screen capture from any display, via SelectSource().
* Changing the display, via SelectSource(), while capture is running.
* Handling screen-resolution changes while capture is running.
* Capturing from high-DPI displays at their native resolution.
* Basic damage-tracking: the frame's updated-region is either set to
  empty, or the full frame area.

It currently does not support:
* Window capture.
* Excluded windows.
* Full-desktop capture across all displays.
* More detailed damage-tracking.

The capturer is not yet enabled. Followup CLs will add a
DesktopCaptureOption to enable this capturer on supported versions of
macOS.

Bug: chromium:327458809
Change-Id: Ie619f6c6c1d6edf0fb9320d4fece578754a732dc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/352544
Reviewed-by: Johannes Kron <kron@webrtc.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Lambros Lambrou <lambroslambrou@chromium.org>
Cr-Commit-Position: refs/heads/main@{#42510}
2024-06-18 21:12:12 +00:00

23 lines
368 B
Python

include_rules = [
"+system_wrappers",
"+third_party/libyuv",
]
specific_include_rules = {
"desktop_frame_cgimage\.h": [
"+sdk/objc",
],
"desktop_frame_iosurface\.h": [
"+sdk/objc",
],
"desktop_frame_provider\.h": [
"+sdk/objc",
],
"screen_capturer_mac\.mm": [
"+sdk/objc",
],
"screen_capturer_sck\.mm": [
"+sdk/objc",
],
}