Changeset 222027 in webkit


Ignore:
Timestamp:
Sep 14, 2017 9:43:32 AM (7 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK][Wayland] Flickering when resizing the window
https://bugs.webkit.org/show_bug.cgi?id=176774

Reviewed by Michael Catanzaro.

This regressed when we switched to always start the wayland compositor. In
AcceleratedDrawingAreaProxy::waitForAndDispatchDidUpdateBackingStoreState() we check if the nested compositor is
running, which is always true now (if EGL and the required extensions are available). We should check if we are
in AC mode instead.

  • UIProcess/AcceleratedDrawingAreaProxy.cpp:

(WebKit::AcceleratedDrawingAreaProxy::waitForAndDispatchDidUpdateBackingStoreState):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r222017 r222027  
     12017-09-14  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK][Wayland] Flickering when resizing the window
     4        https://bugs.webkit.org/show_bug.cgi?id=176774
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        This regressed when we switched to always start the wayland compositor. In
     9        AcceleratedDrawingAreaProxy::waitForAndDispatchDidUpdateBackingStoreState() we check if the nested compositor is
     10        running, which is always true now (if EGL and the required extensions are available). We should check if we are
     11        in AC mode instead.
     12
     13        * UIProcess/AcceleratedDrawingAreaProxy.cpp:
     14        (WebKit::AcceleratedDrawingAreaProxy::waitForAndDispatchDidUpdateBackingStoreState):
     15
    1162017-09-14  Yusuke Suzuki  <utatane.tea@gmail.com>
    217
  • trunk/Source/WebKit/UIProcess/AcceleratedDrawingAreaProxy.cpp

    r218457 r222027  
    211211    if (!m_webPageProxy.isViewVisible())
    212212        return;
    213 
    214213#if PLATFORM(WAYLAND) && USE(EGL)
    215214    // Never block the UI process in Wayland when waiting for DidUpdateBackingStoreState after a resize,
    216215    // because the nested compositor needs to handle the web process requests that happens while resizing.
    217     if (PlatformDisplay::sharedDisplay().type() == PlatformDisplay::Type::Wayland && WaylandCompositor::singleton().isRunning())
     216    if (PlatformDisplay::sharedDisplay().type() == PlatformDisplay::Type::Wayland && isInAcceleratedCompositingMode())
    218217        return;
    219218#endif
Note: See TracChangeset for help on using the changeset viewer.