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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 | 405 |
406 // A renderer sends this when it wants to create a connection to the GPU | 406 // A renderer sends this when it wants to create a connection to the GPU |
407 // process. The browser will create the GPU process if necessary, and will | 407 // process. The browser will create the GPU process if necessary, and will |
408 // return a handle to the channel via a GpuChannelEstablished message. | 408 // return a handle to the channel via a GpuChannelEstablished message. |
409 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, | 409 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, |
410 content::CauseForGpuLaunch, | 410 content::CauseForGpuLaunch, |
411 int /* client id */, | 411 int /* client id */, |
412 IPC::ChannelHandle /* handle to channel */, | 412 IPC::ChannelHandle /* handle to channel */, |
413 gpu::GPUInfo /* stats about GPU process*/) | 413 gpu::GPUInfo /* stats about GPU process*/) |
414 | 414 |
| 415 // A renderer sends this when it wants to know whether a gpu process exists. |
| 416 IPC_SYNC_MESSAGE_CONTROL0_1(GpuHostMsg_HasGpuProcess, bool /* result */) |
| 417 |
415 // Response from GPU to a GputMsg_Initialize message. | 418 // Response from GPU to a GputMsg_Initialize message. |
416 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, | 419 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, |
417 bool /* result */, | 420 bool /* result */, |
418 ::gpu::GPUInfo /* gpu_info */) | 421 ::gpu::GPUInfo /* gpu_info */) |
419 | 422 |
420 // Response from GPU to a GpuHostMsg_EstablishChannel message. | 423 // Response from GPU to a GpuHostMsg_EstablishChannel message. |
421 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, | 424 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, |
422 IPC::ChannelHandle /* channel_handle */) | 425 IPC::ChannelHandle /* channel_handle */) |
423 | 426 |
424 // Message from GPU to notify to destroy the channel. | 427 // Message from GPU to notify to destroy the channel. |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 823 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
821 | 824 |
822 //------------------------------------------------------------------------------ | 825 //------------------------------------------------------------------------------ |
823 // Accelerated JPEG Decoder Host Messages | 826 // Accelerated JPEG Decoder Host Messages |
824 // These messages are sent from the GPU process to Browser process. | 827 // These messages are sent from the GPU process to Browser process. |
825 // | 828 // |
826 // Report decode status. | 829 // Report decode status. |
827 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 830 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
828 int32_t, /* bitstream_buffer_id */ | 831 int32_t, /* bitstream_buffer_id */ |
829 media::JpegDecodeAccelerator::Error /* error */) | 832 media::JpegDecodeAccelerator::Error /* error */) |
OLD | NEW |