| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 | 422 |
| 423 // A renderer sends this when it wants to create a connection to the GPU | 423 // A renderer sends this when it wants to create a connection to the GPU |
| 424 // process. The browser will create the GPU process if necessary, and will | 424 // process. The browser will create the GPU process if necessary, and will |
| 425 // return a handle to the channel via a GpuChannelEstablished message. | 425 // return a handle to the channel via a GpuChannelEstablished message. |
| 426 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, | 426 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, |
| 427 content::CauseForGpuLaunch, | 427 content::CauseForGpuLaunch, |
| 428 int /* client id */, | 428 int /* client id */, |
| 429 IPC::ChannelHandle /* handle to channel */, | 429 IPC::ChannelHandle /* handle to channel */, |
| 430 gpu::GPUInfo /* stats about GPU process*/) | 430 gpu::GPUInfo /* stats about GPU process*/) |
| 431 | 431 |
| 432 // A renderer sends this when it wants to know whether a gpu process exists. |
| 433 IPC_SYNC_MESSAGE_CONTROL0_1(GpuHostMsg_HasGpuProcess, bool /* result */) |
| 434 |
| 432 // Response from GPU to a GputMsg_Initialize message. | 435 // Response from GPU to a GputMsg_Initialize message. |
| 433 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, | 436 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, |
| 434 bool /* result */, | 437 bool /* result */, |
| 435 ::gpu::GPUInfo /* gpu_info */) | 438 ::gpu::GPUInfo /* gpu_info */) |
| 436 | 439 |
| 437 // Response from GPU to a GpuHostMsg_EstablishChannel message. | 440 // Response from GPU to a GpuHostMsg_EstablishChannel message. |
| 438 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, | 441 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, |
| 439 IPC::ChannelHandle /* channel_handle */) | 442 IPC::ChannelHandle /* channel_handle */) |
| 440 | 443 |
| 441 // Message from GPU to notify to destroy the channel. | 444 // Message from GPU to notify to destroy the channel. |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 826 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 829 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 827 | 830 |
| 828 //------------------------------------------------------------------------------ | 831 //------------------------------------------------------------------------------ |
| 829 // Accelerated JPEG Decoder Host Messages | 832 // Accelerated JPEG Decoder Host Messages |
| 830 // These messages are sent from the GPU process to Browser process. | 833 // These messages are sent from the GPU process to Browser process. |
| 831 // | 834 // |
| 832 // Report decode status. | 835 // Report decode status. |
| 833 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 836 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 834 int32_t, /* bitstream_buffer_id */ | 837 int32_t, /* bitstream_buffer_id */ |
| 835 media::JpegDecodeAccelerator::Error /* error */) | 838 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |