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

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

Issue 343653004: cc: Don't add new tilings while syncing a tiling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: managetilingsinsync: perftest Created 6 years, 6 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
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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 AppendQuadsData* append_quads_data) {} 181 AppendQuadsData* append_quads_data) {}
182 virtual void DidDraw(ResourceProvider* resource_provider); 182 virtual void DidDraw(ResourceProvider* resource_provider);
183 183
184 virtual ResourceProvider::ResourceId ContentsResourceId() const; 184 virtual ResourceProvider::ResourceId ContentsResourceId() const;
185 185
186 virtual bool HasDelegatedContent() const; 186 virtual bool HasDelegatedContent() const;
187 virtual bool HasContributingDelegatedRenderPasses() const; 187 virtual bool HasContributingDelegatedRenderPasses() const;
188 virtual RenderPass::Id FirstContributingRenderPassId() const; 188 virtual RenderPass::Id FirstContributingRenderPassId() const;
189 virtual RenderPass::Id NextContributingRenderPassId(RenderPass::Id id) const; 189 virtual RenderPass::Id NextContributingRenderPassId(RenderPass::Id id) const;
190 190
191 virtual void UpdateTilePriorities() {} 191 virtual void UpdateTiles() {}
192 virtual void NotifyTileStateChanged(const Tile* tile) {} 192 virtual void NotifyTileStateChanged(const Tile* tile) {}
193 193
194 virtual ScrollbarLayerImplBase* ToScrollbarLayer(); 194 virtual ScrollbarLayerImplBase* ToScrollbarLayer();
195 195
196 // Returns true if this layer has content to draw. 196 // Returns true if this layer has content to draw.
197 void SetDrawsContent(bool draws_content); 197 void SetDrawsContent(bool draws_content);
198 bool DrawsContent() const { return draws_content_; } 198 bool DrawsContent() const { return draws_content_; }
199 199
200 void SetHideLayerAndSubtree(bool hide); 200 void SetHideLayerAndSubtree(bool hide);
201 bool hide_layer_and_subtree() const { return hide_layer_and_subtree_; } 201 bool hide_layer_and_subtree() const { return hide_layer_and_subtree_; }
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 DrawProperties<LayerImpl> draw_properties_; 685 DrawProperties<LayerImpl> draw_properties_;
686 686
687 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; 687 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_;
688 688
689 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 689 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
690 }; 690 };
691 691
692 } // namespace cc 692 } // namespace cc
693 693
694 #endif // CC_LAYERS_LAYER_IMPL_H_ 694 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/picture_image_layer_impl.h » ('j') | cc/layers/picture_image_layer_impl_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698