Changeset 230559 in webkit


Ignore:
Timestamp:
Apr 12, 2018 12:01:57 AM (6 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK] Switch to use always complex text code path
https://bugs.webkit.org/show_bug.cgi?id=183285

Reviewed by Michael Catanzaro.

Source/WebKit:

Now that we have branched for 2.20, it's a good time to try using complex text path always. We can simply force
it for GTK+ port and see how it works for the whole release cycle and if we don't notice any issues or
performance regressions we release 2.22 with complex text path forced. A debug env variable is added to switch
back to auto without having to recompile. After 2.22 is released we can make a final decision and remove the env
variable.

  • UIProcess/gtk/WebProcessPoolGtk.cpp:

(WebKit::WebProcessPool::platformInitializeWebProcess): Force complex text code path unless
WEBKIT_FORCE_COMPLEX_TEXT is present and set to 0.

Tools:

Keep the auto mode for the layout tests to avoid having to rebaseline a lot of tests.

  • WebKitTestRunner/gtk/main.cpp:

(main): Set WEBKIT_FORCE_COMPLEX_TEXT to 0 unless it's already present in the environment.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r230557 r230559  
     12018-04-12  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Switch to use always complex text code path
     4        https://bugs.webkit.org/show_bug.cgi?id=183285
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        Now that we have branched for 2.20, it's a good time to try using complex text path always. We can simply force
     9        it for GTK+ port and see how it works for the whole release cycle and if we don't notice any issues or
     10        performance regressions we release 2.22 with complex text path forced. A debug env variable is added to switch
     11        back to auto without having to recompile. After 2.22 is released we can make a final decision and remove the env
     12        variable.
     13
     14        * UIProcess/gtk/WebProcessPoolGtk.cpp:
     15        (WebKit::WebProcessPool::platformInitializeWebProcess): Force complex text code path unless
     16        WEBKIT_FORCE_COMPLEX_TEXT is present and set to 0.
     17
    1182018-04-11  Zan Dobersek  <zdobersek@igalia.com>
    219
  • trunk/Source/WebKit/UIProcess/gtk/WebProcessPoolGtk.cpp

    r228946 r230559  
    9393    parameters.proxySettings = m_networkProxySettings;
    9494
     95    parameters.shouldAlwaysUseComplexTextCodePath = true;
     96    const char* forceComplexText = getenv("WEBKIT_FORCE_COMPLEX_TEXT");
     97    if (forceComplexText && !strcmp(forceComplexText, "0"))
     98        parameters.shouldAlwaysUseComplexTextCodePath = m_alwaysUsesComplexTextCodePath;
     99
    95100#if USE(GSTREAMER)
    96101    parameters.gstreamerOptions = WebCore::extractGStreamerOptionsFromCommandLine();
  • trunk/Tools/ChangeLog

    r230558 r230559  
     12018-04-12  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Switch to use always complex text code path
     4        https://bugs.webkit.org/show_bug.cgi?id=183285
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        Keep the auto mode for the layout tests to avoid having to rebaseline a lot of tests.
     9
     10        * WebKitTestRunner/gtk/main.cpp:
     11        (main): Set WEBKIT_FORCE_COMPLEX_TEXT to 0 unless it's already present in the environment.
     12
    1132018-04-11  Carlos Garcia Campos  <cgarcia@igalia.com>
    214
  • trunk/Tools/WebKitTestRunner/gtk/main.cpp

    r186175 r230559  
    3333int main(int argc, char** argv)
    3434{
     35    g_setenv("WEBKIT_FORCE_COMPLEX_TEXT", "0", FALSE);
     36
    3537    gtk_init(&argc, &argv);
    3638
Note: See TracChangeset for help on using the changeset viewer.