| 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/content_param_traits.h" | 10 #include "content/common/content_param_traits.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 IPC_STRUCT_TRAITS_MEMBER(surface_id) | 98 IPC_STRUCT_TRAITS_MEMBER(surface_id) |
| 99 IPC_STRUCT_TRAITS_MEMBER(vsync_timebase) | 99 IPC_STRUCT_TRAITS_MEMBER(vsync_timebase) |
| 100 IPC_STRUCT_TRAITS_MEMBER(vsync_interval) | 100 IPC_STRUCT_TRAITS_MEMBER(vsync_interval) |
| 101 IPC_STRUCT_TRAITS_END() | 101 IPC_STRUCT_TRAITS_END() |
| 102 #endif | 102 #endif |
| 103 | 103 |
| 104 IPC_STRUCT_TRAITS_BEGIN(gpu::GpuPreferences) | 104 IPC_STRUCT_TRAITS_BEGIN(gpu::GpuPreferences) |
| 105 IPC_STRUCT_TRAITS_MEMBER(single_process) | 105 IPC_STRUCT_TRAITS_MEMBER(single_process) |
| 106 IPC_STRUCT_TRAITS_MEMBER(in_process_gpu) | 106 IPC_STRUCT_TRAITS_MEMBER(in_process_gpu) |
| 107 IPC_STRUCT_TRAITS_MEMBER(ui_prioritize_in_gpu_process) | 107 IPC_STRUCT_TRAITS_MEMBER(ui_prioritize_in_gpu_process) |
| 108 IPC_STRUCT_TRAITS_MEMBER(disable_accelerated_video_decode) | |
| 109 #if defined(OS_CHROMEOS) | |
| 110 IPC_STRUCT_TRAITS_MEMBER(disable_vaapi_accelerated_video_encode) | |
| 111 #endif | |
| 112 #if defined(ENABLE_WEBRTC) | |
| 113 IPC_STRUCT_TRAITS_MEMBER(disable_web_rtc_hw_encoding) | |
| 114 #endif | |
| 115 #if defined(OS_WIN) | |
| 116 IPC_STRUCT_TRAITS_MEMBER(enable_accelerated_vpx_decode) | |
| 117 #endif | |
| 118 IPC_STRUCT_TRAITS_MEMBER(compile_shader_always_succeeds) | 108 IPC_STRUCT_TRAITS_MEMBER(compile_shader_always_succeeds) |
| 119 IPC_STRUCT_TRAITS_MEMBER(disable_gl_error_limit) | 109 IPC_STRUCT_TRAITS_MEMBER(disable_gl_error_limit) |
| 120 IPC_STRUCT_TRAITS_MEMBER(disable_glsl_translator) | 110 IPC_STRUCT_TRAITS_MEMBER(disable_glsl_translator) |
| 121 IPC_STRUCT_TRAITS_MEMBER(disable_gpu_driver_bug_workarounds) | 111 IPC_STRUCT_TRAITS_MEMBER(disable_gpu_driver_bug_workarounds) |
| 122 IPC_STRUCT_TRAITS_MEMBER(disable_shader_name_hashing) | 112 IPC_STRUCT_TRAITS_MEMBER(disable_shader_name_hashing) |
| 123 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_command_logging) | 113 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_command_logging) |
| 124 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_debugging) | 114 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_debugging) |
| 125 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_logging_gpu) | 115 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_logging_gpu) |
| 126 IPC_STRUCT_TRAITS_MEMBER(disable_gpu_program_cache) | 116 IPC_STRUCT_TRAITS_MEMBER(disable_gpu_program_cache) |
| 127 IPC_STRUCT_TRAITS_MEMBER(enforce_gl_minimums) | 117 IPC_STRUCT_TRAITS_MEMBER(enforce_gl_minimums) |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 // so the browser should stop sending the corresponding information | 296 // so the browser should stop sending the corresponding information |
| 307 IPC_MESSAGE_CONTROL2(GpuHostMsg_RemoveSubscription, | 297 IPC_MESSAGE_CONTROL2(GpuHostMsg_RemoveSubscription, |
| 308 int32_t /* client_id */, | 298 int32_t /* client_id */, |
| 309 unsigned int /* target */) | 299 unsigned int /* target */) |
| 310 | 300 |
| 311 // Message from GPU to add a GPU log message to the about:gpu page. | 301 // Message from GPU to add a GPU log message to the about:gpu page. |
| 312 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | 302 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
| 313 int /*severity*/, | 303 int /*severity*/, |
| 314 std::string /* header */, | 304 std::string /* header */, |
| 315 std::string /* message */) | 305 std::string /* message */) |
| OLD | NEW |