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_CONTROL2(GpuHostMsg_UpdateVSyncParameters, | |
piman
2012/10/24 16:56:54
Something is missing here, when you have multiple
ajuma
2012/10/26 20:12:39
Done.
| |
382 base::TimeTicks /* timebase */, | |
383 base::TimeDelta /* interval */) | |
384 | |
380 //------------------------------------------------------------------------------ | 385 //------------------------------------------------------------------------------ |
381 // GPU Channel Messages | 386 // GPU Channel Messages |
382 // These are messages from a renderer process to the GPU process. | 387 // These are messages from a renderer process to the GPU process. |
383 | 388 |
384 // Tells the GPU process to create a new command buffer that renders to an | 389 // Tells the GPU process to create a new command buffer that renders to an |
385 // offscreen frame buffer. | 390 // offscreen frame buffer. |
386 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer, | 391 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer, |
387 gfx::Size, /* size */ | 392 gfx::Size, /* size */ |
388 GPUCreateCommandBufferConfig, /* init_params */ | 393 GPUCreateCommandBufferConfig, /* init_params */ |
389 int32 /* route_id */) | 394 int32 /* route_id */) |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
649 | 654 |
650 // Confirm decoder has been flushed. | 655 // Confirm decoder has been flushed. |
651 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 656 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
652 | 657 |
653 // Confirm decoder has been reset. | 658 // Confirm decoder has been reset. |
654 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 659 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
655 | 660 |
656 // Video decoder has encountered an error. | 661 // Video decoder has encountered an error. |
657 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 662 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
658 uint32) /* Error ID */ | 663 uint32) /* Error ID */ |
OLD | NEW |