Changeset 286554 in webkit
- Timestamp:
- Dec 6, 2021, 11:22:54 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
Source/WTF/ChangeLog (modified) (1 diff)
-
Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml (modified) (3 diffs)
-
Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml (modified) (3 diffs)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py (modified) (1 diff)
-
Tools/WebKitTestRunner/TestOptions.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r286543 r286554 1 2021-12-06 Jon Lee <jonlee@apple.com> 2 3 Update GPU Process feature flags 4 https://bugs.webkit.org/show_bug.cgi?id=232547 5 rdar://83905400 6 7 Reviewed by Wenson Hsieh. 8 9 Move features enabled by default to internal. DOM and WebGL are experimental. 10 11 * Scripts/Preferences/WebPreferencesExperimental.yaml: 12 * Scripts/Preferences/WebPreferencesInternal.yaml: 13 1 14 2021-12-06 Nikolas Zimmermann <nzimmermann@igalia.com> 2 15 -
trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml
r286540 r286554 362 362 default: false 363 363 364 CaptureVideoInGPUProcessEnabled:365 type: bool366 humanReadableName: "GPU Process: Video Capture"367 humanReadableDescription: "Enable video capture in GPU Process"368 webcoreBinding: none369 condition: ENABLE(MEDIA_STREAM)370 exposed: [ WebKit ]371 defaultValue:372 WebKit:373 default: WebKit::defaultCaptureVideoInGPUProcessEnabled()374 375 364 ContactPickerAPIEnabled: 376 365 type: bool … … 1373 1362 default: true 1374 1363 1375 UseGPUProcessFor CanvasRenderingEnabled:1376 type: bool 1377 humanReadableName: "GPU Process: CanvasRendering"1378 humanReadableDescription: "Enable canvasrendering in GPU Process"1364 UseGPUProcessForDOMRenderingEnabled: 1365 type: bool 1366 humanReadableName: "GPU Process: DOM Rendering" 1367 humanReadableDescription: "Enable DOM rendering in GPU Process" 1379 1368 webcoreBinding: none 1380 condition: ENABLE(GPU_PROCESS) && !(PLATFORM(GTK) || PLATFORM(WPE))1369 condition: ENABLE(GPU_PROCESS) 1381 1370 exposed: [ WebKit ] 1382 1371 defaultValue: 1383 1372 WebKit: 1384 default: defaultUseGPUProcessForCanvasRenderingEnabled() 1385 1386 UseGPUProcessForMediaEnabled: 1387 type: bool 1388 humanReadableName: "GPU Process: Media" 1389 humanReadableDescription: "Do all media loading and playback in the GPU Process" 1390 webcoreBinding: none 1391 condition: ENABLE(GPU_PROCESS) && !USE(GSTREAMER) 1392 exposed: [ WebKit ] 1393 defaultValue: 1394 WebKit: 1395 default: WebKit::defaultUseGPUProcessForMediaEnabled() 1373 default: defaultUseGPUProcessForDOMRenderingEnabled() 1396 1374 1397 1375 UseGPUProcessForWebGLEnabled: … … 1641 1619 default: false 1642 1620 1643 # FIXME: This is not relevent for WebKitLegacy, so should be excluded from WebKitLegacy entirely.1644 WebRTCPlatformCodecsInGPUProcessEnabled:1645 type: bool1646 humanReadableName: "WebRTC Platform Codecs in GPU Process"1647 humanReadableDescription: "Enable WebRTC Platform Codecs in GPU Process"1648 condition: ENABLE(WEB_RTC)1649 defaultValue:1650 WebKitLegacy:1651 default: false1652 WebKit:1653 default: WebKit::defaultWebRTCCodecsInGPUProcess()1654 WebCore:1655 default: false1656 1657 1621 WebRTCPlatformTCPSocketsEnabled: 1658 1622 type: bool -
trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml
r286543 r286554 155 155 default: WebKit::defaultCaptureAudioInUIProcessEnabled() 156 156 157 CaptureVideoInGPUProcessEnabled: 158 type: bool 159 humanReadableName: "GPU Process: Video Capture" 160 humanReadableDescription: "Enable video capture in GPU Process" 161 webcoreBinding: none 162 condition: ENABLE(MEDIA_STREAM) 163 exposed: [ WebKit ] 164 defaultValue: 165 WebKit: 166 default: WebKit::defaultCaptureVideoInGPUProcessEnabled() 167 157 168 CaptureVideoInUIProcessEnabled: 158 169 type: bool … … 834 845 default: true 835 846 836 UseGPUProcessForDOMRenderingEnabled: 837 type: bool 838 humanReadableName: "GPU Process: DOM Rendering" 839 humanReadableDescription: "Enable DOM rendering in GPU Process" 840 webcoreBinding: none 841 condition: ENABLE(GPU_PROCESS) 842 exposed: [ WebKit ] 843 defaultValue: 844 WebKit: 845 default: defaultUseGPUProcessForDOMRenderingEnabled() 847 UseGPUProcessForCanvasRenderingEnabled: 848 type: bool 849 humanReadableName: "GPU Process: Canvas Rendering" 850 humanReadableDescription: "Enable canvas rendering in GPU Process" 851 webcoreBinding: none 852 condition: ENABLE(GPU_PROCESS) && !(PLATFORM(GTK) || PLATFORM(WPE)) 853 exposed: [ WebKit ] 854 defaultValue: 855 WebKit: 856 default: defaultUseGPUProcessForCanvasRenderingEnabled() 857 858 UseGPUProcessForMediaEnabled: 859 type: bool 860 humanReadableName: "GPU Process: Media" 861 humanReadableDescription: "Do all media loading and playback in the GPU Process" 862 webcoreBinding: none 863 condition: ENABLE(GPU_PROCESS) && !USE(GSTREAMER) 864 exposed: [ WebKit ] 865 defaultValue: 866 WebKit: 867 default: WebKit::defaultUseGPUProcessForMediaEnabled() 846 868 847 869 UseSceneKitForModel: … … 929 951 WebKit: 930 952 default: true 953 954 # FIXME: This is not relevant for WebKitLegacy, so should be excluded from WebKitLegacy entirely. 955 WebRTCPlatformCodecsInGPUProcessEnabled: 956 type: bool 957 humanReadableName: "GPU Process: WebRTC Platform Codecs" 958 humanReadableDescription: "Enable WebRTC Platform Codecs in GPU Process" 959 condition: ENABLE(WEB_RTC) 960 defaultValue: 961 WebKitLegacy: 962 default: false 963 WebKit: 964 default: WebKit::defaultWebRTCCodecsInGPUProcess() 965 WebCore: 966 default: false 931 967 932 968 WebSQLEnabled: -
trunk/Tools/ChangeLog
r286552 r286554 1 2021-12-06 Jon Lee <jonlee@apple.com> 2 3 Update GPU Process feature flags 4 https://bugs.webkit.org/show_bug.cgi?id=232547 5 rdar://83905400 6 7 Reviewed by Wenson Hsieh. 8 9 * Scripts/webkitpy/layout_tests/run_webkit_tests.py: 10 (parse_args): Update features that are set when using `run-webkit-tests --use-gpu-process`. 11 * WebKitTestRunner/TestOptions.cpp: 12 (WTR::TestOptions::defaults): Turn off DOM Rendering on layout test bots for the time being. 13 1 14 2021-12-06 Matt Gilligan <matthew_gilligan@apple.com> 2 15 -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r285132 r286554 375 375 if not options.internal_feature: 376 376 options.internal_feature = [] 377 options.internal_feature.append('UseGPUProcessForMediaEnabled')378 377 options.internal_feature.append('CaptureAudioInGPUProcessEnabled') 379 378 options.internal_feature.append('CaptureVideoInGPUProcessEnabled') 380 379 options.internal_feature.append('UseGPUProcessForCanvasRenderingEnabled') 381 options.internal_feature.append('UseGPUProcessForDOMRenderingEnabled') 380 options.internal_feature.append('UseGPUProcessForMediaEnabled') 381 options.internal_feature.append('WebRTCPlatformCodecsInGPUProcessEnabled') 382 382 if not options.experimental_feature: 383 383 options.experimental_feature = [] 384 options.experimental_feature.append(' WebRTCPlatformCodecsInGPUProcessEnabled')384 options.experimental_feature.append('UseGPUProcessForDOMRenderingEnabled') 385 385 options.experimental_feature.append('UseGPUProcessForWebGLEnabled') 386 386 if options.result_report_flavor: -
trunk/Tools/WebKitTestRunner/TestOptions.cpp
r284765 r286554 125 125 { "VP9DecoderEnabled", false }, 126 126 #endif 127 #if ENABLE(GPU_PROCESS) 128 { "UseGPUProcessForDOMRenderingEnabled", false }, 129 #endif 127 130 #if ENABLE(GPU_PROCESS) && ENABLE(WEBGL) 128 131 { "UseGPUProcessForWebGLEnabled", false },
Note:
See TracChangeset
for help on using the changeset viewer.