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

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

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 months 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
« no previous file with comments | « cc/raster/skip_image_canvas.cc ('k') | cc/raster/task_graph_runner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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_TASK_H_ 5 #ifndef CC_RASTER_TASK_H_
6 #define CC_RASTER_TASK_H_ 6 #define CC_RASTER_TASK_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "cc/base/cc_export.h" 14 #include "cc/cc_export.h"
15 15
16 namespace cc { 16 namespace cc {
17 class Task; 17 class Task;
18 18
19 // This class provides states to manage life cycle of a task and given below is 19 // This class provides states to manage life cycle of a task and given below is
20 // how it is used by TaskGraphWorkQueue to process life cycle of a task. 20 // how it is used by TaskGraphWorkQueue to process life cycle of a task.
21 // Task is in NEW state when it is created. When task is added to 21 // Task is in NEW state when it is created. When task is added to
22 // |ready_to_run_tasks| then its state is changed to SCHEDULED. Task can be 22 // |ready_to_run_tasks| then its state is changed to SCHEDULED. Task can be
23 // canceled from NEW state (not yet scheduled to run) or from SCHEDULED state, 23 // canceled from NEW state (not yet scheduled to run) or from SCHEDULED state,
24 // when new ScheduleTasks() is triggered and its state is changed to CANCELED. 24 // when new ScheduleTasks() is triggered and its state is changed to CANCELED.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 Node::Vector nodes; 143 Node::Vector nodes;
144 Edge::Vector edges; 144 Edge::Vector edges;
145 145
146 private: 146 private:
147 DISALLOW_COPY_AND_ASSIGN(TaskGraph); 147 DISALLOW_COPY_AND_ASSIGN(TaskGraph);
148 }; 148 };
149 149
150 } // namespace cc 150 } // namespace cc
151 151
152 #endif // CC_RASTER_TASK_H_ 152 #endif // CC_RASTER_TASK_H_
OLDNEW
« no previous file with comments | « cc/raster/skip_image_canvas.cc ('k') | cc/raster/task_graph_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698