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