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

Side by Side Diff: cc/managed_tile_state.h

Issue 12471007: Part 8 of cc/ directory shuffles: resources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/managed_memory_policy.cc ('k') | cc/memory_history.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_MANAGED_TILE_STATE_H_ 5 #ifndef CC_MANAGED_TILE_STATE_H_
6 #define CC_MANAGED_TILE_STATE_H_ 6 #define CC_MANAGED_TILE_STATE_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "cc/resource_pool.h" 11 #include "cc/resources/resource_pool.h"
12 #include "cc/resource_provider.h" 12 #include "cc/resources/resource_provider.h"
13 #include "cc/tile_manager.h" 13 #include "cc/resources/tile_manager.h"
14 14
15 namespace cc { 15 namespace cc {
16 16
17 // This is state that is specific to a tile that is 17 // This is state that is specific to a tile that is
18 // managed by the TileManager. 18 // managed by the TileManager.
19 class CC_EXPORT ManagedTileState { 19 class CC_EXPORT ManagedTileState {
20 public: 20 public:
21 class CC_EXPORT DrawingInfo { 21 class CC_EXPORT DrawingInfo {
22 public: 22 public:
23 enum Mode { 23 enum Mode {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // to determine policy. 108 // to determine policy.
109 TileManagerBin gpu_memmgr_stats_bin; 109 TileManagerBin gpu_memmgr_stats_bin;
110 TileResolution resolution; 110 TileResolution resolution;
111 float time_to_needed_in_seconds; 111 float time_to_needed_in_seconds;
112 float distance_to_visible_in_pixels; 112 float distance_to_visible_in_pixels;
113 }; 113 };
114 114
115 } // namespace cc 115 } // namespace cc
116 116
117 #endif 117 #endif
OLDNEW
« no previous file with comments | « cc/managed_memory_policy.cc ('k') | cc/memory_history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698