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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 420 // Tells the browser that a context has subscribed to a new target and |
421 // the browser should start sending the corresponding information | 421 // the browser should start sending the corresponding information |
422 IPC_MESSAGE_CONTROL2(GpuHostMsg_AddSubscription, | 422 IPC_MESSAGE_CONTROL2(GpuHostMsg_AddSubscription, |
423 int32 /* client_id */, | 423 int32 /* client_id */, |
424 unsigned int /* target */); | 424 unsigned int /* target */) |
425 | 425 |
426 // Tells the browser that no contexts are subscribed to the target anymore | 426 // Tells the browser that no contexts are subscribed to the target anymore |
427 // so the browser should stop sending the corresponding information | 427 // so the browser should stop sending the corresponding information |
428 IPC_MESSAGE_CONTROL2(GpuHostMsg_RemoveSubscription, | 428 IPC_MESSAGE_CONTROL2(GpuHostMsg_RemoveSubscription, |
429 int32 /* client_id */, | 429 int32 /* client_id */, |
430 unsigned int /* target */); | 430 unsigned int /* target */) |
431 | 431 |
432 //------------------------------------------------------------------------------ | 432 //------------------------------------------------------------------------------ |
433 // GPU Channel Messages | 433 // GPU Channel Messages |
434 // These are messages from a renderer process to the GPU process. | 434 // These are messages from a renderer process to the GPU process. |
435 | 435 |
436 // 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 |
437 // offscreen frame buffer. | 437 // offscreen frame buffer. |
438 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateOffscreenCommandBuffer, | 438 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateOffscreenCommandBuffer, |
439 gfx::Size, /* size */ | 439 gfx::Size, /* size */ |
440 GPUCreateCommandBufferConfig, /* init_params */ | 440 GPUCreateCommandBufferConfig, /* init_params */ |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 int32 /* bitstream_buffer_id */, | 749 int32 /* bitstream_buffer_id */, |
750 uint32 /* payload_size */, | 750 uint32 /* payload_size */, |
751 bool /* key_frame */) | 751 bool /* key_frame */) |
752 | 752 |
753 // Report error condition. | 753 // Report error condition. |
754 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 754 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
755 media::VideoEncodeAccelerator::Error /* error */) | 755 media::VideoEncodeAccelerator::Error /* error */) |
756 | 756 |
757 // Send destroy request to the encoder. | 757 // Send destroy request to the encoder. |
758 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 758 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |