Lines Matching refs:LayerImpl
59 class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
61 static scoped_ptr<LayerImpl> Create(LayerTreeImpl* tree_impl, int id) {
62 return make_scoped_ptr(new LayerImpl(tree_impl, id));
65 virtual ~LayerImpl();
75 LayerImpl* parent() { return parent_; }
76 const LayerImpl* parent() const { return parent_; }
79 LayerImpl* child_at(size_t index) const { return children_[index]; }
80 void AddChild(scoped_ptr<LayerImpl> child);
81 scoped_ptr<LayerImpl> RemoveChild(LayerImpl* child);
82 void set_parent(LayerImpl* parent) { parent_ = parent; }
91 void SetMaskLayer(scoped_ptr<LayerImpl> mask_layer);
92 LayerImpl* mask_layer() { return mask_layer_.get(); }
93 const LayerImpl* mask_layer() const { return mask_layer_.get(); }
94 scoped_ptr<LayerImpl> TakeMaskLayer();
96 void SetReplicaLayer(scoped_ptr<LayerImpl> replica_layer);
97 LayerImpl* replica_layer() { return replica_layer_.get(); }
98 const LayerImpl* replica_layer() const { return replica_layer_.get(); }
99 scoped_ptr<LayerImpl> TakeReplicaLayer();
237 DrawProperties<LayerImpl, RenderSurfaceImpl>& draw_properties() {
240 const DrawProperties<LayerImpl, RenderSurfaceImpl>& draw_properties() const {
274 LayerImpl* render_target() {
279 const LayerImpl* render_target() const {
289 // contents scale to appropriate values. LayerImpl doesn't calculate any of
438 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl);
439 virtual void PushPropertiesTo(LayerImpl* layer);
449 LayerImpl(LayerTreeImpl* layer_impl, int id);
477 // Properties internal to LayerImpl
478 LayerImpl* parent_;
483 scoped_ptr<LayerImpl> mask_layer_;
485 scoped_ptr<LayerImpl> replica_layer_;
579 DrawProperties<LayerImpl, RenderSurfaceImpl> draw_properties_;
581 DISALLOW_COPY_AND_ASSIGN(LayerImpl);