OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RASTER_TILE_TASK_RUNNER_H_ | 5 #ifndef CC_RASTER_TILE_TASK_RUNNER_H_ |
6 #define CC_RASTER_TILE_TASK_RUNNER_H_ | 6 #define CC_RASTER_TILE_TASK_RUNNER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "cc/raster/task_graph_runner.h" | 13 #include "cc/raster/task_graph_runner.h" |
12 #include "cc/resources/resource_format.h" | 14 #include "cc/resources/resource_format.h" |
13 | 15 |
14 namespace cc { | 16 namespace cc { |
15 class ImageDecodeTask; | 17 class ImageDecodeTask; |
16 class RasterTask; | 18 class RasterTask; |
17 class Resource; | 19 class Resource; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // Determine if the resource requires swizzling. | 103 // Determine if the resource requires swizzling. |
102 virtual bool GetResourceRequiresSwizzle(bool must_support_alpha) const = 0; | 104 virtual bool GetResourceRequiresSwizzle(bool must_support_alpha) const = 0; |
103 | 105 |
104 protected: | 106 protected: |
105 virtual ~TileTaskRunner() {} | 107 virtual ~TileTaskRunner() {} |
106 }; | 108 }; |
107 | 109 |
108 } // namespace cc | 110 } // namespace cc |
109 | 111 |
110 #endif // CC_RASTER_TILE_TASK_RUNNER_H_ | 112 #endif // CC_RASTER_TILE_TASK_RUNNER_H_ |
OLD | NEW |