| 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 // time swap buffers or post sub buffer is sent. | 393 // time swap buffers or post sub buffer is sent. |
| 394 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSuspend, | 394 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSuspend, |
| 395 int32 /* surface_id */) | 395 int32 /* surface_id */) |
| 396 | 396 |
| 397 // Tells the browser about updated parameters for vsync alignment. | 397 // Tells the browser about updated parameters for vsync alignment. |
| 398 IPC_MESSAGE_CONTROL3(GpuHostMsg_UpdateVSyncParameters, | 398 IPC_MESSAGE_CONTROL3(GpuHostMsg_UpdateVSyncParameters, |
| 399 int32 /* surface_id */, | 399 int32 /* surface_id */, |
| 400 base::TimeTicks /* timebase */, | 400 base::TimeTicks /* timebase */, |
| 401 base::TimeDelta /* interval */) | 401 base::TimeDelta /* interval */) |
| 402 | 402 |
| 403 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidCreateOffscreenContext, |
| 404 GURL /* url */) |
| 405 |
| 406 IPC_MESSAGE_CONTROL3(GpuHostMsg_DidLoseContext, |
| 407 bool /* offscreen */, |
| 408 gpu::error::ContextLostReason /* reason */, |
| 409 GURL /* url */) |
| 410 |
| 411 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, |
| 412 GURL /* url */) |
| 413 |
| 403 //------------------------------------------------------------------------------ | 414 //------------------------------------------------------------------------------ |
| 404 // GPU Channel Messages | 415 // GPU Channel Messages |
| 405 // These are messages from a renderer process to the GPU process. | 416 // These are messages from a renderer process to the GPU process. |
| 406 | 417 |
| 407 // Tells the GPU process to create a new command buffer that renders to an | 418 // Tells the GPU process to create a new command buffer that renders to an |
| 408 // offscreen frame buffer. | 419 // offscreen frame buffer. |
| 409 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer, | 420 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer, |
| 410 gfx::Size, /* size */ | 421 gfx::Size, /* size */ |
| 411 GPUCreateCommandBufferConfig, /* init_params */ | 422 GPUCreateCommandBufferConfig, /* init_params */ |
| 412 int32 /* route_id */) | 423 int32 /* route_id */) |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 | 701 |
| 691 // Confirm decoder has been flushed. | 702 // Confirm decoder has been flushed. |
| 692 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 703 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 693 | 704 |
| 694 // Confirm decoder has been reset. | 705 // Confirm decoder has been reset. |
| 695 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 706 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 696 | 707 |
| 697 // Video decoder has encountered an error. | 708 // Video decoder has encountered an error. |
| 698 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 709 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 699 uint32) /* Error ID */ | 710 uint32) /* Error ID */ |
| OLD | NEW |