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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 | 294 |
295 // Tells the GPU process to hang. | 295 // Tells the GPU process to hang. |
296 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) | 296 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) |
297 | 297 |
298 // Tells the GPU process to disable the watchdog thread. | 298 // Tells the GPU process to disable the watchdog thread. |
299 IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog) | 299 IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog) |
300 | 300 |
301 // Tells the GPU process that the browser has seen a GPU switch. | 301 // Tells the GPU process that the browser has seen a GPU switch. |
302 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) | 302 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) |
303 | 303 |
| 304 // Tells the GPU process to delete the default_offscreen buffer in preparation |
| 305 // for temporarily deleting the display. |
| 306 IPC_MESSAGE_CONTROL0(GpuMsg_DeleteDefaultOffscreenSurface) |
| 307 |
304 //------------------------------------------------------------------------------ | 308 //------------------------------------------------------------------------------ |
305 // GPU Host Messages | 309 // GPU Host Messages |
306 // These are messages to the browser. | 310 // These are messages to the browser. |
307 | 311 |
308 // A renderer sends this when it wants to create a connection to the GPU | 312 // A renderer sends this when it wants to create a connection to the GPU |
309 // process. The browser will create the GPU process if necessary, and will | 313 // process. The browser will create the GPU process if necessary, and will |
310 // return a handle to the channel via a GpuChannelEstablished message. | 314 // return a handle to the channel via a GpuChannelEstablished message. |
311 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, | 315 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, |
312 content::CauseForGpuLaunch, | 316 content::CauseForGpuLaunch, |
313 int /* client id */, | 317 int /* client id */, |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 int32 /* bitstream_buffer_id */, | 726 int32 /* bitstream_buffer_id */, |
723 uint32 /* payload_size */, | 727 uint32 /* payload_size */, |
724 bool /* key_frame */) | 728 bool /* key_frame */) |
725 | 729 |
726 // Report error condition. | 730 // Report error condition. |
727 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 731 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
728 media::VideoEncodeAccelerator::Error /* error */) | 732 media::VideoEncodeAccelerator::Error /* error */) |
729 | 733 |
730 // Send destroy request to the encoder. | 734 // Send destroy request to the encoder. |
731 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 735 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |