Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: cc/raster/task_category.h

Issue 1489233003: TaskGraphRunner Group support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor
Patch Set: feedback Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_RASTER_TASK_CATEGORY_H_
6 #define CC_RASTER_TASK_CATEGORY_H_
7
8 #include <cstdint>
9
10 namespace cc {
11
12 // A set of values used by CC and its consumers to categorize tasks within the
13 // TaskGraphRunner.
14 enum TASK_CATEGORY : uint16_t {
15 TASK_CATEGORY_SYNCHRONOUS_HIGH_PRIORITY = 0,
16 TASK_CATEGORY_HIGH_PRIORITY = 1,
17 TASK_CATEGORY_LOW_PRIORITY = 2,
18 };
reveman 2015/12/10 16:49:57 This look good but I'd rather not have any task gr
19
20 enum : uint16_t { kNumTaskCategories = TASK_CATEGORY_LOW_PRIORITY + 1 };
21
22 } // namespace cc
23
24 #endif // CC_RASTER_TASK_CATEGORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698