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

Side by Side Diff: gpu/command_buffer/service/cmd_parser.cc

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 | « gpu/command_buffer/service/cmd_parser.h ('k') | gpu/command_buffer/service/cmd_parser_test.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains the implementation of the command parser. 5 // This file contains the implementation of the command parser.
6 6
7 #include "gpu/command_buffer/service/cmd_parser.h" 7 #include "gpu/command_buffer/service/cmd_parser.h"
8 8
9 #include <stddef.h>
10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/trace_event/trace_event.h" 12 #include "base/trace_event/trace_event.h"
11 13
12 namespace gpu { 14 namespace gpu {
13 15
14 CommandParser::CommandParser(AsyncAPIInterface* handler) 16 CommandParser::CommandParser(AsyncAPIInterface* handler)
15 : get_(0), 17 : get_(0),
16 put_(0), 18 put_(0),
17 buffer_(NULL), 19 buffer_(NULL),
18 entry_count_(0), 20 entry_count_(0),
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 } 109 }
108 } 110 }
109 111
110 if (entries_processed) 112 if (entries_processed)
111 *entries_processed = process_pos; 113 *entries_processed = process_pos;
112 114
113 return result; 115 return result;
114 } 116 }
115 117
116 } // namespace gpu 118 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/cmd_parser.h ('k') | gpu/command_buffer/service/cmd_parser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698