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_TILES_TILE_DRAW_INFO_H_ | 5 #ifndef CC_TILES_TILE_DRAW_INFO_H_ |
6 #define CC_TILES_TILE_DRAW_INFO_H_ | 6 #define CC_TILES_TILE_DRAW_INFO_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include <memory> |
| 9 |
9 #include "base/trace_event/trace_event_argument.h" | 10 #include "base/trace_event/trace_event_argument.h" |
10 #include "cc/raster/tile_task_runner.h" | 11 #include "cc/raster/tile_task_runner.h" |
11 #include "cc/resources/platform_color.h" | 12 #include "cc/resources/platform_color.h" |
12 #include "cc/resources/resource_provider.h" | 13 #include "cc/resources/resource_provider.h" |
13 #include "cc/resources/scoped_resource.h" | 14 #include "cc/resources/scoped_resource.h" |
14 | 15 |
15 namespace cc { | 16 namespace cc { |
16 | 17 |
17 // This class holds all the state relevant to drawing a tile. | 18 // This class holds all the state relevant to drawing a tile. |
18 class CC_EXPORT TileDrawInfo { | 19 class CC_EXPORT TileDrawInfo { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 bool contents_swizzled_; | 104 bool contents_swizzled_; |
104 | 105 |
105 // Used for gathering UMA stats. | 106 // Used for gathering UMA stats. |
106 bool was_ever_ready_to_draw_; | 107 bool was_ever_ready_to_draw_; |
107 bool was_ever_used_to_draw_; | 108 bool was_ever_used_to_draw_; |
108 }; | 109 }; |
109 | 110 |
110 } // namespace cc | 111 } // namespace cc |
111 | 112 |
112 #endif // CC_TILES_TILE_DRAW_INFO_H_ | 113 #endif // CC_TILES_TILE_DRAW_INFO_H_ |
OLD | NEW |