Home | History | Annotate | Download | only in layers

Lines Matching defs:LayerImpl

65 class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
72 static scoped_ptr<LayerImpl> Create(LayerTreeImpl* tree_impl, int id) {
73 return make_scoped_ptr(new LayerImpl(tree_impl, id));
76 virtual ~LayerImpl();
92 LayerImpl* parent() { return parent_; }
93 const LayerImpl* parent() const { return parent_; }
96 LayerImpl* child_at(size_t index) const { return children_[index]; }
97 void AddChild(scoped_ptr<LayerImpl> child);
98 scoped_ptr<LayerImpl> RemoveChild(LayerImpl* child);
99 void set_parent(LayerImpl* parent) { parent_ = parent; }
103 bool HasAncestor(const LayerImpl* ancestor) const;
105 void SetScrollParent(LayerImpl* parent);
107 LayerImpl* scroll_parent() { return scroll_parent_; }
108 const LayerImpl* scroll_parent() const { return scroll_parent_; }
110 void SetScrollChildren(std::set<LayerImpl*>* children);
111 void RemoveScrollChild(LayerImpl* child);
113 std::set<LayerImpl*>* scroll_children() { return scroll_children_.get(); }
114 const std::set<LayerImpl*>* scroll_children() const {
118 void SetClipParent(LayerImpl* ancestor);
120 LayerImpl* clip_parent() {
123 const LayerImpl* clip_parent() const {
127 void SetClipChildren(std::set<LayerImpl*>* children);
128 void RemoveClipChild(LayerImpl* child);
130 std::set<LayerImpl*>* clip_children() { return clip_children_.get(); }
131 const std::set<LayerImpl*>* clip_children() const {
140 void SetMaskLayer(scoped_ptr<LayerImpl> mask_layer);
141 LayerImpl* mask_layer() { return mask_layer_.get(); }
142 const LayerImpl* mask_layer() const { return mask_layer_.get(); }
143 scoped_ptr<LayerImpl> TakeMaskLayer();
145 void SetReplicaLayer(scoped_ptr<LayerImpl> replica_layer);
146 LayerImpl* replica_layer() { return replica_layer_.get(); }
147 const LayerImpl* replica_layer() const { return replica_layer_.get(); }
148 scoped_ptr<LayerImpl> TakeReplicaLayer();
296 DrawProperties<LayerImpl>& draw_properties() {
299 const DrawProperties<LayerImpl>& draw_properties() const {
333 LayerImpl* render_target() {
338 const LayerImpl* render_target() const {
351 // contents scale to appropriate values. LayerImpl doesn't calculate any of
511 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl);
512 virtual void PushPropertiesTo(LayerImpl* layer);
527 LayerImpl(LayerTreeImpl* layer_impl, int id);
554 // Properties internal to LayerImpl
555 LayerImpl* parent_;
558 LayerImpl* scroll_parent_;
562 // the scroll parent above) be stored in a LayerImpl -> scroll_info
564 scoped_ptr<std::set<LayerImpl*> > scroll_children_;
566 LayerImpl* clip_parent_;
567 scoped_ptr<std::set<LayerImpl*> > clip_children_;
572 scoped_ptr<LayerImpl> mask_layer_;
574 scoped_ptr<LayerImpl> replica_layer_;
664 DrawProperties<LayerImpl> draw_properties_;
668 DISALLOW_COPY_AND_ASSIGN(LayerImpl);