Changeset 211083 in webkit
- Timestamp:
- Jan 24, 2017 6:10:43 AM (7 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r211079 r211083 1 2017-01-24 Miguel Gomez <magomez@igalia.com> 2 3 [Coordinated Graphics] Ensure that we're in AC mode before trying to create GraphicsLayers 4 https://bugs.webkit.org/show_bug.cgi?id=167365 5 6 Reviewed by Carlos Garcia Campos. 7 8 When entering AC on demand, the RenderLayerCompositor wants to create the root GraphicsLayer before the 9 AcceleratedDrawingArea is in AC mode. This means there's no LayerTreeHost to request the GraphicsLayerFactory, 10 so no layers are created. Ensure that we are in AC mode before requesting the GraphicsLayerFactory. 11 12 No behaviour change, no new tests. 13 14 * WebProcess/WebPage/AcceleratedDrawingArea.cpp: 15 (WebKit::AcceleratedDrawingArea::graphicsLayerFactory): 16 1 17 2017-01-23 Carlos Garcia Campos <cgarcia@igalia.com> 2 18 -
trunk/Source/WebKit2/WebProcess/WebPage/AcceleratedDrawingArea.cpp
r208225 r211083 175 175 GraphicsLayerFactory* AcceleratedDrawingArea::graphicsLayerFactory() 176 176 { 177 if (!m_layerTreeHost) 178 enterAcceleratedCompositingMode(nullptr); 177 179 return m_layerTreeHost ? m_layerTreeHost->graphicsLayerFactory() : nullptr; 178 180 }
Note: See TracChangeset
for help on using the changeset viewer.