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

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

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 years, 8 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
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/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/common/value_state.h"
13 #include "gpu/command_buffer/service/gpu_preferences.h" 12 #include "gpu/command_buffer/service/gpu_preferences.h"
14 #include "gpu/config/gpu_info.h" 13 #include "gpu/config/gpu_info.h"
15 #include "gpu/ipc/common/gpu_command_buffer_traits.h" 14 #include "gpu/ipc/common/gpu_command_buffer_traits.h"
16 #include "gpu/ipc/common/gpu_memory_uma_stats.h" 15 #include "gpu/ipc/common/gpu_memory_uma_stats.h"
17 #include "gpu/ipc/common/gpu_param_traits.h" 16 #include "gpu/ipc/common/gpu_param_traits.h"
18 #include "gpu/ipc/common/memory_stats.h" 17 #include "gpu/ipc/common/memory_stats.h"
19 #include "gpu/ipc/common/surface_handle.h" 18 #include "gpu/ipc/common/surface_handle.h"
20 #include "ipc/ipc_channel_handle.h" 19 #include "ipc/ipc_channel_handle.h"
21 #include "ipc/ipc_message_macros.h" 20 #include "ipc/ipc_message_macros.h"
22 #include "ipc/ipc_message_start.h" 21 #include "ipc/ipc_message_start.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 IPC_STRUCT_TRAITS_MEMBER(disable_shader_name_hashing) 119 IPC_STRUCT_TRAITS_MEMBER(disable_shader_name_hashing)
121 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_command_logging) 120 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_command_logging)
122 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_debugging) 121 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_debugging)
123 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_logging_gpu) 122 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_logging_gpu)
124 IPC_STRUCT_TRAITS_MEMBER(disable_gpu_program_cache) 123 IPC_STRUCT_TRAITS_MEMBER(disable_gpu_program_cache)
125 IPC_STRUCT_TRAITS_MEMBER(enforce_gl_minimums) 124 IPC_STRUCT_TRAITS_MEMBER(enforce_gl_minimums)
126 IPC_STRUCT_TRAITS_MEMBER(force_gpu_mem_available) 125 IPC_STRUCT_TRAITS_MEMBER(force_gpu_mem_available)
127 IPC_STRUCT_TRAITS_MEMBER(gpu_program_cache_size) 126 IPC_STRUCT_TRAITS_MEMBER(gpu_program_cache_size)
128 IPC_STRUCT_TRAITS_MEMBER(disable_gpu_shader_disk_cache) 127 IPC_STRUCT_TRAITS_MEMBER(disable_gpu_shader_disk_cache)
129 IPC_STRUCT_TRAITS_MEMBER(enable_share_group_async_texture_upload) 128 IPC_STRUCT_TRAITS_MEMBER(enable_share_group_async_texture_upload)
130 IPC_STRUCT_TRAITS_MEMBER(enable_subscribe_uniform_extension)
131 IPC_STRUCT_TRAITS_MEMBER(enable_threaded_texture_mailboxes) 129 IPC_STRUCT_TRAITS_MEMBER(enable_threaded_texture_mailboxes)
132 IPC_STRUCT_TRAITS_MEMBER(gl_shader_interm_output) 130 IPC_STRUCT_TRAITS_MEMBER(gl_shader_interm_output)
133 IPC_STRUCT_TRAITS_MEMBER(emulate_shader_precision) 131 IPC_STRUCT_TRAITS_MEMBER(emulate_shader_precision)
134 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_logging) 132 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_logging)
135 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_tracing) 133 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_tracing)
136 IPC_STRUCT_TRAITS_MEMBER(enable_unsafe_es3_apis) 134 IPC_STRUCT_TRAITS_MEMBER(enable_unsafe_es3_apis)
137 IPC_STRUCT_TRAITS_END() 135 IPC_STRUCT_TRAITS_END()
138 136
139 //------------------------------------------------------------------------------ 137 //------------------------------------------------------------------------------
140 // GPU Messages 138 // GPU Messages
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 204
207 // Tells the GPU process to hang. 205 // Tells the GPU process to hang.
208 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) 206 IPC_MESSAGE_CONTROL0(GpuMsg_Hang)
209 207
210 // Tells the GPU process to disable the watchdog thread. 208 // Tells the GPU process to disable the watchdog thread.
211 IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog) 209 IPC_MESSAGE_CONTROL0(GpuMsg_DisableWatchdog)
212 210
213 // Tells the GPU process that the browser has seen a GPU switch. 211 // Tells the GPU process that the browser has seen a GPU switch.
214 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) 212 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched)
215 213
216 // Sends an input event to the gpu service.
217 IPC_MESSAGE_CONTROL3(GpuMsg_UpdateValueState,
218 int, /* client_id */
219 unsigned int, /* target */
220 gpu::ValueState /* valuestate */)
221
222 //------------------------------------------------------------------------------ 214 //------------------------------------------------------------------------------
223 // GPU Host Messages 215 // GPU Host Messages
224 // These are messages to the browser. 216 // These are messages to the browser.
225 217
226 // Response from GPU to a GputMsg_Initialize message. 218 // Response from GPU to a GputMsg_Initialize message.
227 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, 219 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized,
228 bool /* result */, 220 bool /* result */,
229 ::gpu::GPUInfo /* gpu_info */) 221 ::gpu::GPUInfo /* gpu_info */)
230 222
231 // Response from GPU to a GpuHostMsg_EstablishChannel message. 223 // Response from GPU to a GpuHostMsg_EstablishChannel message.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 bool /* offscreen */, 266 bool /* offscreen */,
275 gpu::error::ContextLostReason /* reason */, 267 gpu::error::ContextLostReason /* reason */,
276 GURL /* url */) 268 GURL /* url */)
277 269
278 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, GURL /* url */) 270 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, GURL /* url */)
279 271
280 // Tells the browser about GPU memory usage statistics for UMA logging. 272 // Tells the browser about GPU memory usage statistics for UMA logging.
281 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, 273 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats,
282 gpu::GPUMemoryUmaStats /* GPU memory UMA stats */) 274 gpu::GPUMemoryUmaStats /* GPU memory UMA stats */)
283 275
284 // Tells the browser that a context has subscribed to a new target and
285 // the browser should start sending the corresponding information
286 IPC_MESSAGE_CONTROL2(GpuHostMsg_AddSubscription,
287 int32_t /* client_id */,
288 unsigned int /* target */)
289
290 // Tells the browser that no contexts are subscribed to the target anymore
291 // so the browser should stop sending the corresponding information
292 IPC_MESSAGE_CONTROL2(GpuHostMsg_RemoveSubscription,
293 int32_t /* client_id */,
294 unsigned int /* target */)
295
296 // Message from GPU to add a GPU log message to the about:gpu page. 276 // Message from GPU to add a GPU log message to the about:gpu page.
297 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, 277 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage,
298 int /*severity*/, 278 int /*severity*/,
299 std::string /* header */, 279 std::string /* header */,
300 std::string /* message */) 280 std::string /* message */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/gpu/gpu_child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698