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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 // Tells the browser that SwapBuffers returned and passes latency info | 614 // Tells the browser that SwapBuffers returned and passes latency info |
615 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SwapBuffersCompleted, | 615 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SwapBuffersCompleted, |
616 std::vector<ui::LatencyInfo> /* latency_info */, | 616 std::vector<ui::LatencyInfo> /* latency_info */, |
617 gfx::SwapResult /* result */) | 617 gfx::SwapResult /* result */) |
618 | 618 |
619 // Tells the browser about updated parameters for vsync alignment. | 619 // Tells the browser about updated parameters for vsync alignment. |
620 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters, | 620 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters, |
621 base::TimeTicks /* timebase */, | 621 base::TimeTicks /* timebase */, |
622 base::TimeDelta /* interval */) | 622 base::TimeDelta /* interval */) |
623 | 623 |
624 // Send to stub on surface visibility change. | |
625 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) | |
626 | |
627 // Inserts a sync point into the channel. This is handled on the IO thread, so | 624 // Inserts a sync point into the channel. This is handled on the IO thread, so |
628 // can be expected to be reasonably fast, but the sync point is actually | 625 // can be expected to be reasonably fast, but the sync point is actually |
629 // retired in order with respect to the other calls. The sync point is shared | 626 // retired in order with respect to the other calls. The sync point is shared |
630 // across channels. | 627 // across channels. |
631 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_InsertSyncPoint, | 628 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_InsertSyncPoint, |
632 bool /* retire */, | 629 bool /* retire */, |
633 uint32 /* sync_point */) | 630 uint32 /* sync_point */) |
634 | 631 |
635 // Retires the sync point. | 632 // Retires the sync point. |
636 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RetireSyncPoint, | 633 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RetireSyncPoint, |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 811 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
815 | 812 |
816 //------------------------------------------------------------------------------ | 813 //------------------------------------------------------------------------------ |
817 // Accelerated JPEG Decoder Host Messages | 814 // Accelerated JPEG Decoder Host Messages |
818 // These messages are sent from the GPU process to Browser process. | 815 // These messages are sent from the GPU process to Browser process. |
819 // | 816 // |
820 // Report decode status. | 817 // Report decode status. |
821 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 818 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
822 int32, /* bitstream_buffer_id */ | 819 int32, /* bitstream_buffer_id */ |
823 media::JpegDecodeAccelerator::Error /* error */) | 820 media::JpegDecodeAccelerator::Error /* error */) |
OLD | NEW |