[Webkit-unassigned] [Bug 191632] Align Mac WK2 layer flush throttling with iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 14 11:37:21 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=191632

--- Comment #8 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 354807
  --> https://bugs.webkit.org/attachment.cgi?id=354807
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=354807&action=review

> Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:221
> +    m_hasPendingFlush = true;
> +
> +    if (m_layerTreeStateIsFrozen) {
> +        m_isLayerFlushThrottlingTemporarilyDisabledForInteraction = false;
>          return;
> +    }
> +
> +    if (m_isLayerFlushThrottlingTemporarilyDisabledForInteraction) {
> +        m_isLayerFlushThrottlingTemporarilyDisabledForInteraction = false;
> +        scheduleLayerFlushRunLoopObserver();
> +        m_layerFlushThrottlingTimer.stop();
> +        return;
> +    }
> +
> +    if (m_layerFlushThrottlingTimer.isActive()) {
> +        ASSERT(m_isThrottlingLayerFlushes);
> +        return;
> +    }
> +
> +    if (m_isThrottlingLayerFlushes) {
> +        startLayerFlushThrottlingTimer();
> +        return;
> +    }

So now this code exists in both TiledCoreAnimationDrawingArea and RemoteLayerTreeDrawingArea. Can we share code?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181114/b4942989/attachment.html>


More information about the webkit-unassigned mailing list