Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 52e75d6babbd5457eb901247c16430869be4d23f
https://github.com/WebKit/WebKit/commit/52e75d6babbd5457eb901247c16430869be4d23f
Author: Simon Fraser <[email protected]>
Date: 2023-05-13 (Sat, 13 May 2023)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WTF/wtf/NumberOfCores.cpp
M Source/WTF/wtf/NumberOfCores.h
M Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
M Source/WebKit/Shared/WebPreferencesDefaultValues.h
M Source/WebKit/UIProcess/mac/WebViewImpl.mm
Log Message:
-----------
[GPU Process] Disable GPU Process on 2-core macOS devices
https://bugs.webkit.org/show_bug.cgi?id=256681
rdar://109234446
Reviewed by Chris Dumez.
Disable UI-side compositing and GPU Process by default on 2-core macOS devices,
for performance reasons.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WTF/wtf/NumberOfCores.cpp:
(WTF::numberOfPhysicalProcessorCores): New function to get the number of
physical cores. Currently
only has an implementation that works for Darwin OSes.
* Source/WTF/wtf/NumberOfCores.h:
* Source/WebKit/Shared/WebPreferencesDefaultValues.cpp:
(WebKit::defaultUseGPUProcessForDOMRenderingEnabled):
* Source/WebKit/Shared/WebPreferencesDefaultValues.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::WebViewImpl):
Canonical link: https://commits.webkit.org/264056@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes