| 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_feature_status.h" |
| 13 #include "gpu/config/gpu_info.h" | 14 #include "gpu/config/gpu_info.h" |
| 14 #include "gpu/ipc/common/gpu_command_buffer_traits.h" | 15 #include "gpu/ipc/common/gpu_command_buffer_traits.h" |
| 15 #include "gpu/ipc/common/gpu_param_traits.h" | 16 #include "gpu/ipc/common/gpu_param_traits.h" |
| 16 #include "gpu/ipc/common/memory_stats.h" | 17 #include "gpu/ipc/common/memory_stats.h" |
| 17 #include "gpu/ipc/common/surface_handle.h" | 18 #include "gpu/ipc/common/surface_handle.h" |
| 18 #include "ipc/ipc_channel_handle.h" | 19 #include "ipc/ipc_channel_handle.h" |
| 19 #include "ipc/ipc_message_macros.h" | 20 #include "ipc/ipc_message_macros.h" |
| 20 #include "ipc/ipc_message_start.h" | 21 #include "ipc/ipc_message_start.h" |
| 21 #include "media/media_features.h" | 22 #include "media/media_features.h" |
| 22 #include "ui/events/ipc/latency_info_param_traits.h" | 23 #include "ui/events/ipc/latency_info_param_traits.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) | 166 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) |
| 166 | 167 |
| 167 // Tells the GPU process that the browser has seen a GPU switch. | 168 // Tells the GPU process that the browser has seen a GPU switch. |
| 168 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) | 169 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) |
| 169 | 170 |
| 170 //------------------------------------------------------------------------------ | 171 //------------------------------------------------------------------------------ |
| 171 // GPU Host Messages | 172 // GPU Host Messages |
| 172 // These are messages to the browser. | 173 // These are messages to the browser. |
| 173 | 174 |
| 174 // Response from GPU to a GputMsg_Initialize message. | 175 // Response from GPU to a GputMsg_Initialize message. |
| 175 IPC_MESSAGE_CONTROL2(GpuHostMsg_Initialized, | 176 IPC_MESSAGE_CONTROL3(GpuHostMsg_Initialized, |
| 176 bool /* result */, | 177 bool /* result */, |
| 177 ::gpu::GPUInfo /* gpu_info */) | 178 ::gpu::GPUInfo /* gpu_info */, |
| 179 ::gpu::GPUFeatureStatus) |
| 178 | 180 |
| 179 // Response from GPU to a GpuHostMsg_EstablishChannel message. | 181 // Response from GPU to a GpuHostMsg_EstablishChannel message. |
| 180 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, | 182 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, |
| 181 IPC::ChannelHandle /* channel_handle */) | 183 IPC::ChannelHandle /* channel_handle */) |
| 182 | 184 |
| 183 // Message from GPU to notify to destroy the channel. | 185 // Message from GPU to notify to destroy the channel. |
| 184 IPC_MESSAGE_CONTROL1(GpuHostMsg_DestroyChannel, int32_t /* client_id */) | 186 IPC_MESSAGE_CONTROL1(GpuHostMsg_DestroyChannel, int32_t /* client_id */) |
| 185 | 187 |
| 186 // Message to cache the given shader information. | 188 // Message to cache the given shader information. |
| 187 IPC_MESSAGE_CONTROL3(GpuHostMsg_CacheShader, | 189 IPC_MESSAGE_CONTROL3(GpuHostMsg_CacheShader, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, GURL /* url */) | 229 IPC_MESSAGE_CONTROL1(GpuHostMsg_DidDestroyOffscreenContext, GURL /* url */) |
| 228 | 230 |
| 229 // Message from GPU to add a GPU log message to the about:gpu page. | 231 // Message from GPU to add a GPU log message to the about:gpu page. |
| 230 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | 232 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
| 231 int /*severity*/, | 233 int /*severity*/, |
| 232 std::string /* header */, | 234 std::string /* header */, |
| 233 std::string /* message */) | 235 std::string /* message */) |
| 234 | 236 |
| 235 // Sent by the GPU process to indicate that a fields trial has been activated. | 237 // Sent by the GPU process to indicate that a fields trial has been activated. |
| 236 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) | 238 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) |
| OLD | NEW |