Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(581)

Side by Side Diff: cc/layers/layer_impl.h

Issue 265883013: cc: Add a flag to layers that returns true if the layer is in RSLL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: perftest fix Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layers/draw_properties.h ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 bool needs_push_properties() const { return needs_push_properties_; } 527 bool needs_push_properties() const { return needs_push_properties_; }
528 bool descendant_needs_push_properties() const { 528 bool descendant_needs_push_properties() const {
529 return num_dependents_need_push_properties_ > 0; 529 return num_dependents_need_push_properties_ > 0;
530 } 530 }
531 531
532 virtual void RunMicroBenchmark(MicroBenchmarkImpl* benchmark); 532 virtual void RunMicroBenchmark(MicroBenchmarkImpl* benchmark);
533 533
534 virtual void SetDebugInfo( 534 virtual void SetDebugInfo(
535 scoped_refptr<base::debug::ConvertableToTraceFormat> other); 535 scoped_refptr<base::debug::ConvertableToTraceFormat> other);
536 536
537 bool IsDrawnRenderSurfaceLayerListMember() const;
538
537 protected: 539 protected:
538 LayerImpl(LayerTreeImpl* layer_impl, int id); 540 LayerImpl(LayerTreeImpl* layer_impl, int id);
539 541
540 // Get the color and size of the layer's debug border. 542 // Get the color and size of the layer's debug border.
541 virtual void GetDebugBorderProperties(SkColor* color, float* width) const; 543 virtual void GetDebugBorderProperties(SkColor* color, float* width) const;
542 544
543 void AppendDebugBorderQuad(QuadSink* quad_sink, 545 void AppendDebugBorderQuad(QuadSink* quad_sink,
544 const SharedQuadState* shared_quad_state, 546 const SharedQuadState* shared_quad_state,
545 AppendQuadsData* append_quads_data) const; 547 AppendQuadsData* append_quads_data) const;
546 void AppendDebugBorderQuad(QuadSink* quad_sink, 548 void AppendDebugBorderQuad(QuadSink* quad_sink,
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 DrawProperties<LayerImpl> draw_properties_; 685 DrawProperties<LayerImpl> draw_properties_;
684 686
685 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; 687 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_;
686 688
687 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 689 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
688 }; 690 };
689 691
690 } // namespace cc 692 } // namespace cc
691 693
692 #endif // CC_LAYERS_LAYER_IMPL_H_ 694 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/draw_properties.h ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698