[webkit-reviews] review granted: [Bug 195879] Assertion failure !isInAcceleratedCompositingMode() in DrawingAreaProxyCoordinatedGraphics::incorporateUpdate when forceCompositingMode is turned on : [Attachment 365008] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 22 04:58:55 PDT 2019


Carlos Garcia Campos <cgarcia at igalia.com> has granted Tomoki Imai
<Tomoki.Imai at sony.com>'s request for review:
Bug 195879: Assertion failure !isInAcceleratedCompositingMode() in
DrawingAreaProxyCoordinatedGraphics::incorporateUpdate when
forceCompositingMode is turned on
https://bugs.webkit.org/show_bug.cgi?id=195879

Attachment 365008: Patch

https://bugs.webkit.org/attachment.cgi?id=365008&action=review




--- Comment #5 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Comment on attachment 365008
  --> https://bugs.webkit.org/attachment.cgi?id=365008
Patch

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

> Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:545
> -    if (webViewBase->priv->acceleratedBackingStore &&
drawingArea->isInAcceleratedCompositingMode())
> +    if (webViewBase->priv->acceleratedBackingStore &&
(drawingArea->isInAcceleratedCompositingMode() ||
drawingArea->alwaysUseCompositing()))

I don't think we want to do this. If we are still transitioning,
incorporateUpdate updated the backing store, so if at this point we haven't
entered AC mode, we want to paint the new backing store, since the accelerated
backing store won't have anything to paint yet.


More information about the webkit-reviews mailing list