| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <vector> | 8 #include <vector> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 // textures. | 319 // textures. |
| 320 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_SetParent, | 320 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_SetParent, |
| 321 int32 /* parent_route_id */, | 321 int32 /* parent_route_id */, |
| 322 uint32 /* parent_texture_id */, | 322 uint32 /* parent_texture_id */, |
| 323 bool /* result */) | 323 bool /* result */) |
| 324 | 324 |
| 325 // Get the current state of the command buffer. | 325 // Get the current state of the command buffer. |
| 326 IPC_SYNC_MESSAGE_ROUTED0_1(GpuCommandBufferMsg_GetState, | 326 IPC_SYNC_MESSAGE_ROUTED0_1(GpuCommandBufferMsg_GetState, |
| 327 gpu::CommandBuffer::State /* state */) | 327 gpu::CommandBuffer::State /* state */) |
| 328 | 328 |
| 329 // Synchronize the put and get offsets of both processes. Caller passes its | 329 // Get the current state of the command buffer, as fast as possible. |
| 330 // current put offset. Current state (including get offset) is returned. | 330 IPC_SYNC_MESSAGE_ROUTED0_1(GpuCommandBufferMsg_GetStateFast, |
| 331 IPC_SYNC_MESSAGE_ROUTED3_1(GpuCommandBufferMsg_Flush, | |
| 332 int32 /* put_offset */, | |
| 333 int32 /* last_known_get */, | |
| 334 uint32 /* flush_count */, | |
| 335 gpu::CommandBuffer::State /* state */) | 331 gpu::CommandBuffer::State /* state */) |
| 336 | 332 |
| 337 // Asynchronously synchronize the put and get offsets of both processes. | 333 // Asynchronously synchronize the put and get offsets of both processes. |
| 338 // Caller passes its current put offset. Current state (including get offset) | 334 // Caller passes its current put offset. Current state (including get offset) |
| 339 // is returned via an UpdateState message. | 335 // is returned via an UpdateState message. |
| 340 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_AsyncFlush, | 336 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_AsyncFlush, |
| 341 int32 /* put_offset */, | 337 int32 /* put_offset */, |
| 342 uint32 /* flush_count */) | 338 uint32 /* flush_count */) |
| 343 | 339 |
| 344 // Asynchronously process any commands known to the GPU process. This is only | 340 // Asynchronously process any commands known to the GPU process. This is only |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 | 505 |
| 510 // Confirm decoder has been reset. | 506 // Confirm decoder has been reset. |
| 511 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 507 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 512 | 508 |
| 513 // Decoder has faced end of stream marker in the stream. | 509 // Decoder has faced end of stream marker in the stream. |
| 514 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) | 510 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) |
| 515 | 511 |
| 516 // Video decoder has encountered an error. | 512 // Video decoder has encountered an error. |
| 517 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 513 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 518 uint32) /* Error ID */ | 514 uint32) /* Error ID */ |
| OLD | NEW |