[webkit-changes] [WebKit/WebKit] 56f0f4: Enable GPU Process and UI side compositing on macOS

Ryosuke Niwa noreply at github.com
Wed Apr 5 12:13:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56f0f4203278a87bd40c7509d28c5c1ed61d0568
      https://github.com/WebKit/WebKit/commit/56f0f4203278a87bd40c7509d28c5c1ed61d0568
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WebKit/UIProcess/mac/WebViewImpl.mm
    M Tools/MiniBrowser/mac/SettingsController.m
    M Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
    M Tools/Scripts/webkitpy/port/driver.py
    M Tools/WebKitTestRunner/Options.cpp
    M Tools/WebKitTestRunner/TestOptions.cpp
    M Tools/WebKitTestRunner/TestOptions.h
    M Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm
    M Tools/WebKitTestRunner/mac/main.mm

  Log Message:
  -----------
  Enable GPU Process and UI side compositing on macOS
https://bugs.webkit.org/show_bug.cgi?id=254725

Reviewed by Simon Fraser.

Enable GPU process for DOM rendering and UI side compositing by default on macOS.

Also add options to disable these two features to run-webkit-tests.

* Source/WTF/wtf/PlatformEnable.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::WebViewImpl):
* Tools/MiniBrowser/mac/SettingsController.m:
(-[SettingsController useUISideCompositing]):
* Tools/Scripts/webkitpy/api_tests/runner.py:
(Runner.command_for_port):
* Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args):
* Tools/Scripts/webkitpy/port/driver.py:
(Driver.cmd_line):
* Tools/WebKitTestRunner/Options.cpp:
(WTR::handleOptionNoRemoteLayerTree):
(WTR::OptionsHandler::OptionsHandler):
* Tools/WebKitTestRunner/TestOptions.cpp:
(WTR::TestOptions::defaults):
* Tools/WebKitTestRunner/TestOptions.h:
(WTR::TestOptions::noUseRemoteLayerTree const):
* Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView):
* Tools/WebKitTestRunner/mac/main.mm:
(setDefaultsToConsistentValuesForTesting):

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




More information about the webkit-changes mailing list