Home
last modified time | relevance | path

Searched refs:replica_layer (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/cc/trees/
Dlayer_tree_host_common.h174 if (root_layer->replica_layer() && in FindLayerInSubtree()
175 root_layer->replica_layer()->id() == layer_id) in FindLayerInSubtree()
176 return root_layer->replica_layer(); in FindLayerInSubtree()
194 if (LayerType* replica_layer = root_layer->replica_layer()) { in CallFunctionForSubtree() local
195 function.Run(replica_layer); in CallFunctionForSubtree()
196 if (LayerType* mask_layer = replica_layer->mask_layer()) in CallFunctionForSubtree()
Dlayer_tree_host_common.cc549 if (layer->replica_layer() && layer->replica_layer()->mask_layer()) in SavePaintPropertiesLayer()
550 layer->replica_layer()->mask_layer()->SavePaintProperties(); in SavePaintPropertiesLayer()
576 if (layer->replica_layer()) { in SubtreeShouldRenderToSeparateSurface()
959 layer->replica_layer() ? layer->replica_layer()->mask_layer() : NULL; in CalculateContentsScale()
1139 if (layer->replica_layer() && layer->replica_layer()->mask_layer()) { in MarkMasksWithRenderSurfaceLayerListId()
1140 MarkLayerWithRenderSurfaceLayerListId(layer->replica_layer()->mask_layer(), in MarkMasksWithRenderSurfaceLayerListId()
1759 layer->replica_layer() ? layer->replica_layer()->mask_layer() : NULL; in CalculateDrawPropertiesInternal()
1912 if (layer->replica_layer() && layer->replica_layer()->mask_layer()) { in CalculateDrawPropertiesInternal()
1914 layer->replica_layer()->mask_layer()->draw_properties(); in CalculateDrawPropertiesInternal()
2228 if (!layer->replica_layer() && TransformToParentIsKnown(layer)) { in CalculateDrawPropertiesInternal()
[all …]
Ddamage_tracker.cc361 if (layer->replica_layer()) { in ExtendDamageForRenderSurface()
371 if (layer->replica_layer() && layer->replica_layer()->mask_layer()) { in ExtendDamageForRenderSurface()
372 LayerImpl* replica_mask_layer = layer->replica_layer()->mask_layer(); in ExtendDamageForRenderSurface()
Dtree_synchronizer_unittest.cc121 ASSERT_EQ(!!layer->replica_layer(), !!layer_impl->replica_layer()); in ExpectTreesAreIdentical()
122 if (layer->replica_layer()) { in ExpectTreesAreIdentical()
125 layer->replica_layer(), layer_impl->replica_layer(), tree_impl); in ExpectTreesAreIdentical()
507 scoped_refptr<Layer> replica_layer = Layer::Create(); in TEST_F() local
508 layer_tree_root->children()[1]->SetReplicaLayer(replica_layer.get()); in TEST_F()
Dtree_synchronizer.cc122 new_layers, old_layers, layer->replica_layer(), tree_impl)); in SynchronizeTreesRecursiveInternal()
212 PushPropertiesInternal(layer->replica_layer(), in PushPropertiesInternal()
213 layer_impl->replica_layer(), in PushPropertiesInternal()
Dlayer_tree_impl.cc549 if (layer->replica_layer() && layer->replica_layer()->mask_layer()) { in UpdateDrawProperties()
550 layer->replica_layer()->mask_layer()->UpdateTiles( in UpdateDrawProperties()
608 if (layer->replica_layer() && layer->replica_layer()->mask_layer()) in DidBecomeActiveRecursive()
609 layer->replica_layer()->mask_layer()->DidBecomeActive(); in DidBecomeActiveRecursive()
1104 if (current->replica_layer()) in ReleaseResourcesRecursive()
1105 ReleaseResourcesRecursive(current->replica_layer()); in ReleaseResourcesRecursive()
Dlayer_tree_host.cc937 if (it->replica_layer() && it->replica_layer()->mask_layer()) in SetPrioritiesForLayers()
938 it->replica_layer()->mask_layer()->SetTexturePriorities(calculator); in SetPrioritiesForLayers()
1005 render_surface_layer->replica_layer() ? in PaintMasksForRenderSurface()
1006 render_surface_layer->replica_layer()->mask_layer() : NULL; in PaintMasksForRenderSurface()
Dlayer_tree_host_common_unittest.cc5555 scoped_refptr<Layer> replica_layer = Layer::Create(); in TEST_F() local
5557 grand_child->SetReplicaLayer(replica_layer.get()); in TEST_F()
5577 replica_layer.get(), in TEST_F()
5578 LayerTreeHostCommon::FindLayerInSubtree(root.get(), replica_layer->id())); in TEST_F()
8064 if (layer->replica_layer() && layer->replica_layer()->mask_layer()) in GatherDrawnLayers()
8065 drawn_layers->insert(layer->replica_layer()->mask_layer()); in GatherDrawnLayers()
8233 scoped_ptr<LayerImpl> replica_layer = in TEST_F() local
8235 replica_layer->SetMaskLayer(LayerImpl::Create(host_impl.active_tree(), 21)); in TEST_F()
8236 child_raw->SetReplicaLayer(replica_layer.Pass()); in TEST_F()
8245 EXPECT_EQ(member_id, membership_id(child_raw->replica_layer()->mask_layer())); in TEST_F()
[all …]
Dlayer_tree_host_unittest_occlusion.cc567 scoped_refptr<Layer> replica_layer(Layer::Create()); in SetupTree() local
568 child_->SetReplicaLayer(replica_layer.get()); in SetupTree()
Ddamage_tracker_unittest.cc1237 LayerImpl* grand_child1_replica = grand_child1->replica_layer(); in TEST_F()
1314 LayerImpl* grand_child1_replica = grand_child1->replica_layer(); in TEST_F()
Dlayer_tree_host_impl_unittest.cc5377 LayerImpl* replica_layer = scoped_replica_layer.get(); in TEST_F() local
5383 replica_layer->SetMaskLayer(scoped_mask_layer.PassAs<LayerImpl>()); in TEST_F()
5529 LayerImpl* replica_layer = scoped_replica_layer.get(); in TEST_F() local
5535 replica_layer->SetMaskLayer(scoped_mask_layer.PassAs<LayerImpl>()); in TEST_F()
7255 scoped_ptr<FakePictureLayerImpl> replica_layer = in TEST_F() local
7261 replica_layer->SetMaskLayer(replica_mask_layer.PassAs<LayerImpl>()); in TEST_F()
7262 raw_pending_layer->SetReplicaLayer(replica_layer.PassAs<LayerImpl>()); in TEST_F()
7264 raw_pending_layer->replica_layer()->mask_layer()); in TEST_F()
/external/chromium_org/cc/test/
Dtiled_layer_test_common.cc131 if (replica_layer()) { in ResetNumDependentsNeedPushProperties()
132 if (replica_layer()->needs_push_properties() || in ResetNumDependentsNeedPushProperties()
133 replica_layer()->descendant_needs_push_properties()) in ResetNumDependentsNeedPushProperties()
/external/chromium_org/cc/blink/
Dweb_layer_impl.cc128 void WebLayerImpl::setReplicaLayer(WebLayer* replica_layer) { in setReplicaLayer() argument
130 replica_layer ? static_cast<WebLayerImpl*>(replica_layer)->layer() : 0); in setReplicaLayer()
/external/chromium_org/cc/layers/
Dlayer_impl.h174 void SetReplicaLayer(scoped_ptr<LayerImpl> replica_layer);
175 LayerImpl* replica_layer() { return replica_layer_.get(); } in replica_layer() function
176 const LayerImpl* replica_layer() const { return replica_layer_.get(); } in replica_layer() function
Dlayer_impl.cc832 void LayerImpl::SetReplicaLayer(scoped_ptr<LayerImpl> replica_layer) { in SetReplicaLayer() argument
833 int new_layer_id = replica_layer ? replica_layer->id() : -1; in SetReplicaLayer()
835 if (replica_layer) { in SetReplicaLayer()
836 DCHECK_EQ(layer_tree_impl(), replica_layer->layer_tree_impl()); in SetReplicaLayer()
842 replica_layer_ = replica_layer.Pass(); in SetReplicaLayer()
Dlayer.h344 Layer* replica_layer() { return replica_layer_.get(); } in replica_layer() function
345 const Layer* replica_layer() const { return replica_layer_.get(); } in replica_layer() function
Drender_surface_impl.cc190 mask_layer = owning_layer_->replica_layer()->mask_layer(); in AppendQuads()
Dlayer_unittest.cc963 if (layer->replica_layer()) in AssertLayerTreeHostMatchesForSubtree()
964 AssertLayerTreeHostMatchesForSubtree(layer->replica_layer(), host); in AssertLayerTreeHostMatchesForSubtree()
/external/chromium_org/cc/debug/
Ddebug_rect_history.cc163 if (render_surface_layer->replica_layer()) { in SaveScreenSpaceRects()