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