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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 167 |
168 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats) | 168 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats) |
169 IPC_STRUCT_TRAITS_MEMBER(video_memory) | 169 IPC_STRUCT_TRAITS_MEMBER(video_memory) |
170 IPC_STRUCT_TRAITS_MEMBER(has_duplicates) | 170 IPC_STRUCT_TRAITS_MEMBER(has_duplicates) |
171 IPC_STRUCT_TRAITS_END() | 171 IPC_STRUCT_TRAITS_END() |
172 | 172 |
173 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) | 173 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) |
174 IPC_STRUCT_TRAITS_MEMBER(process_map) | 174 IPC_STRUCT_TRAITS_MEMBER(process_map) |
175 IPC_STRUCT_TRAITS_END() | 175 IPC_STRUCT_TRAITS_END() |
176 | 176 |
177 IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocationForRenderer) | 177 IPC_STRUCT_TRAITS_BEGIN(content::GpuMemoryAllocationForRenderer) |
178 IPC_STRUCT_TRAITS_MEMBER(gpu_resource_size_in_bytes) | 178 IPC_STRUCT_TRAITS_MEMBER(gpu_resource_size_in_bytes) |
179 IPC_STRUCT_TRAITS_MEMBER(suggest_have_backbuffer) | 179 IPC_STRUCT_TRAITS_MEMBER(suggest_have_backbuffer) |
180 IPC_STRUCT_TRAITS_END() | 180 IPC_STRUCT_TRAITS_END() |
181 | 181 |
182 IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) | 182 IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) |
183 IPC_STRUCT_TRAITS_MEMBER(handle) | 183 IPC_STRUCT_TRAITS_MEMBER(handle) |
184 IPC_STRUCT_TRAITS_MEMBER(transport) | 184 IPC_STRUCT_TRAITS_MEMBER(transport) |
185 IPC_STRUCT_TRAITS_MEMBER(parent_gpu_process_id) | 185 IPC_STRUCT_TRAITS_MEMBER(parent_gpu_process_id) |
186 IPC_STRUCT_TRAITS_MEMBER(parent_client_id) | 186 IPC_STRUCT_TRAITS_MEMBER(parent_client_id) |
187 IPC_STRUCT_TRAITS_MEMBER(parent_context_id) | 187 IPC_STRUCT_TRAITS_MEMBER(parent_context_id) |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck) | 547 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EchoAck) |
548 | 548 |
549 // Send to stub on surface visibility change. | 549 // Send to stub on surface visibility change. |
550 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) | 550 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) |
551 | 551 |
552 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_DiscardBackbuffer) | 552 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_DiscardBackbuffer) |
553 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EnsureBackbuffer) | 553 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EnsureBackbuffer) |
554 | 554 |
555 // Sent to proxy when the gpu memory manager changes its memory allocation. | 555 // Sent to proxy when the gpu memory manager changes its memory allocation. |
556 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, | 556 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, |
557 GpuMemoryAllocationForRenderer /* allocation */) | 557 content::GpuMemoryAllocationForRenderer /* allocation */) |
558 | 558 |
559 // Sent to stub when proxy is assigned a memory allocation changed callback. | 559 // Sent to stub when proxy is assigned a memory allocation changed callback. |
560 IPC_MESSAGE_ROUTED1( | 560 IPC_MESSAGE_ROUTED1( |
561 GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback, | 561 GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback, |
562 bool /* has_callback */) | 562 bool /* has_callback */) |
563 | 563 |
564 // Inserts a sync point into the channel. This is handled on the IO thread, so | 564 // Inserts a sync point into the channel. This is handled on the IO thread, so |
565 // can be expected to be reasonably fast, but the sync point is actually | 565 // can be expected to be reasonably fast, but the sync point is actually |
566 // retired in order with respect to the other calls. The sync point is shared | 566 // retired in order with respect to the other calls. The sync point is shared |
567 // across channels. | 567 // across channels. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 | 649 |
650 // Confirm decoder has been flushed. | 650 // Confirm decoder has been flushed. |
651 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 651 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
652 | 652 |
653 // Confirm decoder has been reset. | 653 // Confirm decoder has been reset. |
654 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 654 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
655 | 655 |
656 // Video decoder has encountered an error. | 656 // Video decoder has encountered an error. |
657 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 657 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
658 uint32) /* Error ID */ | 658 uint32) /* Error ID */ |
OLD | NEW |