/* \reimp (GraphicsLayer.h) */ void GraphicsLayerTextureMapper::flushCompositingStateForThisLayerOnly() { prepareBackingStoreIfNeeded(); commitLayerChanges(); m_layer->syncAnimations(); updateBackingStoreIfNeeded(); }
void GraphicsLayerTextureMapper::updateBackingStoreIncludingSubLayers() { if (!m_layer.textureMapper()) return; updateBackingStoreIfNeeded(); if (maskLayer()) downcast<GraphicsLayerTextureMapper>(*maskLayer()).updateBackingStoreIfNeeded(); if (replicaLayer()) downcast<GraphicsLayerTextureMapper>(*replicaLayer()).updateBackingStoreIfNeeded(); for (auto* child : children()) downcast<GraphicsLayerTextureMapper>(*child).updateBackingStoreIncludingSubLayers(); }