OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include <vector> | 5 #include <vector> |
6 #include <string> | 6 #include <string> |
7 | 7 |
8 #include "base/shared_memory.h" | 8 #include "base/shared_memory.h" |
9 #include "chrome/common/gpu_info.h" | 9 #include "chrome/common/gpu_info.h" |
10 #include "chrome/common/gpu_video_common.h" | 10 #include "chrome/common/gpu_video_common.h" |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 // command buffer. | 126 // command buffer. |
127 IPC_MESSAGE_CONTROL3(GpuHostMsg_DestroyCommandBuffer, | 127 IPC_MESSAGE_CONTROL3(GpuHostMsg_DestroyCommandBuffer, |
128 gfx::PluginWindowHandle, /* view */ | 128 gfx::PluginWindowHandle, /* view */ |
129 int32, /* render_view_id */ | 129 int32, /* render_view_id */ |
130 int32 /* renderer_id */) | 130 int32 /* renderer_id */) |
131 | 131 |
132 // Response from GPU to a GpuMsg_CollectGraphicsInfo. | 132 // Response from GPU to a GpuMsg_CollectGraphicsInfo. |
133 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected, | 133 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected, |
134 GPUInfo /* GPU logging stats */) | 134 GPUInfo /* GPU logging stats */) |
135 | 135 |
| 136 // Request from GPU to check if GPU is blacklisted based on preliminary GPU |
| 137 // info. |
| 138 IPC_SYNC_MESSAGE_CONTROL1_1(GpuHostMsg_PreliminaryGraphicsInfoCollected, |
| 139 GPUInfo, /* partial GPU logging stats */ |
| 140 bool /* blacklisted or not */) |
| 141 |
136 // Message from GPU to add a GPU log message to the about:gpu page. | 142 // Message from GPU to add a GPU log message to the about:gpu page. |
137 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | 143 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
138 int /*severity*/, | 144 int /*severity*/, |
139 std::string /* header */, | 145 std::string /* header */, |
140 std::string /* message */) | 146 std::string /* message */) |
141 | 147 |
142 // Response from GPU to a GpuMsg_Synchronize message. | 148 // Response from GPU to a GpuMsg_Synchronize message. |
143 IPC_MESSAGE_CONTROL0(GpuHostMsg_SynchronizeReply) | 149 IPC_MESSAGE_CONTROL0(GpuHostMsg_SynchronizeReply) |
144 | 150 |
145 #if defined(OS_LINUX) | 151 #if defined(OS_LINUX) |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 // Release all video frames allocated for a hardware video decoder. | 363 // Release all video frames allocated for a hardware video decoder. |
358 IPC_MESSAGE_ROUTED0(GpuVideoDecoderHostMsg_ReleaseAllVideoFrames) | 364 IPC_MESSAGE_ROUTED0(GpuVideoDecoderHostMsg_ReleaseAllVideoFrames) |
359 | 365 |
360 // GpuVideoDecoder report output format change. | 366 // GpuVideoDecoder report output format change. |
361 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, | 367 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, |
362 GpuVideoDecoderFormatChangeParam) | 368 GpuVideoDecoderFormatChangeParam) |
363 | 369 |
364 // GpuVideoDecoder report error. | 370 // GpuVideoDecoder report error. |
365 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, | 371 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, |
366 GpuVideoDecoderErrorInfoParam) | 372 GpuVideoDecoderErrorInfoParam) |
OLD | NEW |