| 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_RESOURCES_MANAGED_TILE_STATE_H_ | 5 #ifndef CC_RESOURCES_MANAGED_TILE_STATE_H_ |
| 6 #define CC_RESOURCES_MANAGED_TILE_STATE_H_ | 6 #define CC_RESOURCES_MANAGED_TILE_STATE_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/resources/platform_color.h" | 9 #include "cc/resources/platform_color.h" |
| 10 #include "cc/resources/rasterizer.h" | 10 #include "cc/resources/tile_task_runner.h" |
| 11 #include "cc/resources/resource_pool.h" | 11 #include "cc/resources/resource_pool.h" |
| 12 #include "cc/resources/resource_provider.h" | 12 #include "cc/resources/resource_provider.h" |
| 13 #include "cc/resources/scoped_resource.h" | 13 #include "cc/resources/scoped_resource.h" |
| 14 #include "cc/resources/tile_priority.h" | 14 #include "cc/resources/tile_priority.h" |
| 15 | 15 |
| 16 namespace cc { | 16 namespace cc { |
| 17 | 17 |
| 18 // This is state that is specific to a tile that is | 18 // This is state that is specific to a tile that is |
| 19 // managed by the TileManager. | 19 // managed by the TileManager. |
| 20 class CC_EXPORT ManagedTileState { | 20 class CC_EXPORT ManagedTileState { |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 TileResolution resolution; | 92 TileResolution resolution; |
| 93 TilePriority::PriorityBin priority_bin; | 93 TilePriority::PriorityBin priority_bin; |
| 94 | 94 |
| 95 // Priority for this state from the last time we assigned memory. | 95 // Priority for this state from the last time we assigned memory. |
| 96 unsigned scheduled_priority; | 96 unsigned scheduled_priority; |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace cc | 99 } // namespace cc |
| 100 | 100 |
| 101 #endif // CC_RESOURCES_MANAGED_TILE_STATE_H_ | 101 #endif // CC_RESOURCES_MANAGED_TILE_STATE_H_ |
| OLD | NEW |