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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 gfx::SwapResult /* result */) | 591 gfx::SwapResult /* result */) |
592 | 592 |
593 // Tells the browser about updated parameters for vsync alignment. | 593 // Tells the browser about updated parameters for vsync alignment. |
594 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters, | 594 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters, |
595 base::TimeTicks /* timebase */, | 595 base::TimeTicks /* timebase */, |
596 base::TimeDelta /* interval */) | 596 base::TimeDelta /* interval */) |
597 | 597 |
598 // Send to stub on surface visibility change. | 598 // Send to stub on surface visibility change. |
599 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) | 599 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) |
600 | 600 |
601 // Sent to proxy when the gpu memory manager changes its memory allocation. | |
602 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, | |
603 gpu::MemoryAllocation /* allocation */) | |
604 | |
605 // Sent to stub when proxy is assigned a memory allocation changed callback. | |
606 IPC_MESSAGE_ROUTED1( | |
607 GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback, | |
608 bool /* has_callback */) | |
609 | |
610 // Inserts a sync point into the channel. This is handled on the IO thread, so | 601 // Inserts a sync point into the channel. This is handled on the IO thread, so |
611 // can be expected to be reasonably fast, but the sync point is actually | 602 // can be expected to be reasonably fast, but the sync point is actually |
612 // retired in order with respect to the other calls. The sync point is shared | 603 // retired in order with respect to the other calls. The sync point is shared |
613 // across channels. | 604 // across channels. |
614 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_InsertSyncPoint, | 605 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_InsertSyncPoint, |
615 bool /* retire */, | 606 bool /* retire */, |
616 uint32 /* sync_point */) | 607 uint32 /* sync_point */) |
617 | 608 |
618 // Retires the sync point. | 609 // Retires the sync point. |
619 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RetireSyncPoint, | 610 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RetireSyncPoint, |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) | 784 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) |
794 | 785 |
795 //------------------------------------------------------------------------------ | 786 //------------------------------------------------------------------------------ |
796 // Accelerated JPEG Decoder Host Messages | 787 // Accelerated JPEG Decoder Host Messages |
797 // These messages are sent from the GPU process to Browser process. | 788 // These messages are sent from the GPU process to Browser process. |
798 // | 789 // |
799 // Report decode status. | 790 // Report decode status. |
800 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, | 791 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, |
801 int32, /* bitstream_buffer_id */ | 792 int32, /* bitstream_buffer_id */ |
802 media::JpegDecodeAccelerator::Error /* error */) | 793 media::JpegDecodeAccelerator::Error /* error */) |
OLD | NEW |