| 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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 gfx::Size, /* size */ | 407 gfx::Size, /* size */ |
| 408 GPUCreateCommandBufferConfig, /* init_params */ | 408 GPUCreateCommandBufferConfig, /* init_params */ |
| 409 int32 /* route_id */) | 409 int32 /* route_id */) |
| 410 | 410 |
| 411 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its | 411 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its |
| 412 // destructor, so that the stub deletes the actual CommandBufferService | 412 // destructor, so that the stub deletes the actual CommandBufferService |
| 413 // object that it's hosting. | 413 // object that it's hosting. |
| 414 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, | 414 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, |
| 415 int32 /* instance_id */) | 415 int32 /* instance_id */) |
| 416 | 416 |
| 417 // Generates n new unique mailbox names. | 417 // Generates n new unique mailbox names synchronously. |
| 418 IPC_SYNC_MESSAGE_CONTROL1_1(GpuChannelMsg_GenerateMailboxNames, | 418 IPC_SYNC_MESSAGE_CONTROL1_1(GpuChannelMsg_GenerateMailboxNames, |
| 419 unsigned, /* num */ | 419 unsigned, /* num */ |
| 420 std::vector<std::string> /* mailbox_names */) | 420 std::vector<std::string> /* mailbox_names */) |
| 421 | 421 |
| 422 // Generates n new unique mailbox names asynchronously. |
| 423 IPC_MESSAGE_CONTROL1(GpuChannelMsg_GenerateMailboxNamesAsync, |
| 424 unsigned /* num */) |
| 425 |
| 426 // Reply to GpuChannelMsg_GenerateMailboxNamesAsync. |
| 427 IPC_MESSAGE_CONTROL1(GpuChannelMsg_GenerateMailboxNamesReply, |
| 428 std::vector<std::string> /* mailbox_names */) |
| 429 |
| 422 #if defined(OS_ANDROID) | 430 #if defined(OS_ANDROID) |
| 423 // Register the StreamTextureProxy class with the GPU process, so that | 431 // Register the StreamTextureProxy class with the GPU process, so that |
| 424 // the renderer process will get notified whenever a frame becomes available. | 432 // the renderer process will get notified whenever a frame becomes available. |
| 425 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_RegisterStreamTextureProxy, | 433 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_RegisterStreamTextureProxy, |
| 426 int32, /* stream_id */ | 434 int32, /* stream_id */ |
| 427 gfx::Size, /* initial_size */ | 435 gfx::Size, /* initial_size */ |
| 428 int /* route_id */) | 436 int /* route_id */) |
| 429 | 437 |
| 430 // Tells the GPU process create and send the java surface texture object to | 438 // Tells the GPU process create and send the java surface texture object to |
| 431 // the renderer process through the binder thread. | 439 // the renderer process through the binder thread. |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 | 687 |
| 680 // Confirm decoder has been flushed. | 688 // Confirm decoder has been flushed. |
| 681 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 689 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 682 | 690 |
| 683 // Confirm decoder has been reset. | 691 // Confirm decoder has been reset. |
| 684 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 692 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 685 | 693 |
| 686 // Video decoder has encountered an error. | 694 // Video decoder has encountered an error. |
| 687 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 695 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 688 uint32) /* Error ID */ | 696 uint32) /* Error ID */ |
| OLD | NEW |