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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
531 | 531 |
532 bool IsDrawnRenderSurfaceLayerListMember() const; | 532 bool IsDrawnRenderSurfaceLayerListMember() const; |
533 | 533 |
534 protected: | 534 protected: |
535 LayerImpl(LayerTreeImpl* layer_impl, int id); | 535 LayerImpl(LayerTreeImpl* layer_impl, int id); |
536 | 536 |
537 // Get the color and size of the layer's debug border. | 537 // Get the color and size of the layer's debug border. |
538 virtual void GetDebugBorderProperties(SkColor* color, float* width) const; | 538 virtual void GetDebugBorderProperties(SkColor* color, float* width) const; |
539 | 539 |
540 void AppendDebugBorderQuad(QuadSink* quad_sink, | 540 void AppendDebugBorderQuad(QuadSink* quad_sink, |
541 const SharedQuadState* shared_quad_state, | 541 const SharedQuadState* shared_quad_state, |
danakj
2014/06/19 16:01:14
Remove this version of the method, ie have the lay
sohanjg
2014/06/20 07:28:30
Done.
| |
542 AppendQuadsData* append_quads_data) const; | 542 AppendQuadsData* append_quads_data) const; |
543 void AppendDebugBorderQuad(QuadSink* quad_sink, | 543 void AppendDebugBorderQuad(QuadSink* quad_sink, |
544 const gfx::Size& content_bounds, | |
545 const SharedQuadState* shared_quad_state, | |
546 AppendQuadsData* append_quads_data) const; | |
547 void AppendDebugBorderQuad(QuadSink* quad_sink, | |
548 const gfx::Size& content_bounds, | |
544 const SharedQuadState* shared_quad_state, | 549 const SharedQuadState* shared_quad_state, |
545 AppendQuadsData* append_quads_data, | 550 AppendQuadsData* append_quads_data, |
546 SkColor color, | 551 SkColor color, |
547 float width) const; | 552 float width) const; |
548 | 553 |
549 virtual void AsValueInto(base::DictionaryValue* dict) const; | 554 virtual void AsValueInto(base::DictionaryValue* dict) const; |
550 | 555 |
551 void NoteLayerPropertyChanged(); | 556 void NoteLayerPropertyChanged(); |
552 void NoteLayerPropertyChangedForSubtree(); | 557 void NoteLayerPropertyChangedForSubtree(); |
553 | 558 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
679 DrawProperties<LayerImpl> draw_properties_; | 684 DrawProperties<LayerImpl> draw_properties_; |
680 | 685 |
681 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; | 686 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; |
682 | 687 |
683 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 688 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
684 }; | 689 }; |
685 | 690 |
686 } // namespace cc | 691 } // namespace cc |
687 | 692 |
688 #endif // CC_LAYERS_LAYER_IMPL_H_ | 693 #endif // CC_LAYERS_LAYER_IMPL_H_ |
OLD | NEW |