OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CC_RASTER_TASK_TYPES_H_ | |
6 #define CC_RASTER_TASK_TYPES_H_ | |
7 | |
8 #include <stdint.h> | |
9 | |
10 namespace cc { | |
11 | |
12 // Task requiring specific handling (e.g. processing completed task in | |
13 // different manner) needs to be declared here. With TaskType they can be | |
14 // differenciated. Task not specifying the TaskType gets created with | |
15 // TASK_TYPE_DEFAULT. | |
16 enum TaskType : uint32_t { | |
17 TASK_TYPE_DEFAULT, | |
18 TASK_TYPE_RASTER, | |
19 TASK_TYPE_IMAGE_DECODE, | |
20 TASK_TYPE_IMAGE_UPLOAD | |
21 }; | |
reveman
2016/04/16 10:10:28
can we move this into tile_manager.cc or tile_mana
| |
22 | |
23 } // namespace cc | |
24 | |
25 #endif // CC_RASTER_TASK_TYPES_H_ | |
OLD | NEW |