| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |