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

Side by Side Diff: gpu/ipc/gpu_command_buffer_traits.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 4 years, 12 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
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 #include "gpu/ipc/gpu_command_buffer_traits.h" 5 #include "gpu/ipc/gpu_command_buffer_traits.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "gpu/command_buffer/common/mailbox_holder.h" 10 #include "gpu/command_buffer/common/mailbox_holder.h"
8 #include "gpu/command_buffer/common/sync_token.h" 11 #include "gpu/command_buffer/common/sync_token.h"
9 #include "gpu/command_buffer/common/value_state.h" 12 #include "gpu/command_buffer/common/value_state.h"
10 13
11 // Generate param traits write methods. 14 // Generate param traits write methods.
12 #include "ipc/param_traits_write_macros.h" 15 #include "ipc/param_traits_write_macros.h"
13 namespace IPC { 16 namespace IPC {
14 #include "gpu/ipc/gpu_command_buffer_traits_multi.h" 17 #include "gpu/ipc/gpu_command_buffer_traits_multi.h"
15 } // namespace IPC 18 } // namespace IPC
16 19
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 l->append("<ValueState ("); 161 l->append("<ValueState (");
159 for (int value : p.int_value) 162 for (int value : p.int_value)
160 *l += base::StringPrintf("%i ", value); 163 *l += base::StringPrintf("%i ", value);
161 l->append(" int values "); 164 l->append(" int values ");
162 for (float value : p.float_value) 165 for (float value : p.float_value)
163 *l += base::StringPrintf("%f ", value); 166 *l += base::StringPrintf("%f ", value);
164 l->append(" float values)>"); 167 l->append(" float values)>");
165 } 168 }
166 169
167 } // namespace IPC 170 } // namespace IPC
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/native/main.cc ('k') | gpu/khronos_glcts_support/khronos_glcts_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698