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 <vector> | 8 #include <vector> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 IPC_STRUCT_TRAITS_MEMBER(gl_renderer) | 117 IPC_STRUCT_TRAITS_MEMBER(gl_renderer) |
118 IPC_STRUCT_TRAITS_MEMBER(gl_extensions) | 118 IPC_STRUCT_TRAITS_MEMBER(gl_extensions) |
119 IPC_STRUCT_TRAITS_MEMBER(can_lose_context) | 119 IPC_STRUCT_TRAITS_MEMBER(can_lose_context) |
120 IPC_STRUCT_TRAITS_MEMBER(performance_stats) | 120 IPC_STRUCT_TRAITS_MEMBER(performance_stats) |
121 IPC_STRUCT_TRAITS_MEMBER(software_rendering) | 121 IPC_STRUCT_TRAITS_MEMBER(software_rendering) |
122 #if defined(OS_WIN) | 122 #if defined(OS_WIN) |
123 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) | 123 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) |
124 #endif | 124 #endif |
125 IPC_STRUCT_TRAITS_END() | 125 IPC_STRUCT_TRAITS_END() |
126 | 126 |
127 IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocation) | 127 IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocationForRenderer) |
128 IPC_STRUCT_TRAITS_MEMBER(gpu_resource_size_in_bytes) | 128 IPC_STRUCT_TRAITS_MEMBER(gpu_resource_size_in_bytes) |
129 IPC_STRUCT_TRAITS_MEMBER(has_frontbuffer) | 129 IPC_STRUCT_TRAITS_MEMBER(suggest_have_backbuffer) |
130 IPC_STRUCT_TRAITS_MEMBER(has_backbuffer) | |
131 IPC_STRUCT_TRAITS_END() | 130 IPC_STRUCT_TRAITS_END() |
132 | 131 |
133 IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) | 132 IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) |
134 IPC_STRUCT_TRAITS_MEMBER(handle) | 133 IPC_STRUCT_TRAITS_MEMBER(handle) |
135 IPC_STRUCT_TRAITS_MEMBER(transport) | 134 IPC_STRUCT_TRAITS_MEMBER(transport) |
136 IPC_STRUCT_TRAITS_MEMBER(parent_gpu_process_id) | 135 IPC_STRUCT_TRAITS_MEMBER(parent_gpu_process_id) |
137 IPC_STRUCT_TRAITS_MEMBER(parent_client_id) | 136 IPC_STRUCT_TRAITS_MEMBER(parent_client_id) |
138 IPC_STRUCT_TRAITS_MEMBER(parent_context_id) | 137 IPC_STRUCT_TRAITS_MEMBER(parent_context_id) |
139 IPC_STRUCT_TRAITS_MEMBER(parent_texture_id[0]) | 138 IPC_STRUCT_TRAITS_MEMBER(parent_texture_id[0]) |
140 IPC_STRUCT_TRAITS_MEMBER(parent_texture_id[1]) | 139 IPC_STRUCT_TRAITS_MEMBER(parent_texture_id[1]) |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 IPC::Message /* reply */) | 440 IPC::Message /* reply */) |
442 | 441 |
443 // Response to a GpuChannelMsg_Echo message. | 442 // Response to a GpuChannelMsg_Echo message. |
444 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck) | 443 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck) |
445 | 444 |
446 // Send to stub on surface visibility change. | 445 // Send to stub on surface visibility change. |
447 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) | 446 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) |
448 | 447 |
449 // Sent to proxy when the gpu memory manager changes its memory allocation. | 448 // Sent to proxy when the gpu memory manager changes its memory allocation. |
450 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, | 449 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, |
451 GpuMemoryAllocation /* allocation */) | 450 GpuMemoryAllocationForRenderer /* allocation */) |
452 | 451 |
453 //------------------------------------------------------------------------------ | 452 //------------------------------------------------------------------------------ |
454 // Accelerated Video Decoder Messages | 453 // Accelerated Video Decoder Messages |
455 // These messages are sent from Renderer process to GPU process. | 454 // These messages are sent from Renderer process to GPU process. |
456 | 455 |
457 // Send input buffer for decoding. | 456 // Send input buffer for decoding. |
458 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, | 457 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, |
459 base::SharedMemoryHandle, /* input_buffer_handle */ | 458 base::SharedMemoryHandle, /* input_buffer_handle */ |
460 int32, /* bitstream_buffer_id */ | 459 int32, /* bitstream_buffer_id */ |
461 int32) /* size */ | 460 int32) /* size */ |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 | 507 |
509 // Confirm decoder has been flushed. | 508 // Confirm decoder has been flushed. |
510 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 509 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
511 | 510 |
512 // Confirm decoder has been reset. | 511 // Confirm decoder has been reset. |
513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 512 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
514 | 513 |
515 // Video decoder has encountered an error. | 514 // Video decoder has encountered an error. |
516 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 515 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
517 uint32) /* Error ID */ | 516 uint32) /* Error ID */ |
OLD | NEW |