Lines Matching refs:platformCALayer
35 #include "PlatformCALayer.h"
260 m_layer = PlatformCALayer::create(PlatformCALayer::LayerTypeWebLayer, this);
427 void GraphicsLayerCA::moveOrCopyLayerAnimation(MoveOrCopy operation, const String& animationIdentifier, PlatformCALayer *fromLayer, PlatformCALayer *toLayer)
445 void GraphicsLayerCA::moveOrCopyAnimationsForProperty(MoveOrCopy operation, AnimatedPropertyID property, PlatformCALayer *fromLayer, PlatformCALayer *toLayer)
714 // PlatformCALayer. To determine this we attempt to get the
715 // PlatformCALayer pointer. If this returns a null pointer we assume it's
717 // PlatformCALayer is using a user data pointer in the raw layer, and
720 PlatformCALayer* platformCALayer = PlatformCALayer::platformCALayer(mediaLayer);
721 m_contentsLayer = mediaLayer ? (platformCALayer ? platformCALayer : PlatformCALayer::create(mediaLayer, this)) : 0;
733 // Create the PlatformCALayer to wrap the incoming layer
734 m_contentsLayer = canvasLayer ? PlatformCALayer::create(canvasLayer, this) : 0;
744 PlatformCALayer* currentLayer = PlatformCALayer::platformCALayer(layer);
745 PlatformCALayer* sourceLayer;
760 PlatformCALayer* currClone = it->second.get();
933 PlatformCALayer* childLayer = curChild->layerForSuperlayer();
1034 PlatformCALayer* currLayer = it->second.get();
1049 PlatformCALayer* currLayer = it->second.get();
1155 if (m_structuralLayer && m_structuralLayer->layerType() != PlatformCALayer::LayerTypeTransformLayer)
1159 m_structuralLayer = PlatformCALayer::create(PlatformCALayer::LayerTypeTransformLayer, this);
1163 if (m_structuralLayer && m_structuralLayer->layerType() != PlatformCALayer::LayerTypeLayer)
1167 m_structuralLayer = PlatformCALayer::create(PlatformCALayer::LayerTypeLayer, this);
1195 PlatformCALayer* currLayer = it->second.get();
1263 m_contentsLayer = PlatformCALayer::create(PlatformCALayer::LayerTypeLayer, this);
1274 m_contentsLayer->setMinificationFilter(PlatformCALayer::Trilinear);
1334 PlatformCALayer* maskCALayer = m_maskLayer ? static_cast<GraphicsLayerCA*>(m_maskLayer)->primaryLayer() : 0;
1342 PlatformCALayer* maskClone = maskLayerCloneMap ? maskLayerCloneMap->get(it->first).get() : 0;
1353 RefPtr<PlatformCALayer>replicaRoot = replicatedLayerRoot(replicaState);
1384 PassRefPtr<PlatformCALayer> GraphicsLayerCA::replicatedLayerRoot(ReplicaState& replicaState)
1392 RefPtr<PlatformCALayer> clonedLayerRoot = replicatedLayer->fetchCloneLayers(this, replicaState, RootCloneLevel);
1456 PlatformCALayer* layer = animatedLayer(property);
1480 static void bug7311367Workaround(PlatformCALayer* transformLayer, const TransformationMatrix& transform)
1495 PlatformCALayer* layer = animatedLayer(property);
1520 PlatformCALayer* layer = animatedLayer(property);
1918 PlatformCALayer* GraphicsLayerCA::hostLayerForSublayers() const
1923 PlatformCALayer* GraphicsLayerCA::layerForSuperlayer() const
1928 PlatformCALayer* GraphicsLayerCA::animatedLayer(AnimatedPropertyID property) const
2030 RefPtr<PlatformCALayer> oldLayer = m_layer;
2032 m_layer = PlatformCALayer::create(useTiledLayer ? PlatformCALayer::LayerTypeWebTiledLayer : PlatformCALayer::LayerTypeWebLayer, this);
2108 void GraphicsLayerCA::setupContentsLayer(PlatformCALayer* contentsLayer)
2130 PassRefPtr<PlatformCALayer> GraphicsLayerCA::findOrMakeClone(CloneID cloneID, PlatformCALayer *sourceLayer, LayerMap* clones, CloneLevel cloneLevel)
2135 RefPtr<PlatformCALayer> resultLayer;
2139 RefPtr<PlatformCALayer> dummy;
2155 void GraphicsLayerCA::ensureCloneLayers(CloneID cloneID, RefPtr<PlatformCALayer>& primaryLayer, RefPtr<PlatformCALayer>& structuralLayer, RefPtr<PlatformCALayer>& contentsLayer, CloneLevel cloneLevel)
2204 PassRefPtr<PlatformCALayer> GraphicsLayerCA::fetchCloneLayers(GraphicsLayer* replicaRoot, ReplicaState& replicaState, CloneLevel cloneLevel)
2206 RefPtr<PlatformCALayer> primaryLayer;
2207 RefPtr<PlatformCALayer> structuralLayer;
2208 RefPtr<PlatformCALayer> contentsLayer;
2212 RefPtr<PlatformCALayer> maskClone = static_cast<GraphicsLayerCA*>(m_maskLayer)->fetchCloneLayers(replicaRoot, replicaState, IntermediateCloneLevel);
2218 RefPtr<PlatformCALayer> replicaRoot = replicatedLayerRoot(replicaState);
2232 Vector<RefPtr<PlatformCALayer> > clonalSublayers;
2234 RefPtr<PlatformCALayer> replicaLayer;
2264 RefPtr<PlatformCALayer> childLayer = curChild->fetchCloneLayers(replicaRoot, replicaState, IntermediateCloneLevel);
2275 RefPtr<PlatformCALayer> result;
2295 PassRefPtr<PlatformCALayer> GraphicsLayerCA::cloneLayer(PlatformCALayer *layer, CloneLevel cloneLevel)
2297 PlatformCALayer::LayerType layerType = (layer->layerType() == PlatformCALayer::LayerTypeTransformLayer) ?
2298 PlatformCALayer::LayerTypeTransformLayer : PlatformCALayer::LayerTypeLayer;
2299 RefPtr<PlatformCALayer> newLayer = PlatformCALayer::create(layerType, this);