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 |
11 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "content/common/gpu/gpu_memory_allocation.h" | 13 #include "content/common/gpu/gpu_memory_allocation.h" |
14 #include "content/common/gpu/gpu_memory_uma_stats.h" | 14 #include "content/common/gpu/gpu_memory_uma_stats.h" |
15 #include "content/common/gpu/gpu_process_launch_causes.h" | 15 #include "content/common/gpu/gpu_process_launch_causes.h" |
16 #include "content/common/gpu/gpu_rendering_stats.h" | 16 #include "content/common/gpu/gpu_rendering_stats.h" |
17 #include "content/public/common/common_param_traits.h" | 17 #include "content/public/common/common_param_traits.h" |
18 #include "content/public/common/gpu_memory_stats.h" | 18 #include "content/public/common/gpu_memory_stats.h" |
19 #include "gpu/command_buffer/common/command_buffer.h" | 19 #include "gpu/command_buffer/common/command_buffer.h" |
20 #include "gpu/command_buffer/common/constants.h" | 20 #include "gpu/command_buffer/common/constants.h" |
21 #include "gpu/config/gpu_info.h" | 21 #include "gpu/config/gpu_info.h" |
22 #include "gpu/ipc/gpu_command_buffer_traits.h" | 22 #include "gpu/ipc/gpu_command_buffer_traits.h" |
23 #include "ipc/ipc_channel_handle.h" | 23 #include "ipc/ipc_channel_handle.h" |
24 #include "ipc/ipc_message_macros.h" | 24 #include "ipc/ipc_message_macros.h" |
25 #include "media/video/video_decode_accelerator.h" | 25 #include "media/video/video_decode_accelerator.h" |
26 #include "ui/base/latency_info.h" | 26 #include "ui/base/latency_info.h" |
27 #include "ui/gfx/native_widget_types.h" | 27 #include "ui/gfx/native_widget_types.h" |
28 #include "ui/gfx/size.h" | 28 #include "ui/gfx/size.h" |
29 #include "ui/gl/gpu_preference.h" | 29 #include "ui/gl/gpu_preference.h" |
30 #include "ui/surface/transport_dib.h" | |
31 | 30 |
32 #if defined(OS_ANDROID) | 31 #if defined(OS_ANDROID) |
33 #include "content/common/android/surface_texture_peer.h" | 32 #include "content/common/android/surface_texture_peer.h" |
34 #endif | 33 #endif |
35 | 34 |
36 #define IPC_MESSAGE_START GpuMsgStart | 35 #define IPC_MESSAGE_START GpuMsgStart |
37 | 36 |
38 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 37 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
39 IPC_STRUCT_MEMBER(int32, share_group_id) | 38 IPC_STRUCT_MEMBER(int32, share_group_id) |
40 IPC_STRUCT_MEMBER(std::string, allowed_extensions) | 39 IPC_STRUCT_MEMBER(std::string, allowed_extensions) |
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 | 673 |
675 // Confirm decoder has been flushed. | 674 // Confirm decoder has been flushed. |
676 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 675 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
677 | 676 |
678 // Confirm decoder has been reset. | 677 // Confirm decoder has been reset. |
679 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 678 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
680 | 679 |
681 // Video decoder has encountered an error. | 680 // Video decoder has encountered an error. |
682 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 681 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
683 uint32) /* Error ID */ | 682 uint32) /* Error ID */ |
OLD | NEW |