OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_LAYERS_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_LAYER_IMPL_H_ |
6 #define CC_LAYERS_LAYER_IMPL_H_ | 6 #define CC_LAYERS_LAYER_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 const gfx::Size& content_bounds, | 560 const gfx::Size& content_bounds, |
561 const SharedQuadState* shared_quad_state, | 561 const SharedQuadState* shared_quad_state, |
562 AppendQuadsData* append_quads_data) const; | 562 AppendQuadsData* append_quads_data) const; |
563 void AppendDebugBorderQuad(RenderPass* render_pass, | 563 void AppendDebugBorderQuad(RenderPass* render_pass, |
564 const gfx::Size& content_bounds, | 564 const gfx::Size& content_bounds, |
565 const SharedQuadState* shared_quad_state, | 565 const SharedQuadState* shared_quad_state, |
566 AppendQuadsData* append_quads_data, | 566 AppendQuadsData* append_quads_data, |
567 SkColor color, | 567 SkColor color, |
568 float width) const; | 568 float width) const; |
569 | 569 |
| 570 void AppendSolidQuads(RenderPass* render_pass, |
| 571 const OcclusionTracker<LayerImpl>& occlusion_tracker, |
| 572 AppendQuadsData* append_quads_data, |
| 573 SkColor color); |
| 574 |
570 void NoteLayerPropertyChanged(); | 575 void NoteLayerPropertyChanged(); |
571 void NoteLayerPropertyChangedForSubtree(); | 576 void NoteLayerPropertyChangedForSubtree(); |
572 | 577 |
573 // Note carefully this does not affect the current layer. | 578 // Note carefully this does not affect the current layer. |
574 void NoteLayerPropertyChangedForDescendants(); | 579 void NoteLayerPropertyChangedForDescendants(); |
575 | 580 |
576 private: | 581 private: |
577 void NoteLayerPropertyChangedForDescendantsInternal(); | 582 void NoteLayerPropertyChangedForDescendantsInternal(); |
578 | 583 |
579 virtual const char* LayerTypeAsString() const; | 584 virtual const char* LayerTypeAsString() const; |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 DrawProperties<LayerImpl> draw_properties_; | 709 DrawProperties<LayerImpl> draw_properties_; |
705 | 710 |
706 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; | 711 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; |
707 | 712 |
708 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 713 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
709 }; | 714 }; |
710 | 715 |
711 } // namespace cc | 716 } // namespace cc |
712 | 717 |
713 #endif // CC_LAYERS_LAYER_IMPL_H_ | 718 #endif // CC_LAYERS_LAYER_IMPL_H_ |
OLD | NEW |