⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 267691 in webkit


Ignore:
Timestamp:
Sep 27, 2020, 9:39:28 PM (6 years ago)
Author:
Lauro Moura
Message:

REGRESSION(r267688) [GTK] Many compositing timeouts
https://bugs.webkit.org/show_bug.cgi?id=217044

Reviewed by Darin Adler.

Especulative fix by adding missing finalize step to
updateRendering (or calling isolatedUpdateRendering).

Covered by existing tests.

  • WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:

(WebKit::DrawingAreaCoordinatedGraphics::updateBackingStoreState):
Call finalizeUpdateRendering.
(WebKit::DrawingAreaCoordinatedGraphics::display): Ditto.

  • WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostTextureMapper.cpp:

(WebKit::LayerTreeHost::flushAndRenderLayers): Call
isolatedUpdateRendering instead of updateRendering on the corePage().

Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r267688 r267691  
     12020-09-27  Lauro Moura  <lmoura@igalia.com>
     2
     3        REGRESSION(r267688) [GTK] Many compositing timeouts
     4        https://bugs.webkit.org/show_bug.cgi?id=217044
     5
     6        Reviewed by Darin Adler.
     7
     8        Especulative fix by adding missing finalize step to
     9        updateRendering (or calling isolatedUpdateRendering).
     10
     11        Covered by existing tests.
     12
     13        * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:
     14        (WebKit::DrawingAreaCoordinatedGraphics::updateBackingStoreState):
     15        Call finalizeUpdateRendering.
     16        (WebKit::DrawingAreaCoordinatedGraphics::display): Ditto.
     17        * WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostTextureMapper.cpp:
     18        (WebKit::LayerTreeHost::flushAndRenderLayers): Call
     19        isolatedUpdateRendering instead of updateRendering on the corePage().
     20
    1212020-09-25  Simon Fraser  <simon.fraser@apple.com>
    222
  • trunk/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp

    r263259 r267691  
    415415        m_webPage.setSize(size);
    416416        m_webPage.updateRendering();
     417        m_webPage.finalizeRenderingUpdate({ });
    417418        m_webPage.flushPendingEditorStateUpdate();
    418419        m_webPage.scrollMainFrameIfNotAtMaxScrollPosition(scrollOffset);
     
    752753
    753754    m_webPage.updateRendering();
     755    m_webPage.finalizeRenderingUpdate({ });
    754756    m_webPage.flushPendingEditorStateUpdate();
    755757
  • trunk/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostTextureMapper.cpp

    r262172 r267691  
    197197        return;
    198198
    199     m_webPage.corePage()->updateRendering();
     199    m_webPage.corePage()->isolatedUpdateRendering();
    200200
    201201    if (!flushPendingLayerChanges())
Note: See TracChangeset for help on using the changeset viewer.