Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: content/common/gpu/gpu_host_messages.h

Issue 1796633002: Revert of content gpu refactor: get rid of gpu related content switches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/common/gpu/image_transport_surface_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 */)
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/image_transport_surface_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698