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

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

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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
« no previous file with comments | « cc/raster/task_graph_runner_perftest.cc ('k') | cc/raster/task_graph_work_queue.cc » ('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 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_TASK_GRAPH_WORK_QUEUE_H_ 5 #ifndef CC_RASTER_TASK_GRAPH_WORK_QUEUE_H_
6 #define CC_RASTER_TASK_GRAPH_WORK_QUEUE_H_ 6 #define CC_RASTER_TASK_GRAPH_WORK_QUEUE_H_
7 7
8 #include <stdint.h>
9
8 #include <algorithm> 10 #include <algorithm>
9 #include <map> 11 #include <map>
10 #include <vector> 12 #include <vector>
11 13
12 #include "cc/base/cc_export.h" 14 #include "cc/base/cc_export.h"
13 #include "cc/raster/task_graph_runner.h" 15 #include "cc/raster/task_graph_runner.h"
14 16
15 namespace cc { 17 namespace cc {
16 18
17 // Implements a queue of incoming TaskGraph work. Designed for use by 19 // Implements a queue of incoming TaskGraph work. Designed for use by
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // Map from category to a vector of ready to run namespaces for that category. 167 // Map from category to a vector of ready to run namespaces for that category.
166 std::map<uint16_t, TaskNamespace::Vector> ready_to_run_namespaces_; 168 std::map<uint16_t, TaskNamespace::Vector> ready_to_run_namespaces_;
167 169
168 // Provides a unique id to each NamespaceToken. 170 // Provides a unique id to each NamespaceToken.
169 int next_namespace_id_; 171 int next_namespace_id_;
170 }; 172 };
171 173
172 } // namespace cc 174 } // namespace cc
173 175
174 #endif // CC_RASTER_TASK_GRAPH_WORK_QUEUE_H_ 176 #endif // CC_RASTER_TASK_GRAPH_WORK_QUEUE_H_
OLDNEW
« no previous file with comments | « cc/raster/task_graph_runner_perftest.cc ('k') | cc/raster/task_graph_work_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698