Title: [211782] releases/WebKitGTK/webkit-2.14/Source/WebKit2
- Revision
- 211782
- Author
- carlo...@webkit.org
- Date
- 2017-02-07 01:32:17 -0800 (Tue, 07 Feb 2017)
Log Message
Merge r211083 - [Coordinated Graphics] Ensure that we're in AC mode before trying to create GraphicsLayers
https://bugs.webkit.org/show_bug.cgi?id=167365
Reviewed by Carlos Garcia Campos.
When entering AC on demand, the RenderLayerCompositor wants to create the root GraphicsLayer before the
AcceleratedDrawingArea is in AC mode. This means there's no LayerTreeHost to request the GraphicsLayerFactory,
so no layers are created. Ensure that we are in AC mode before requesting the GraphicsLayerFactory.
No behaviour change, no new tests.
* WebProcess/WebPage/AcceleratedDrawingArea.cpp:
(WebKit::AcceleratedDrawingArea::graphicsLayerFactory):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.14/Source/WebKit2/ChangeLog (211781 => 211782)
--- releases/WebKitGTK/webkit-2.14/Source/WebKit2/ChangeLog 2017-02-07 09:32:11 UTC (rev 211781)
+++ releases/WebKitGTK/webkit-2.14/Source/WebKit2/ChangeLog 2017-02-07 09:32:17 UTC (rev 211782)
@@ -1,3 +1,19 @@
+2017-01-24 Miguel Gomez <mago...@igalia.com>
+
+ [Coordinated Graphics] Ensure that we're in AC mode before trying to create GraphicsLayers
+ https://bugs.webkit.org/show_bug.cgi?id=167365
+
+ Reviewed by Carlos Garcia Campos.
+
+ When entering AC on demand, the RenderLayerCompositor wants to create the root GraphicsLayer before the
+ AcceleratedDrawingArea is in AC mode. This means there's no LayerTreeHost to request the GraphicsLayerFactory,
+ so no layers are created. Ensure that we are in AC mode before requesting the GraphicsLayerFactory.
+
+ No behaviour change, no new tests.
+
+ * WebProcess/WebPage/AcceleratedDrawingArea.cpp:
+ (WebKit::AcceleratedDrawingArea::graphicsLayerFactory):
+
2017-01-19 Carlos Garcia Campos <cgar...@igalia.com>
[GTK] Do not update the backing store state unnecessarily when page visibility changes
Modified: releases/WebKitGTK/webkit-2.14/Source/WebKit2/WebProcess/WebPage/AcceleratedDrawingArea.cpp (211781 => 211782)
--- releases/WebKitGTK/webkit-2.14/Source/WebKit2/WebProcess/WebPage/AcceleratedDrawingArea.cpp 2017-02-07 09:32:11 UTC (rev 211781)
+++ releases/WebKitGTK/webkit-2.14/Source/WebKit2/WebProcess/WebPage/AcceleratedDrawingArea.cpp 2017-02-07 09:32:17 UTC (rev 211782)
@@ -174,6 +174,8 @@
GraphicsLayerFactory* AcceleratedDrawingArea::graphicsLayerFactory()
{
+ if (!m_layerTreeHost)
+ enterAcceleratedCompositingMode(nullptr);
return m_layerTreeHost ? m_layerTreeHost->graphicsLayerFactory() : nullptr;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes