| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) | 50 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) |
| 51 IPC_STRUCT_MEMBER(int32_t, id) | 51 IPC_STRUCT_MEMBER(int32_t, id) |
| 52 IPC_STRUCT_MEMBER(std::string, message) | 52 IPC_STRUCT_MEMBER(std::string, message) |
| 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(int32_t, share_group_id) | 57 IPC_STRUCT_MEMBER(int32_t, share_group_id) |
| 58 IPC_STRUCT_MEMBER(int32_t, stream_id) | 58 IPC_STRUCT_MEMBER(int32_t, stream_id) |
| 59 IPC_STRUCT_MEMBER(gpu::GpuStreamPriority, stream_priority) | 59 IPC_STRUCT_MEMBER(gpu::SchedulingPriority, stream_priority) |
| 60 IPC_STRUCT_MEMBER(gpu::gles2::ContextCreationAttribHelper, attribs) | 60 IPC_STRUCT_MEMBER(gpu::gles2::ContextCreationAttribHelper, attribs) |
| 61 IPC_STRUCT_MEMBER(GURL, active_url) | 61 IPC_STRUCT_MEMBER(GURL, active_url) |
| 62 IPC_STRUCT_END() | 62 IPC_STRUCT_END() |
| 63 | 63 |
| 64 IPC_STRUCT_BEGIN(GpuCommandBufferMsg_CreateImage_Params) | 64 IPC_STRUCT_BEGIN(GpuCommandBufferMsg_CreateImage_Params) |
| 65 IPC_STRUCT_MEMBER(int32_t, id) | 65 IPC_STRUCT_MEMBER(int32_t, id) |
| 66 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer) | 66 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer) |
| 67 IPC_STRUCT_MEMBER(gfx::Size, size) | 67 IPC_STRUCT_MEMBER(gfx::Size, size) |
| 68 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) | 68 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) |
| 69 IPC_STRUCT_MEMBER(uint32_t, internal_format) | 69 IPC_STRUCT_MEMBER(uint32_t, internal_format) |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) | 240 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) |
| 241 | 241 |
| 242 // Attaches an external image stream to the client texture. | 242 // Attaches an external image stream to the client texture. |
| 243 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, | 243 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
| 244 uint32_t, /* client_texture_id */ | 244 uint32_t, /* client_texture_id */ |
| 245 int32_t, /* stream_id */ | 245 int32_t, /* stream_id */ |
| 246 bool /* succeeded */) | 246 bool /* succeeded */) |
| 247 | 247 |
| 248 // Start or stop VSync sygnal production on GPU side (Windows only). | 248 // Start or stop VSync sygnal production on GPU side (Windows only). |
| 249 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetNeedsVSync, bool /* needs_vsync */) | 249 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetNeedsVSync, bool /* needs_vsync */) |
| OLD | NEW |