Skip to content
  • simon.fraser@apple.com's avatar
    Final part of "sync" to "flush" renaming · df44c011
    simon.fraser@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=98430
    
    Reviewed by Tim Horton.
    
    Change method names on GraphicsLayer and GraphicsLayerClient that
    refer to "sync" to use the term "flush" instead, to be consistent
    with the rest of the code.
    
    Source/WebCore:
    
    * platform/graphics/GraphicsLayer.h:
    (WebCore::GraphicsLayer::flushCompositingState):
    (WebCore::GraphicsLayer::flushCompositingStateForThisLayerOnly):
    * platform/graphics/GraphicsLayerClient.h:
    (GraphicsLayerClient):
    * platform/graphics/blackberry/GraphicsLayerBlackBerry.h:
    (WebCore::GraphicsLayerBlackBerry::notifyFlushRequired):
    * platform/graphics/blackberry/LayerWebKitThread.cpp:
    (WebCore::LayerWebKitThread::setNeedsCommit):
    * platform/graphics/ca/GraphicsLayerCA.cpp:
    (WebCore::GraphicsLayerCA::flushCompositingState):
    (WebCore::GraphicsLayerCA::flushCompositingStateForThisLayerOnly):
    (WebCore::GraphicsLayerCA::platformCALayerDidCreateTiles):
    (WebCore::GraphicsLayerCA::positionForCloneRootLayer):
    (WebCore::GraphicsLayerCA::noteLayerPropertyChanged):
    * platform/graphics/ca/GraphicsLayerCA.h:
    (GraphicsLayerCA):
    * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
    (WebCore::GraphicsLayerTextureMapper::notifyChange):
    (WebCore::GraphicsLayerTextureMapper::flushCompositingStateForThisLayerOnly):
    (WebCore::GraphicsLayerTextureMapper::flushCompositingState):
    * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
    (GraphicsLayerTextureMapper):
    * platform/graphics/texmap/TextureMapperLayer.cpp:
    (WebCore::TextureMapperLayer::flushCompositingState):
    (WebCore::TextureMapperLayer::flushCompositingStateSelf):
    * platform/graphics/texmap/TextureMapperLayer.h:
    (TextureMapperLayer):
    * rendering/RenderLayerBacking.cpp:
    (WebCore::RenderLayerBacking::notifyFlushRequired):
    * rendering/RenderLayerBacking.h:
    (RenderLayerBacking):
    * rendering/RenderLayerCompositor.cpp:
    (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
    * rendering/RenderLayerCompositor.h:
    (WebCore::RenderLayerCompositor::notifyFlushRequired):
    
    Source/WebKit/blackberry:
    
    * Api/WebOverlay.cpp:
    (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::notifyFlushRequired):
    * Api/WebOverlay_p.h:
    (WebOverlayPrivateWebKitThread):
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPagePrivate::notifyFlushRequired):
    * Api/WebPage_p.h:
    (WebPagePrivate):
    * WebKitSupport/DefaultTapHighlight.cpp:
    (BlackBerry::WebKit::DefaultTapHighlight::notifyFlushRequired):
    * WebKitSupport/DefaultTapHighlight.h:
    (DefaultTapHighlight):
    * WebKitSupport/InspectorOverlayBlackBerry.cpp:
    (BlackBerry::WebKit::InspectorOverlay::notifyFlushRequired):
    * WebKitSupport/InspectorOverlayBlackBerry.h:
    (InspectorOverlay):
    * WebKitSupport/SelectionOverlay.cpp:
    (BlackBerry::WebKit::SelectionOverlay::notifyFlushRequired):
    * WebKitSupport/SelectionOverlay.h:
    (SelectionOverlay):
    
    Source/WebKit/efl:
    
    * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
    (WebCore::AcceleratedCompositingContext::syncLayersNow):
    (WebCore::AcceleratedCompositingContext::attachRootGraphicsLayer):
    
    Source/WebKit/gtk:
    
    * WebCoreSupport/AcceleratedCompositingContext.h:
    (AcceleratedCompositingContext):
    * WebCoreSupport/AcceleratedCompositingContextCairo.cpp:
    (WebKit::AcceleratedCompositingContext::attachRootGraphicsLayer):
    (WebKit::AcceleratedCompositingContext::resizeRootLayer):
    (WebKit::AcceleratedCompositingContext::syncLayersNow):
    (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
    * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
    (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
    (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
    * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
    (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
    (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
    
    Source/WebKit/mac:
    
    * WebView/WebView.mm:
    
    Source/WebKit/qt:
    
    * WebCoreSupport/PageClientQt.cpp:
    (WebCore::TextureMapperLayerClientQt::syncRootLayer):
    
    Source/WebKit/win:
    
    * WebView.cpp:
    (WebView::notifyFlushRequired):
    (WebView::flushPendingGraphicsLayerChanges):
    * WebView.h:
    
    Source/WebKit2:
    
    * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
    (WebKit::LayerTreeRenderer::paintToCurrentGLContext):
    (WebKit::LayerTreeRenderer::flushLayerChanges):
    * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
    (WebKit::LayerTreeRenderer::notifyFlushRequired):
    * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
    (WebCore::CoordinatedGraphicsLayer::didChangeLayerState):
    (WebCore::CoordinatedGraphicsLayer::didChangeAnimatedProperties):
    (WebCore::CoordinatedGraphicsLayer::didChangeChildren):
    (WebCore::CoordinatedGraphicsLayer::didChangeFilters):
    (WebCore::CoordinatedGraphicsLayer::setContentsNeedsDisplay):
    (WebCore::CoordinatedGraphicsLayer::setContentsToCanvas):
    (WebCore::CoordinatedGraphicsLayer::flushCompositingState):
    (WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly):
    * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
    (CoordinatedGraphicsLayer):
    * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
    (WebKit::LayerTreeCoordinator::flushPendingLayerChanges):
    (WebKit::LayerTreeCoordinator::notifyFlushRequired):
    * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h:
    (LayerTreeCoordinator):
    * WebProcess/WebPage/ca/LayerTreeHostCA.cpp:
    (WebKit::LayerTreeHostCA::notifyFlushRequired):
    (WebKit::LayerTreeHostCA::flushPendingLayerChanges):
    * WebProcess/WebPage/ca/LayerTreeHostCA.h:
    (LayerTreeHostCA):
    * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
    (WebKit::LayerTreeHostGtk::notifyFlushRequired):
    (WebKit::LayerTreeHostGtk::flushPendingLayerChanges):
    * WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
    (LayerTreeHostGtk):
    * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
    (TiledCoreAnimationDrawingArea):
    * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
    (WebKit::TiledCoreAnimationDrawingArea::notifyFlushRequired):
    (WebKit::TiledCoreAnimationDrawingArea::flushLayers):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    df44c011