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

Side by Side Diff: cc/layer_tree_impl.h

Issue 11639050: cc: Support mask layers in impl-side painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/layer_tree_host_common.cc ('k') | cc/layer_tree_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_LAYER_TREE_IMPL_H_ 5 #ifndef CC_LAYER_TREE_IMPL_H_
6 #define CC_LAYER_TREE_IMPL_H_ 6 #define CC_LAYER_TREE_IMPL_H_
7 7
8 #include "base/hash_tables.h" 8 #include "base/hash_tables.h"
9 #include "cc/layer_impl.h" 9 #include "cc/layer_impl.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // --------------------------------------------------------------------------- 47 // ---------------------------------------------------------------------------
48 const LayerTreeSettings& settings() const; 48 const LayerTreeSettings& settings() const;
49 OutputSurface* output_surface() const; 49 OutputSurface* output_surface() const;
50 ResourceProvider* resource_provider() const; 50 ResourceProvider* resource_provider() const;
51 TileManager* tile_manager() const; 51 TileManager* tile_manager() const;
52 FrameRateCounter* frame_rate_counter() const; 52 FrameRateCounter* frame_rate_counter() const;
53 bool IsActiveTree() const; 53 bool IsActiveTree() const;
54 bool IsPendingTree() const; 54 bool IsPendingTree() const;
55 LayerImpl* FindActiveTreeLayerById(int id); 55 LayerImpl* FindActiveTreeLayerById(int id);
56 LayerImpl* FindPendingTreeLayerById(int id); 56 LayerImpl* FindPendingTreeLayerById(int id);
57 int MaxTextureSize() const;
57 58
58 // Tree specific methods exposed to layer-impl tree. 59 // Tree specific methods exposed to layer-impl tree.
59 // --------------------------------------------------------------------------- 60 // ---------------------------------------------------------------------------
60 void SetNeedsRedraw(); 61 void SetNeedsRedraw();
61 void SetNeedsUpdateDrawProperties(); 62 void SetNeedsUpdateDrawProperties();
62 63
63 // TODO(nduca): These are implemented in cc files temporarily, but will become 64 // TODO(nduca): These are implemented in cc files temporarily, but will become
64 // trivial accessors in a followup patch. 65 // trivial accessors in a followup patch.
65 const LayerTreeDebugState& debug_state() const; 66 const LayerTreeDebugState& debug_state() const;
66 float device_scale_factor() const; 67 float device_scale_factor() const;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // List of visible layers for the most recently prepared frame. Used for 130 // List of visible layers for the most recently prepared frame. Used for
130 // rendering and input event hit testing. 131 // rendering and input event hit testing.
131 LayerList render_surface_layer_list_; 132 LayerList render_surface_layer_list_;
132 133
133 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 134 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
134 }; 135 };
135 136
136 } 137 }
137 138
138 #endif // CC_LAYER_TREE_IMPL_H_ 139 #endif // CC_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_common.cc ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698