Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 76d363720ff589530a7f03748cd12784d707323e
https://github.com/WebKit/WebKit/commit/76d363720ff589530a7f03748cd12784d707323e
Author: Jer Noble <[email protected]>
Date: 2025-06-02 (Mon, 02 Jun 2025)
Changed paths:
M Source/WTF/wtf/LoggerHelper.h
M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebKit/GPUProcess/GPUProcess.h
M Source/WebKit/GPUProcess/GPUProcess.messages.in
M Source/WebKit/GPUProcess/cocoa/GPUProcessCocoa.mm
M Source/WebKit/UIProcess/Cocoa/GPUProcessProxyCocoa.mm
M Source/WebKit/UIProcess/GPU/GPUProcessProxy.h
M Source/WebKit/UIProcess/mac/WKFullScreenWindowController.mm
Log Message:
-----------
[Mac] Post a notification to the GPU process before taking a snapshot of the
WKWebView when moving to or from fullscreen
rdar://144553860
https://bugs.webkit.org/show_bug.cgi?id=293772
Reviewed by Jean-Yves Avenard.
Send a notification (and wait for a response) to the GPU process before taking
a window server snapshot.
Drive-by fix: Add some logging to WKFullScreenWindowController.
* Source/WebKit/GPUProcess/GPUProcess.h:
* Source/WebKit/GPUProcess/GPUProcess.messages.in:
* Source/WebKit/GPUProcess/cocoa/GPUProcessCocoa.mm:
(WebKit::GPUProcess::postWillTakeSnapshotNotification):
* Source/WebKit/UIProcess/Cocoa/GPUProcessProxyCocoa.mm:
(WebKit::GPUProcessProxy::postWillTakeSnapshotNotification):
* Source/WebKit/UIProcess/GPU/GPUProcessProxy.h:
* Source/WebKit/UIProcess/mac/WKFullScreenWindowController.mm:
(-[WKFullScreenWindowController initWithWindow:webView:page:]):
(-[WKFullScreenWindowController
_continueEnteringFullscreenAfterPostingNotification:]):
(-[WKFullScreenWindowController enterFullScreen:]):
(-[WKFullScreenWindowController
beganEnterFullScreenWithInitialFrame:finalFrame:completionHandler:]):
(-[WKFullScreenWindowController
_continueExitingFullscreenAfterPostingNotificationAndExitImmediately:]):
(-[WKFullScreenWindowController
finishedExitFullScreenAnimationAndExitImmediately:]):
(-[WKFullScreenWindowController logIdentifier]):
(-[WKFullScreenWindowController loggerPtr]):
(-[WKFullScreenWindowController logChannel]):
Canonical link: https://commits.webkit.org/295721@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