OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_IMAGE_DECODE_CONTROLLER_H_ | 5 #ifndef CC_TILES_IMAGE_DECODE_CONTROLLER_H_ |
6 #define CC_TILES_IMAGE_DECODE_CONTROLLER_H_ | 6 #define CC_TILES_IMAGE_DECODE_CONTROLLER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
10 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
11 #include "cc/playback/discardable_image_map.h" | 13 #include "cc/playback/discardable_image_map.h" |
12 #include "cc/raster/tile_task_runner.h" | 14 #include "cc/raster/tile_task_runner.h" |
13 #include "skia/ext/refptr.h" | 15 #include "skia/ext/refptr.h" |
14 | 16 |
15 namespace cc { | 17 namespace cc { |
16 | 18 |
17 class ImageDecodeController { | 19 class ImageDecodeController { |
(...skipping 26 matching lines...) Expand all Loading... |
44 using LayerImageTaskMap = base::hash_map<int, ImageTaskMap>; | 46 using LayerImageTaskMap = base::hash_map<int, ImageTaskMap>; |
45 LayerImageTaskMap image_decode_tasks_; | 47 LayerImageTaskMap image_decode_tasks_; |
46 | 48 |
47 using LayerCountMap = base::hash_map<int, int>; | 49 using LayerCountMap = base::hash_map<int, int>; |
48 LayerCountMap used_layer_counts_; | 50 LayerCountMap used_layer_counts_; |
49 }; | 51 }; |
50 | 52 |
51 } // namespace cc | 53 } // namespace cc |
52 | 54 |
53 #endif // CC_TILES_IMAGE_DECODE_CONTROLLER_H_ | 55 #endif // CC_TILES_IMAGE_DECODE_CONTROLLER_H_ |
OLD | NEW |