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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 // the given surface. The browser must send an ACK once this operation | 370 // the given surface. The browser must send an ACK once this operation |
371 // is complete. | 371 // is complete. |
372 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceRelease, | 372 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceRelease, |
373 GpuHostMsg_AcceleratedSurfaceRelease_Params) | 373 GpuHostMsg_AcceleratedSurfaceRelease_Params) |
374 | 374 |
375 // Tells the browser to release resources for the given surface until the next | 375 // Tells the browser to release resources for the given surface until the next |
376 // time swap buffers or post sub buffer is sent. | 376 // time swap buffers or post sub buffer is sent. |
377 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSuspend, | 377 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSuspend, |
378 int32 /* surface_id */) | 378 int32 /* surface_id */) |
379 | 379 |
| 380 // Tells the browser about updated parameters for vsync alignment. |
| 381 IPC_MESSAGE_CONTROL3(GpuHostMsg_UpdateVSyncParameters, |
| 382 int32 /* surface_id */, |
| 383 base::TimeTicks /* timebase */, |
| 384 base::TimeDelta /* interval */) |
| 385 |
380 //------------------------------------------------------------------------------ | 386 //------------------------------------------------------------------------------ |
381 // GPU Channel Messages | 387 // GPU Channel Messages |
382 // These are messages from a renderer process to the GPU process. | 388 // These are messages from a renderer process to the GPU process. |
383 | 389 |
384 // Tells the GPU process to create a new command buffer that renders to an | 390 // Tells the GPU process to create a new command buffer that renders to an |
385 // offscreen frame buffer. | 391 // offscreen frame buffer. |
386 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer, | 392 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer, |
387 gfx::Size, /* size */ | 393 gfx::Size, /* size */ |
388 GPUCreateCommandBufferConfig, /* init_params */ | 394 GPUCreateCommandBufferConfig, /* init_params */ |
389 int32 /* route_id */) | 395 int32 /* route_id */) |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 | 655 |
650 // Confirm decoder has been flushed. | 656 // Confirm decoder has been flushed. |
651 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 657 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
652 | 658 |
653 // Confirm decoder has been reset. | 659 // Confirm decoder has been reset. |
654 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 660 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
655 | 661 |
656 // Video decoder has encountered an error. | 662 // Video decoder has encountered an error. |
657 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 663 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
658 uint32) /* Error ID */ | 664 uint32) /* Error ID */ |
OLD | NEW |