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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 IPC_STRUCT_END() | 53 IPC_STRUCT_END() |
54 | 54 |
55 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 55 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
56 IPC_STRUCT_MEMBER(gpu::SurfaceHandle, surface_handle) | 56 IPC_STRUCT_MEMBER(gpu::SurfaceHandle, surface_handle) |
57 IPC_STRUCT_MEMBER(gfx::Size, size) | 57 IPC_STRUCT_MEMBER(gfx::Size, size) |
58 IPC_STRUCT_MEMBER(int32_t, share_group_id) | 58 IPC_STRUCT_MEMBER(int32_t, share_group_id) |
59 IPC_STRUCT_MEMBER(int32_t, stream_id) | 59 IPC_STRUCT_MEMBER(int32_t, stream_id) |
60 IPC_STRUCT_MEMBER(gpu::GpuStreamPriority, stream_priority) | 60 IPC_STRUCT_MEMBER(gpu::GpuStreamPriority, stream_priority) |
61 IPC_STRUCT_MEMBER(gpu::gles2::ContextCreationAttribHelper, attribs) | 61 IPC_STRUCT_MEMBER(gpu::gles2::ContextCreationAttribHelper, attribs) |
62 IPC_STRUCT_MEMBER(GURL, active_url) | 62 IPC_STRUCT_MEMBER(GURL, active_url) |
63 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 63 IPC_STRUCT_MEMBER(gl::GpuPreference, gpu_preference) |
64 IPC_STRUCT_END() | 64 IPC_STRUCT_END() |
65 | 65 |
66 IPC_STRUCT_BEGIN(GpuCommandBufferMsg_CreateImage_Params) | 66 IPC_STRUCT_BEGIN(GpuCommandBufferMsg_CreateImage_Params) |
67 IPC_STRUCT_MEMBER(int32_t, id) | 67 IPC_STRUCT_MEMBER(int32_t, id) |
68 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer) | 68 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer) |
69 IPC_STRUCT_MEMBER(gfx::Size, size) | 69 IPC_STRUCT_MEMBER(gfx::Size, size) |
70 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) | 70 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) |
71 IPC_STRUCT_MEMBER(uint32_t, internal_format) | 71 IPC_STRUCT_MEMBER(uint32_t, internal_format) |
72 IPC_STRUCT_MEMBER(uint64_t, image_release_count) | 72 IPC_STRUCT_MEMBER(uint64_t, image_release_count) |
73 IPC_STRUCT_END() | 73 IPC_STRUCT_END() |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 GpuCommandBufferMsg_CreateImage_Params /* params */) | 240 GpuCommandBufferMsg_CreateImage_Params /* params */) |
241 | 241 |
242 // Destroy a previously created image. | 242 // Destroy a previously created image. |
243 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) | 243 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) |
244 | 244 |
245 // Attaches an external image stream to the client texture. | 245 // Attaches an external image stream to the client texture. |
246 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, | 246 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
247 uint32_t, /* client_texture_id */ | 247 uint32_t, /* client_texture_id */ |
248 int32_t, /* stream_id */ | 248 int32_t, /* stream_id */ |
249 bool /* succeeded */) | 249 bool /* succeeded */) |
OLD | NEW |