Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f2be77ec4f12e63ec21c3d34238e1ea4d66b1218
      
https://github.com/WebKit/WebKit/commit/f2be77ec4f12e63ec21c3d34238e1ea4d66b1218
  Author: Youenn Fablet <[email protected]>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/cv/ImageTransferSessionVT.h
    M Source/WebCore/platform/graphics/cv/ImageTransferSessionVT.mm
    M Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm

  Log Message:
  -----------
  [macOS Safari] Local and outgoing shared screen is not adjusted to the full 
screen when User resizes the shared window
rdar://161736839
https://bugs.webkit.org/show_bug.cgi?id=299955

Reviewed by Eric Carlson.

The offsets need to be computed based on the input buffer to get proper 
cropping.
We update ImageTransferSessionVT::setCroppingRectangle to take the intrinsic 
size as input to compute the proper offsets.
We update ScreenCaptureKitCaptureSource call site.

Manually tested.

* Source/WebCore/platform/graphics/cv/ImageTransferSessionVT.h:
(WebCore::ImageTransferSessionVT::setCroppingRectangle):
* Source/WebCore/platform/graphics/cv/ImageTransferSessionVT.mm:
(WebCore::ImageTransferSessionVT::setCroppingRectangle):
* Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm:
(WebCore::ScreenCaptureKitCaptureSource::streamDidOutputVideoSampleBuffer):

Canonical link: https://commits.webkit.org/301477@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to