OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/gpu_messages.h" | |
6 | |
7 #include "chrome/common/gpu_create_command_buffer_config.h" | 5 #include "chrome/common/gpu_create_command_buffer_config.h" |
8 #include "chrome/common/gpu_info.h" | 6 #include "chrome/common/gpu_info.h" |
9 #include "chrome/common/dx_diag_node.h" | 7 #include "chrome/common/dx_diag_node.h" |
10 #include "gfx/rect.h" | 8 #include "gfx/rect.h" |
11 #include "gfx/size.h" | 9 #include "gfx/size.h" |
12 #include "ipc/ipc_channel_handle.h" | 10 #include "ipc/ipc_channel_handle.h" |
13 #include "ipc/ipc_message_utils.h" | |
14 | 11 |
15 #define MESSAGES_INTERNAL_IMPL_FILE \ | 12 #define IPC_MESSAGE_IMPL |
16 "chrome/common/gpu_messages_internal.h" | 13 #include "chrome/common/gpu_messages.h" |
17 #include "ipc/ipc_message_impl_macros.h" | |
18 | 14 |
19 #if defined(OS_MACOSX) | 15 #if defined(OS_MACOSX) |
20 | 16 |
21 // Parameters for the GpuHostMsg_AcceleratedSurfaceSetIOSurface | 17 // Parameters for the GpuHostMsg_AcceleratedSurfaceSetIOSurface |
22 // message, which has too many parameters to be sent with the | 18 // message, which has too many parameters to be sent with the |
23 // predefined IPC macros. | 19 // predefined IPC macros. |
24 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params:: | 20 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params:: |
25 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params() | 21 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params() |
26 : renderer_id(0), | 22 : renderer_id(0), |
27 render_view_id(0), | 23 render_view_id(0), |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 } | 256 } |
261 return true; | 257 return true; |
262 } | 258 } |
263 | 259 |
264 void ParamTraits<GPUCreateCommandBufferConfig> ::Log( | 260 void ParamTraits<GPUCreateCommandBufferConfig> ::Log( |
265 const param_type& p, std::string* l) { | 261 const param_type& p, std::string* l) { |
266 l->append("<GPUCreateCommandBufferConfig>"); | 262 l->append("<GPUCreateCommandBufferConfig>"); |
267 } | 263 } |
268 | 264 |
269 } // namespace IPC | 265 } // namespace IPC |
OLD | NEW |