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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, | 410 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, |
411 GURL /* url */) | 411 GURL /* url */) |
412 | 412 |
413 // Tells the browser about GPU memory usage statistics for UMA logging. | 413 // Tells the browser about GPU memory usage statistics for UMA logging. |
414 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, | 414 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, |
415 content::GPUMemoryUmaStats /* GPU memory UMA stats */) | 415 content::GPUMemoryUmaStats /* GPU memory UMA stats */) |
416 | 416 |
417 // Response to GpuMsg_RelinquishResources. | 417 // Response to GpuMsg_RelinquishResources. |
418 IPC_MESSAGE_CONTROL0(GpuHostMsg_ResourcesRelinquished) | 418 IPC_MESSAGE_CONTROL0(GpuHostMsg_ResourcesRelinquished) |
419 | 419 |
| 420 // Tells the browser that a context has subscribed to a new target and |
| 421 // the browser should start sending the corresponding information |
| 422 IPC_MESSAGE_CONTROL2(GpuHostMsg_AddSubscription, |
| 423 int32 /* client_id */, |
| 424 unsigned int /* target */); |
| 425 |
| 426 // Tells the browser that no contexts are subscribed to the target anymore |
| 427 // so the browser should stop sending the corresponding information |
| 428 IPC_MESSAGE_CONTROL2(GpuHostMsg_RemoveSubscription, |
| 429 int32 /* client_id */, |
| 430 unsigned int /* target */); |
| 431 |
420 //------------------------------------------------------------------------------ | 432 //------------------------------------------------------------------------------ |
421 // GPU Channel Messages | 433 // GPU Channel Messages |
422 // These are messages from a renderer process to the GPU process. | 434 // These are messages from a renderer process to the GPU process. |
423 | 435 |
424 // Tells the GPU process to create a new command buffer that renders to an | 436 // Tells the GPU process to create a new command buffer that renders to an |
425 // offscreen frame buffer. | 437 // offscreen frame buffer. |
426 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateOffscreenCommandBuffer, | 438 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateOffscreenCommandBuffer, |
427 gfx::Size, /* size */ | 439 gfx::Size, /* size */ |
428 GPUCreateCommandBufferConfig, /* init_params */ | 440 GPUCreateCommandBufferConfig, /* init_params */ |
429 int32, /* route_id */ | 441 int32, /* route_id */ |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 int32 /* bitstream_buffer_id */, | 749 int32 /* bitstream_buffer_id */, |
738 uint32 /* payload_size */, | 750 uint32 /* payload_size */, |
739 bool /* key_frame */) | 751 bool /* key_frame */) |
740 | 752 |
741 // Report error condition. | 753 // Report error condition. |
742 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 754 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
743 media::VideoEncodeAccelerator::Error /* error */) | 755 media::VideoEncodeAccelerator::Error /* error */) |
744 | 756 |
745 // Send destroy request to the encoder. | 757 // Send destroy request to the encoder. |
746 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 758 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |