Home | History | Annotate | Download | only in trees

Lines Matching refs:layer_impl

13 #include "cc/layers/layer_impl.h"
23 scoped_ptr<LayerImpl> layer_impl) {
24 if (!layer_impl)
27 OwnedLayerImplList& children = layer_impl->children();
33 CollectExistingLayerImplRecursive(old_layers, layer_impl->TakeMaskLayer());
34 CollectExistingLayerImplRecursive(old_layers, layer_impl->TakeReplicaLayer());
36 int id = layer_impl->id();
37 old_layers->set(id, layer_impl.Pass());
82 scoped_ptr<LayerImpl> layer_impl = old_layers->take(layer->id());
84 if (!layer_impl)
85 layer_impl = layer->CreateLayerImpl(tree_impl);
87 (*new_layers)[layer->id()] = layer_impl.get();
88 return layer_impl.Pass();
100 scoped_ptr<LayerImpl> layer_impl =
103 layer_impl->ClearChildList();
105 layer_impl->AddChild(SynchronizeTreesRecursiveInternal(
109 layer_impl->SetMaskLayer(SynchronizeTreesRecursiveInternal(
111 layer_impl->SetReplicaLayer(SynchronizeTreesRecursiveInternal(
116 layer_impl->SetHorizontalScrollbarLayer(NULL);
117 layer_impl->SetVerticalScrollbarLayer(NULL);
119 return layer_impl.Pass();
201 LayerImpl* layer_impl,
204 DCHECK(!layer_impl);
208 DCHECK_EQ(layer->id(), layer_impl->id());
215 layer->PushPropertiesTo(layer_impl);
220 layer_impl->mask_layer(),
223 layer_impl->replica_layer(),
226 const OwnedLayerImplList& impl_children = layer_impl->children();
250 LayerImpl* layer_impl) {
253 layer, layer_impl, &num_dependents_need_push_properties);
256 void TreeSynchronizer::PushProperties(LayerImpl* layer, LayerImpl* layer_impl) {
259 layer, layer_impl, &num_dependents_need_push_properties);