OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/common/establish_channel_params.h" | 10 #include "content/common/establish_channel_params.h" |
11 #include "gpu/command_buffer/common/sync_token.h" | 11 #include "gpu/command_buffer/common/sync_token.h" |
12 #include "gpu/command_buffer/service/gpu_preferences.h" | 12 #include "gpu/command_buffer/service/gpu_preferences.h" |
13 #include "gpu/config/gpu_info.h" | 13 #include "gpu/config/gpu_info.h" |
14 #include "gpu/ipc/common/gpu_command_buffer_traits.h" | 14 #include "gpu/ipc/common/gpu_command_buffer_traits.h" |
15 #include "gpu/ipc/common/gpu_param_traits.h" | 15 #include "gpu/ipc/common/gpu_param_traits.h" |
16 #include "gpu/ipc/common/memory_stats.h" | 16 #include "gpu/ipc/common/memory_stats.h" |
17 #include "gpu/ipc/common/surface_handle.h" | 17 #include "gpu/ipc/common/surface_handle.h" |
18 #include "ipc/ipc_channel_handle.h" | 18 #include "ipc/ipc_channel_handle.h" |
19 #include "ipc/ipc_message_macros.h" | 19 #include "ipc/ipc_message_macros.h" |
20 #include "ipc/ipc_message_start.h" | 20 #include "ipc/ipc_message_start.h" |
| 21 #include "media/media_features.h" |
21 #include "ui/events/ipc/latency_info_param_traits.h" | 22 #include "ui/events/ipc/latency_info_param_traits.h" |
22 #include "ui/gfx/gpu_memory_buffer.h" | 23 #include "ui/gfx/gpu_memory_buffer.h" |
23 #include "ui/gfx/ipc/gfx_param_traits.h" | 24 #include "ui/gfx/ipc/gfx_param_traits.h" |
24 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 25 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
25 #include "url/gurl.h" | 26 #include "url/gurl.h" |
26 #include "url/ipc/url_param_traits.h" | 27 #include "url/ipc/url_param_traits.h" |
27 | 28 |
28 #undef IPC_MESSAGE_EXPORT | 29 #undef IPC_MESSAGE_EXPORT |
29 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 30 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
30 | 31 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 IPC_STRUCT_TRAITS_END() | 63 IPC_STRUCT_TRAITS_END() |
63 | 64 |
64 IPC_STRUCT_TRAITS_BEGIN(gpu::GpuPreferences) | 65 IPC_STRUCT_TRAITS_BEGIN(gpu::GpuPreferences) |
65 IPC_STRUCT_TRAITS_MEMBER(single_process) | 66 IPC_STRUCT_TRAITS_MEMBER(single_process) |
66 IPC_STRUCT_TRAITS_MEMBER(in_process_gpu) | 67 IPC_STRUCT_TRAITS_MEMBER(in_process_gpu) |
67 IPC_STRUCT_TRAITS_MEMBER(ui_prioritize_in_gpu_process) | 68 IPC_STRUCT_TRAITS_MEMBER(ui_prioritize_in_gpu_process) |
68 IPC_STRUCT_TRAITS_MEMBER(disable_accelerated_video_decode) | 69 IPC_STRUCT_TRAITS_MEMBER(disable_accelerated_video_decode) |
69 #if defined(OS_CHROMEOS) | 70 #if defined(OS_CHROMEOS) |
70 IPC_STRUCT_TRAITS_MEMBER(disable_vaapi_accelerated_video_encode) | 71 IPC_STRUCT_TRAITS_MEMBER(disable_vaapi_accelerated_video_encode) |
71 #endif | 72 #endif |
72 #if defined(ENABLE_WEBRTC) | 73 #if BUILDFLAG(ENABLE_WEBRTC) |
73 IPC_STRUCT_TRAITS_MEMBER(disable_web_rtc_hw_encoding) | 74 IPC_STRUCT_TRAITS_MEMBER(disable_web_rtc_hw_encoding) |
74 #endif | 75 #endif |
75 #if defined(OS_WIN) | 76 #if defined(OS_WIN) |
76 IPC_STRUCT_TRAITS_MEMBER(enable_accelerated_vpx_decode) | 77 IPC_STRUCT_TRAITS_MEMBER(enable_accelerated_vpx_decode) |
77 IPC_STRUCT_TRAITS_MEMBER(enable_low_latency_dxva) | 78 IPC_STRUCT_TRAITS_MEMBER(enable_low_latency_dxva) |
78 IPC_STRUCT_TRAITS_MEMBER(enable_zero_copy_dxgi_video) | 79 IPC_STRUCT_TRAITS_MEMBER(enable_zero_copy_dxgi_video) |
79 IPC_STRUCT_TRAITS_MEMBER(enable_nv12_dxgi_video) | 80 IPC_STRUCT_TRAITS_MEMBER(enable_nv12_dxgi_video) |
80 #endif | 81 #endif |
81 IPC_STRUCT_TRAITS_MEMBER(compile_shader_always_succeeds) | 82 IPC_STRUCT_TRAITS_MEMBER(compile_shader_always_succeeds) |
82 IPC_STRUCT_TRAITS_MEMBER(disable_gl_error_limit) | 83 IPC_STRUCT_TRAITS_MEMBER(disable_gl_error_limit) |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, GURL /* url */) | 227 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, GURL /* url */) |
227 | 228 |
228 // Message from GPU to add a GPU log message to the about:gpu page. | 229 // Message from GPU to add a GPU log message to the about:gpu page. |
229 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | 230 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
230 int /*severity*/, | 231 int /*severity*/, |
231 std::string /* header */, | 232 std::string /* header */, |
232 std::string /* message */) | 233 std::string /* message */) |
233 | 234 |
234 // Sent by the GPU process to indicate that a fields trial has been activated. | 235 // Sent by the GPU process to indicate that a fields trial has been activated. |
235 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) | 236 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) |
OLD | NEW |