| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 | 366 |
| 367 // A renderer sends this when it wants to create a connection to the GPU | 367 // A renderer sends this when it wants to create a connection to the GPU |
| 368 // process. The browser will create the GPU process if necessary, and will | 368 // process. The browser will create the GPU process if necessary, and will |
| 369 // return a handle to the channel via a GpuChannelEstablished message. | 369 // return a handle to the channel via a GpuChannelEstablished message. |
| 370 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, | 370 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, |
| 371 content::CauseForGpuLaunch, | 371 content::CauseForGpuLaunch, |
| 372 int /* client id */, | 372 int /* client id */, |
| 373 IPC::ChannelHandle /* handle to channel */, | 373 IPC::ChannelHandle /* handle to channel */, |
| 374 gpu::GPUInfo /* stats about GPU process*/) | 374 gpu::GPUInfo /* stats about GPU process*/) |
| 375 | 375 |
| 376 // A renderer sends this to the browser process when it wants to | |
| 377 // create a GL context associated with the given view_id. | |
| 378 IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_CreateViewCommandBuffer, | |
| 379 GPUCreateCommandBufferConfig, /* init_params */ | |
| 380 int32, /* route_id */ | |
| 381 content::CreateCommandBufferResult /* result */) | |
| 382 | |
| 383 // Response from GPU to a GputMsg_Initialize message. | 376 // Response from GPU to a GputMsg_Initialize message. |
| 384 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, | 377 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, |
| 385 bool /* result */, | 378 bool /* result */, |
| 386 ::gpu::GPUInfo /* gpu_info */) | 379 ::gpu::GPUInfo /* gpu_info */) |
| 387 | 380 |
| 388 // Response from GPU to a GpuHostMsg_EstablishChannel message. | 381 // Response from GPU to a GpuHostMsg_EstablishChannel message. |
| 389 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, | 382 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, |
| 390 IPC::ChannelHandle /* channel_handle */) | 383 IPC::ChannelHandle /* channel_handle */) |
| 391 | 384 |
| 392 // Message from GPU to notify to destroy the channel. | 385 // Message from GPU to notify to destroy the channel. |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 777 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
| 785 | 778 |
| 786 //------------------------------------------------------------------------------ | 779 //------------------------------------------------------------------------------ |
| 787 // Accelerated JPEG Decoder Host Messages | 780 // Accelerated JPEG Decoder Host Messages |
| 788 // These messages are sent from the GPU process to Browser process. | 781 // These messages are sent from the GPU process to Browser process. |
| 789 // | 782 // |
| 790 // Report decode status. | 783 // Report decode status. |
| 791 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 784 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
| 792 int32, /* bitstream_buffer_id */ | 785 int32, /* bitstream_buffer_id */ |
| 793 media::JpegDecodeAccelerator::Error /* error */) | 786 media::JpegDecodeAccelerator::Error /* error */) |
| OLD | NEW |