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" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_logging) | 82 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_logging) |
83 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_tracing) | 83 IPC_STRUCT_TRAITS_MEMBER(enable_gpu_service_tracing) |
84 IPC_STRUCT_TRAITS_MEMBER(enable_es3_apis) | 84 IPC_STRUCT_TRAITS_MEMBER(enable_es3_apis) |
85 IPC_STRUCT_TRAITS_MEMBER(use_passthrough_cmd_decoder) | 85 IPC_STRUCT_TRAITS_MEMBER(use_passthrough_cmd_decoder) |
86 IPC_STRUCT_TRAITS_END() | 86 IPC_STRUCT_TRAITS_END() |
87 | 87 |
88 //------------------------------------------------------------------------------ | 88 //------------------------------------------------------------------------------ |
89 // GPU Messages | 89 // GPU Messages |
90 // These are messages from the browser to the GPU process. | 90 // These are messages from the browser to the GPU process. |
91 | 91 |
92 // Tells the GPU process to shutdown itself. | |
93 IPC_MESSAGE_CONTROL0(GpuMsg_Finalize) | |
94 | |
95 // Tells the GPU process to create a new gpu memory buffer. | 92 // Tells the GPU process to create a new gpu memory buffer. |
96 IPC_MESSAGE_CONTROL1(GpuMsg_CreateGpuMemoryBuffer, | 93 IPC_MESSAGE_CONTROL1(GpuMsg_CreateGpuMemoryBuffer, |
97 GpuMsg_CreateGpuMemoryBuffer_Params) | 94 GpuMsg_CreateGpuMemoryBuffer_Params) |
98 | 95 |
99 // Tells the GPU process to destroy buffer. | 96 // Tells the GPU process to destroy buffer. |
100 IPC_MESSAGE_CONTROL3(GpuMsg_DestroyGpuMemoryBuffer, | 97 IPC_MESSAGE_CONTROL3(GpuMsg_DestroyGpuMemoryBuffer, |
101 gfx::GpuMemoryBufferId, /* id */ | 98 gfx::GpuMemoryBufferId, /* id */ |
102 int32_t, /* client_id */ | 99 int32_t, /* client_id */ |
103 gpu::SyncToken /* sync_token */) | 100 gpu::SyncToken /* sync_token */) |
104 | 101 |
(...skipping 23 matching lines...) Expand all Loading... |
128 gpu::GPUInfo /* GPU logging stats */) | 125 gpu::GPUInfo /* GPU logging stats */) |
129 | 126 |
130 // Message from GPU to add a GPU log message to the about:gpu page. | 127 // Message from GPU to add a GPU log message to the about:gpu page. |
131 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | 128 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
132 int /*severity*/, | 129 int /*severity*/, |
133 std::string /* header */, | 130 std::string /* header */, |
134 std::string /* message */) | 131 std::string /* message */) |
135 | 132 |
136 // Sent by the GPU process to indicate that a fields trial has been activated. | 133 // Sent by the GPU process to indicate that a fields trial has been activated. |
137 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) | 134 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) |
OLD | NEW |