Chromium Code Reviews| 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 <vector> | 8 #include <vector> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 438 // Send to stub on surface visibility change. | 438 // Send to stub on surface visibility change. |
| 439 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) | 439 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) |
| 440 | 440 |
| 441 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_DiscardBackbuffer) | 441 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_DiscardBackbuffer) |
| 442 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EnsureBackbuffer) | 442 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_EnsureBackbuffer) |
| 443 | 443 |
| 444 // Sent to proxy when the gpu memory manager changes its memory allocation. | 444 // Sent to proxy when the gpu memory manager changes its memory allocation. |
| 445 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, | 445 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, |
| 446 GpuMemoryAllocationForRenderer /* allocation */) | 446 GpuMemoryAllocationForRenderer /* allocation */) |
| 447 | 447 |
| 448 // Sent to stub when proxy is assigned a memory allocation changed callback. | |
| 449 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_HandlesMemoryAllocations) | |
|
nduca
2012/04/23 22:12:18
Not loving this. Also, how do you set it back to z
| |
| 450 | |
| 448 //------------------------------------------------------------------------------ | 451 //------------------------------------------------------------------------------ |
| 449 // Accelerated Video Decoder Messages | 452 // Accelerated Video Decoder Messages |
| 450 // These messages are sent from Renderer process to GPU process. | 453 // These messages are sent from Renderer process to GPU process. |
| 451 | 454 |
| 452 // Send input buffer for decoding. | 455 // Send input buffer for decoding. |
| 453 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, | 456 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, |
| 454 base::SharedMemoryHandle, /* input_buffer_handle */ | 457 base::SharedMemoryHandle, /* input_buffer_handle */ |
| 455 int32, /* bitstream_buffer_id */ | 458 int32, /* bitstream_buffer_id */ |
| 456 int32) /* size */ | 459 int32) /* size */ |
| 457 | 460 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 503 | 506 |
| 504 // Confirm decoder has been flushed. | 507 // Confirm decoder has been flushed. |
| 505 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 508 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 506 | 509 |
| 507 // Confirm decoder has been reset. | 510 // Confirm decoder has been reset. |
| 508 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 511 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 509 | 512 |
| 510 // Video decoder has encountered an error. | 513 // Video decoder has encountered an error. |
| 511 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 514 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 512 uint32) /* Error ID */ | 515 uint32) /* Error ID */ |
| OLD | NEW |