mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
browser(webkit): opt-out from GPU process use (#10164)
This partially reverts
2058f94543
- otherwise our screenshot tests fail on Webkit windows.
Failures: https://github.com/microsoft/playwright/pull/10156
This commit is contained in:
parent
5b604acedb
commit
b0116e7c43
@ -1,2 +1,2 @@
|
|||||||
1574
|
1575
|
||||||
Changed: yurys@chromium.org Fri, Nov 5, 2021 5:41:09 PM
|
Changed: lushnikov@chromium.org Mon Nov 8 18:03:39 HST 2021
|
||||||
|
@ -10100,6 +10100,28 @@ index 26ad3e0b3fcbc818f99fcb7ae06eb75e95e1a2d1..989137fd39ca671a449517120f4ec01e
|
|||||||
#if PLATFORM(GTK)
|
#if PLATFORM(GTK)
|
||||||
GtkSettingsState gtkSettings;
|
GtkSettingsState gtkSettings;
|
||||||
#endif
|
#endif
|
||||||
|
diff --git a/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp b/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
|
||||||
|
index 2d1c6dc88b16b7be6b9b14e8806d758ca176a7a8..a10088a42873a6e06822730c89b9a6559c17989c 100644
|
||||||
|
--- a/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
|
||||||
|
+++ b/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp
|
||||||
|
@@ -163,7 +163,7 @@ bool defaultOfflineWebApplicationCacheEnabled()
|
||||||
|
bool defaultUseGPUProcessForCanvasRenderingEnabled()
|
||||||
|
{
|
||||||
|
#if ENABLE(GPU_PROCESS_BY_DEFAULT) || PLATFORM(WIN)
|
||||||
|
- bool defaultValue = true;
|
||||||
|
+ bool defaultValue = false; // Playwright: force false
|
||||||
|
#else
|
||||||
|
bool defaultValue = false;
|
||||||
|
#endif
|
||||||
|
@@ -190,7 +190,7 @@ bool defaultUseGPUProcessForMediaEnabled()
|
||||||
|
bool defaultUseGPUProcessForWebGLEnabled()
|
||||||
|
{
|
||||||
|
#if PLATFORM(WIN)
|
||||||
|
- bool defaultValue = true;
|
||||||
|
+ bool defaultValue = false; // Playwright: force false
|
||||||
|
#else
|
||||||
|
bool defaultValue = false;
|
||||||
|
#endif
|
||||||
diff --git a/Source/WebKit/Shared/gtk/NativeWebKeyboardEventGtk.cpp b/Source/WebKit/Shared/gtk/NativeWebKeyboardEventGtk.cpp
|
diff --git a/Source/WebKit/Shared/gtk/NativeWebKeyboardEventGtk.cpp b/Source/WebKit/Shared/gtk/NativeWebKeyboardEventGtk.cpp
|
||||||
index c204637774ee803eac42a34cde79aa556f143b82..345f5b08179e3dd239725bed06e48b46bc718336 100644
|
index c204637774ee803eac42a34cde79aa556f143b82..345f5b08179e3dd239725bed06e48b46bc718336 100644
|
||||||
--- a/Source/WebKit/Shared/gtk/NativeWebKeyboardEventGtk.cpp
|
--- a/Source/WebKit/Shared/gtk/NativeWebKeyboardEventGtk.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user