Chromium Code Reviews| 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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 468 //------------------------------------------------------------------------------ | 468 //------------------------------------------------------------------------------ |
| 469 // GPU Channel Messages | 469 // GPU Channel Messages |
| 470 // These are messages from a renderer process to the GPU process. | 470 // These are messages from a renderer process to the GPU process. |
| 471 | 471 |
| 472 // Tells the GPU process to create a new command buffer that renders to an | 472 // Tells the GPU process to create a new command buffer that renders to an |
| 473 // offscreen frame buffer. | 473 // offscreen frame buffer. |
| 474 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateOffscreenCommandBuffer, | 474 IPC_SYNC_MESSAGE_CONTROL3_1(GpuChannelMsg_CreateOffscreenCommandBuffer, |
| 475 gfx::Size, /* size */ | 475 gfx::Size, /* size */ |
| 476 GPUCreateCommandBufferConfig, /* init_params */ | 476 GPUCreateCommandBufferConfig, /* init_params */ |
| 477 int32, /* route_id */ | 477 int32, /* route_id */ |
| 478 uint64, /* command_buffer_id */ | |
|
piman
2015/09/15 22:51:05
I don't think this is needed. You have the route i
David Yen
2015/09/15 23:09:03
I accidentally committed this before I was done. I
piman
2015/09/15 23:17:17
I prefer not overspecifying the message. My concer
David Yen
2015/09/16 00:02:50
Ok, I've moved it back.
| |
| 478 bool /* succeeded */) | 479 bool /* succeeded */) |
| 479 | 480 |
| 480 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its | 481 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its |
| 481 // destructor, so that the stub deletes the actual CommandBufferService | 482 // destructor, so that the stub deletes the actual CommandBufferService |
| 482 // object that it's hosting. | 483 // object that it's hosting. |
| 483 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, | 484 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, |
| 484 int32 /* instance_id */) | 485 int32 /* instance_id */) |
| 485 | 486 |
| 486 #if defined(OS_ANDROID) | 487 #if defined(OS_ANDROID) |
| 487 //------------------------------------------------------------------------------ | 488 //------------------------------------------------------------------------------ |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 806 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 807 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 807 | 808 |
| 808 //------------------------------------------------------------------------------ | 809 //------------------------------------------------------------------------------ |
| 809 // Accelerated JPEG Decoder Host Messages | 810 // Accelerated JPEG Decoder Host Messages |
| 810 // These messages are sent from the GPU process to Browser process. | 811 // These messages are sent from the GPU process to Browser process. |
| 811 // | 812 // |
| 812 // Report decode status. | 813 // Report decode status. |
| 813 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 814 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 814 int32, /* bitstream_buffer_id */ | 815 int32, /* bitstream_buffer_id */ |
| 815 media::JpegDecodeAccelerator::Error /* error */) | 816 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |