Changeset 272810 in webkit


Ignore:
Timestamp:
Feb 12, 2021 2:01:59 PM (17 months ago)
Author:
youenn@apple.com
Message:

Enable video capture in GPUProcess by default on MacOS
https://bugs.webkit.org/show_bug.cgi?id=221750

Reviewed by Eric Carlson.

Manually tested.

  • Shared/WebPreferencesDefaultValues.cpp:

(WebKit::defaultCaptureVideoInGPUProcessEnabled):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r272808 r272810  
     12021-02-12  Youenn Fablet  <youenn@apple.com>
     2
     3        Enable video capture in GPUProcess by default on MacOS
     4        https://bugs.webkit.org/show_bug.cgi?id=221750
     5
     6        Reviewed by Eric Carlson.
     7
     8        Manually tested.
     9
     10        * Shared/WebPreferencesDefaultValues.cpp:
     11        (WebKit::defaultCaptureVideoInGPUProcessEnabled):
     12
    1132021-02-12  Jer Noble  <jer.noble@apple.com>
    214
  • trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp

    r272735 r272810  
    204204bool defaultCaptureVideoInGPUProcessEnabled()
    205205{
    206 #if HAVE(SYSTEM_FEATURE_FLAGS)
    207     return isFeatureFlagEnabled("gpu_process_webrtc");
    208 #endif
    209 
    210     return false;
    211 }
    212 
    213 #endif // ENABLE(MEDIA_STREAM)
    214 
    215 #if ENABLE(WEB_RTC)
    216 
    217 bool defaultWebRTCCodecsInGPUProcess()
    218 {
    219206#if PLATFORM(MAC)
    220207    return true;
     
    226213}
    227214
     215#endif // ENABLE(MEDIA_STREAM)
     216
     217#if ENABLE(WEB_RTC)
     218
     219bool defaultWebRTCCodecsInGPUProcess()
     220{
     221#if PLATFORM(MAC)
     222    return true;
     223#elif HAVE(SYSTEM_FEATURE_FLAGS)
     224    return isFeatureFlagEnabled("gpu_process_webrtc");
     225#else
     226    return false;
     227#endif
     228}
     229
    228230#endif // ENABLE(WEB_RTC)
    229231
Note: See TracChangeset for help on using the changeset viewer.