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 12 matching lines...) Expand all Loading... |
23 #include "gpu/command_buffer/common/mailbox.h" | 23 #include "gpu/command_buffer/common/mailbox.h" |
24 #include "gpu/command_buffer/common/value_state.h" | 24 #include "gpu/command_buffer/common/value_state.h" |
25 #include "gpu/config/gpu_info.h" | 25 #include "gpu/config/gpu_info.h" |
26 #include "gpu/ipc/gpu_command_buffer_traits.h" | 26 #include "gpu/ipc/gpu_command_buffer_traits.h" |
27 #include "ipc/ipc_channel_handle.h" | 27 #include "ipc/ipc_channel_handle.h" |
28 #include "ipc/ipc_message_macros.h" | 28 #include "ipc/ipc_message_macros.h" |
29 #include "media/base/video_frame.h" | 29 #include "media/base/video_frame.h" |
30 #include "media/video/video_decode_accelerator.h" | 30 #include "media/video/video_decode_accelerator.h" |
31 #include "media/video/video_encode_accelerator.h" | 31 #include "media/video/video_encode_accelerator.h" |
32 #include "ui/events/latency_info.h" | 32 #include "ui/events/latency_info.h" |
| 33 #include "ui/gfx/geometry/size.h" |
33 #include "ui/gfx/gpu_memory_buffer.h" | 34 #include "ui/gfx/gpu_memory_buffer.h" |
34 #include "ui/gfx/native_widget_types.h" | 35 #include "ui/gfx/native_widget_types.h" |
35 #include "ui/gfx/size.h" | |
36 #include "ui/gl/gpu_preference.h" | 36 #include "ui/gl/gpu_preference.h" |
37 | 37 |
38 #if defined(OS_ANDROID) | 38 #if defined(OS_ANDROID) |
39 #include "content/common/android/surface_texture_peer.h" | 39 #include "content/common/android/surface_texture_peer.h" |
40 #endif | 40 #endif |
41 | 41 |
42 #undef IPC_MESSAGE_EXPORT | 42 #undef IPC_MESSAGE_EXPORT |
43 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 43 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
44 | 44 |
45 #define IPC_MESSAGE_START GpuMsgStart | 45 #define IPC_MESSAGE_START GpuMsgStart |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 int32 /* bitstream_buffer_id */, | 749 int32 /* bitstream_buffer_id */, |
750 uint32 /* payload_size */, | 750 uint32 /* payload_size */, |
751 bool /* key_frame */) | 751 bool /* key_frame */) |
752 | 752 |
753 // Report error condition. | 753 // Report error condition. |
754 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 754 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
755 media::VideoEncodeAccelerator::Error /* error */) | 755 media::VideoEncodeAccelerator::Error /* error */) |
756 | 756 |
757 // Send destroy request to the encoder. | 757 // Send destroy request to the encoder. |
758 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 758 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |