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 27 matching lines...) Expand all Loading... |
38 #endif | 38 #endif |
39 | 39 |
40 #undef IPC_MESSAGE_EXPORT | 40 #undef IPC_MESSAGE_EXPORT |
41 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 41 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
42 | 42 |
43 #define IPC_MESSAGE_START GpuMsgStart | 43 #define IPC_MESSAGE_START GpuMsgStart |
44 | 44 |
45 IPC_ENUM_TRAITS_MAX_VALUE(content::CauseForGpuLaunch, | 45 IPC_ENUM_TRAITS_MAX_VALUE(content::CauseForGpuLaunch, |
46 content::CAUSE_FOR_GPU_LAUNCH_MAX_ENUM - 1) | 46 content::CAUSE_FOR_GPU_LAUNCH_MAX_ENUM - 1) |
47 IPC_ENUM_TRAITS_MAX_VALUE(content::CreateCommandBufferResult, | 47 IPC_ENUM_TRAITS_MAX_VALUE(content::CreateCommandBufferResult, |
48 content::CREATE_COMMAND_BUFFER_RESULT_LAST); | 48 content::CREATE_COMMAND_BUFFER_RESULT_LAST) |
49 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuPreference, | 49 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuPreference, |
50 gfx::GpuPreferenceLast) | 50 gfx::GpuPreferenceLast) |
51 IPC_ENUM_TRAITS_MAX_VALUE(gfx::SurfaceType, | 51 IPC_ENUM_TRAITS_MAX_VALUE(gfx::SurfaceType, |
52 gfx::SURFACE_TYPE_LAST) | 52 gfx::SURFACE_TYPE_LAST) |
53 IPC_ENUM_TRAITS_MAX_VALUE(gpu::MemoryAllocation::PriorityCutoff, | 53 IPC_ENUM_TRAITS_MAX_VALUE(gpu::MemoryAllocation::PriorityCutoff, |
54 gpu::MemoryAllocation::CUTOFF_LAST) | 54 gpu::MemoryAllocation::CUTOFF_LAST) |
55 IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::ContextLostReason, | 55 IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::ContextLostReason, |
56 gpu::error::kContextLostReasonLast) | 56 gpu::error::kContextLostReasonLast) |
57 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoEncodeAccelerator::Error, | 57 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoEncodeAccelerator::Error, |
58 media::VideoEncodeAccelerator::kErrorMax) | 58 media::VideoEncodeAccelerator::kErrorMax) |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 int32 /* bitstream_buffer_id */, | 772 int32 /* bitstream_buffer_id */, |
773 uint32 /* payload_size */, | 773 uint32 /* payload_size */, |
774 bool /* key_frame */) | 774 bool /* key_frame */) |
775 | 775 |
776 // Report error condition. | 776 // Report error condition. |
777 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 777 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
778 media::VideoEncodeAccelerator::Error /* error */) | 778 media::VideoEncodeAccelerator::Error /* error */) |
779 | 779 |
780 // Send destroy request to the encoder. | 780 // Send destroy request to the encoder. |
781 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 781 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |