Home
last modified time | relevance | path

Searched refs:mask_layer_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/cc/layers/
Dlayer.cc92 if (mask_layer_.get()) { in ~Layer()
93 DCHECK_EQ(this, mask_layer_->parent()); in ~Layer()
94 mask_layer_->RemoveFromParent(); in ~Layer()
118 if (mask_layer_.get()) in SetLayerTreeHost()
119 mask_layer_->SetLayerTreeHost(host); in SetLayerTreeHost()
244 if (mask_layer_.get()) in SetParent()
245 mask_layer_->reset_raster_scale_to_unknown(); in SetParent()
246 if (replica_layer_.get() && replica_layer_->mask_layer_.get()) in SetParent()
247 replica_layer_->mask_layer_->reset_raster_scale_to_unknown(); in SetParent()
272 if (mask_layer_.get() == child) { in RemoveChildOrDependent()
[all …]
Dlayer.h127 Layer* mask_layer() { return mask_layer_.get(); } in mask_layer()
128 const Layer* mask_layer() const { return mask_layer_.get(); } in mask_layer()
348 bool has_mask() const { return !!mask_layer_.get(); } in has_mask()
352 (mask_layer_.get() || replica_layer_->mask_layer_.get()); in replica_has_mask()
530 scoped_refptr<Layer> mask_layer_; variable
Dlayer_impl.h141 LayerImpl* mask_layer() { return mask_layer_.get(); } in mask_layer()
142 const LayerImpl* mask_layer() const { return mask_layer_.get(); } in mask_layer()
150 bool has_mask() const { return mask_layer_; } in has_mask()
153 return replica_layer_ && (mask_layer_ || replica_layer_->mask_layer_); in replica_has_mask()
572 scoped_ptr<LayerImpl> mask_layer_; variable
Dlayer_impl.cc670 if (mask_layer_) in ResetAllChangeTrackingForSubtree()
671 mask_layer_->ResetAllChangeTrackingForSubtree(); in ResetAllChangeTrackingForSubtree()
742 mask_layer_ = mask_layer.Pass(); in SetMaskLayer()
744 if (mask_layer_) in SetMaskLayer()
745 mask_layer_->set_parent(this); in SetMaskLayer()
751 return mask_layer_.Pass(); in TakeMaskLayer()
1358 if (mask_layer_) in AsValueInto()
1359 state->Set("mask_layer", mask_layer_->AsValue().release()); in AsValueInto()