Title: [257710] trunk/Source
- Revision
- 257710
- Author
- [email protected]
- Date
- 2020-03-02 07:41:30 -0800 (Mon, 02 Mar 2020)
Log Message
Enable capture in GPUProcess by default for recent platforms only
https://bugs.webkit.org/show_bug.cgi?id=208437
Reviewed by Eric Carlson.
Source/WebKit:
No change of behavior.
* Shared/WebPreferencesDefaultValues.h:
Source/WTF:
* wtf/PlatformUse.h:
Introduce USE(GPU_PROCESS)
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (257709 => 257710)
--- trunk/Source/WTF/ChangeLog 2020-03-02 15:34:07 UTC (rev 257709)
+++ trunk/Source/WTF/ChangeLog 2020-03-02 15:41:30 UTC (rev 257710)
@@ -1,3 +1,13 @@
+2020-03-02 youenn fablet <[email protected]>
+
+ Enable capture in GPUProcess by default for recent platforms only
+ https://bugs.webkit.org/show_bug.cgi?id=208437
+
+ Reviewed by Eric Carlson.
+
+ * wtf/PlatformUse.h:
+ Introduce USE(GPU_PROCESS)
+
2020-02-29 Yusuke Suzuki <[email protected]>
Remove std::lock_guard
Modified: trunk/Source/WTF/wtf/PlatformUse.h (257709 => 257710)
--- trunk/Source/WTF/wtf/PlatformUse.h 2020-03-02 15:34:07 UTC (rev 257709)
+++ trunk/Source/WTF/wtf/PlatformUse.h 2020-03-02 15:41:30 UTC (rev 257710)
@@ -323,3 +323,9 @@
#if PLATFORM(COCOA) && !(PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101600)
#define USE_CTFONTTRANSFORMGLYPHSWITHLANGUAGE 1
#endif
+
+#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101600) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000)
+#define USE_GPU_PROCESS 1
+#else
+#define USE_GPU_PROCESS 0
+#endif
Modified: trunk/Source/WebKit/ChangeLog (257709 => 257710)
--- trunk/Source/WebKit/ChangeLog 2020-03-02 15:34:07 UTC (rev 257709)
+++ trunk/Source/WebKit/ChangeLog 2020-03-02 15:41:30 UTC (rev 257710)
@@ -1,3 +1,14 @@
+2020-03-02 youenn fablet <[email protected]>
+
+ Enable capture in GPUProcess by default for recent platforms only
+ https://bugs.webkit.org/show_bug.cgi?id=208437
+
+ Reviewed by Eric Carlson.
+
+ No change of behavior.
+
+ * Shared/WebPreferencesDefaultValues.h:
+
2020-03-02 Youenn Fablet <[email protected]>
LocalSampleBufferDisplayLayer is not computing the correct bounds/position in GPUProcess
Modified: trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h (257709 => 257710)
--- trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h 2020-03-02 15:34:07 UTC (rev 257709)
+++ trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h 2020-03-02 15:41:30 UTC (rev 257710)
@@ -232,7 +232,7 @@
#define DEFAULT_CONIC_GRADIENT_ENABLED false
#endif
-#if PLATFORM(COCOA)
+#if USE(GPU_PROCESS)
#define DEFAULT_CAPTURE_AUDIO_IN_GPUPROCESS true
#define DEFAULT_CAPTURE_AUDIO_IN_UIPROCESS false
#define DEFAULT_CAPTURE_VIDEO_IN_GPUPROCESS true
@@ -240,7 +240,12 @@
#define DEFAULT_WEBRTC_CODECS_IN_GPUPROCESS true
#else
#define DEFAULT_CAPTURE_AUDIO_IN_GPUPROCESS false
+#if PLATFORM(MAC)
+#define DEFAULT_CAPTURE_AUDIO_IN_UIPROCESS true
+#else
#define DEFAULT_CAPTURE_AUDIO_IN_UIPROCESS false
+#endif
+
#define DEFAULT_CAPTURE_VIDEO_IN_GPUPROCESS false
#define DEFAULT_CAPTURE_VIDEO_IN_UIPROCESS false
#define DEFAULT_WEBRTC_CODECS_IN_GPUPROCESS false
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes