OLD | NEW |
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 // Multiply-included message file, hence no include guard here, but see below | 5 // Multiply-included message file, hence no include guard here, but see below |
6 // for a much smaller-than-usual include guard section. | 6 // for a much smaller-than-usual include guard section. |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "gpu/gpu_export.h" | 22 #include "gpu/gpu_export.h" |
23 #include "gpu/ipc/common/gpu_command_buffer_traits.h" | 23 #include "gpu/ipc/common/gpu_command_buffer_traits.h" |
24 #include "gpu/ipc/common/gpu_param_traits.h" | 24 #include "gpu/ipc/common/gpu_param_traits.h" |
25 #include "gpu/ipc/common/surface_handle.h" | 25 #include "gpu/ipc/common/surface_handle.h" |
26 #include "ipc/ipc_channel_handle.h" | 26 #include "ipc/ipc_channel_handle.h" |
27 #include "ipc/ipc_message_macros.h" | 27 #include "ipc/ipc_message_macros.h" |
28 #include "ui/events/ipc/latency_info_param_traits.h" | 28 #include "ui/events/ipc/latency_info_param_traits.h" |
29 #include "ui/events/latency_info.h" | 29 #include "ui/events/latency_info.h" |
30 #include "ui/gfx/geometry/size.h" | 30 #include "ui/gfx/geometry/size.h" |
31 #include "ui/gfx/gpu_memory_buffer.h" | 31 #include "ui/gfx/gpu_memory_buffer.h" |
| 32 #include "ui/gfx/ipc/geometry/gfx_param_traits.h" |
32 #include "ui/gfx/ipc/gfx_param_traits.h" | 33 #include "ui/gfx/ipc/gfx_param_traits.h" |
33 #include "ui/gfx/native_widget_types.h" | 34 #include "ui/gfx/native_widget_types.h" |
34 #include "ui/gfx/swap_result.h" | 35 #include "ui/gfx/swap_result.h" |
35 #include "url/ipc/url_param_traits.h" | 36 #include "url/ipc/url_param_traits.h" |
36 | 37 |
37 #if defined(OS_ANDROID) | 38 #if defined(OS_ANDROID) |
38 #include "gpu/ipc/common/android/surface_texture_peer.h" | 39 #include "gpu/ipc/common/android/surface_texture_peer.h" |
39 #elif defined(OS_MACOSX) | 40 #elif defined(OS_MACOSX) |
40 #include "ui/base/cocoa/remote_layer_api.h" | 41 #include "ui/base/cocoa/remote_layer_api.h" |
41 #include "ui/gfx/mac/io_surface.h" | 42 #include "ui/gfx/mac/io_surface.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 GpuCommandBufferMsg_CreateImage_Params /* params */) | 214 GpuCommandBufferMsg_CreateImage_Params /* params */) |
214 | 215 |
215 // Destroy a previously created image. | 216 // Destroy a previously created image. |
216 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) | 217 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) |
217 | 218 |
218 // Attaches an external image stream to the client texture. | 219 // Attaches an external image stream to the client texture. |
219 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, | 220 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
220 uint32_t, /* client_texture_id */ | 221 uint32_t, /* client_texture_id */ |
221 int32_t, /* stream_id */ | 222 int32_t, /* stream_id */ |
222 bool /* succeeded */) | 223 bool /* succeeded */) |
OLD | NEW |