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

Side by Side Diff: cc/layer_tree_impl.h

Issue 11704002: cc: Generate tilings at other scales for impl-side painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, sort() Created 7 years, 11 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/layer_tree_host_impl.h ('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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 int MaxTextureSize() const;
58 bool PinchGestureActive() const;
58 59
59 // Tree specific methods exposed to layer-impl tree. 60 // Tree specific methods exposed to layer-impl tree.
60 // --------------------------------------------------------------------------- 61 // ---------------------------------------------------------------------------
61 void SetNeedsRedraw(); 62 void SetNeedsRedraw();
62 void SetNeedsUpdateDrawProperties(); 63 void SetNeedsUpdateDrawProperties();
63 64
64 // TODO(nduca): These are implemented in cc files temporarily, but will become 65 // TODO(nduca): These are implemented in cc files temporarily, but will become
65 // trivial accessors in a followup patch. 66 // trivial accessors in a followup patch.
66 const LayerTreeDebugState& debug_state() const; 67 const LayerTreeDebugState& debug_state() const;
67 float device_scale_factor() const; 68 float device_scale_factor() const;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // List of visible layers for the most recently prepared frame. Used for 153 // List of visible layers for the most recently prepared frame. Used for
153 // rendering and input event hit testing. 154 // rendering and input event hit testing.
154 LayerList render_surface_layer_list_; 155 LayerList render_surface_layer_list_;
155 156
156 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 157 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
157 }; 158 };
158 159
159 } 160 }
160 161
161 #endif // CC_LAYER_TREE_IMPL_H_ 162 #endif // CC_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_host_impl.h ('k') | cc/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698