Chromium Code Reviews| 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, | |
|
apatrick_chromium
2011/03/03 21:09:07
I'm relieved this is deleted. For future reference
| |
| 139 GPUInfo, /* preliminary GPU logging stats */ | |
| 140 bool /* blacklisted or not */) | |
| 141 | |
| 142 // Message from GPU to add a GPU log message to the about:gpu page. | 136 // Message from GPU to add a GPU log message to the about:gpu page. |
| 143 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | 137 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
| 144 int /*severity*/, | 138 int /*severity*/, |
| 145 std::string /* header */, | 139 std::string /* header */, |
| 146 std::string /* message */) | 140 std::string /* message */) |
| 147 | 141 |
| 148 // Response from GPU to a GpuMsg_Synchronize message. | 142 // Response from GPU to a GpuMsg_Synchronize message. |
| 149 IPC_MESSAGE_CONTROL0(GpuHostMsg_SynchronizeReply) | 143 IPC_MESSAGE_CONTROL0(GpuHostMsg_SynchronizeReply) |
| 150 | 144 |
| 151 #if defined(OS_LINUX) && !defined(TOUCH_UI) | 145 #if defined(OS_LINUX) && !defined(TOUCH_UI) |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 378 // Release all video frames allocated for a hardware video decoder. | 372 // Release all video frames allocated for a hardware video decoder. |
| 379 IPC_MESSAGE_ROUTED0(GpuVideoDecoderHostMsg_ReleaseAllVideoFrames) | 373 IPC_MESSAGE_ROUTED0(GpuVideoDecoderHostMsg_ReleaseAllVideoFrames) |
| 380 | 374 |
| 381 // GpuVideoDecoder report output format change. | 375 // GpuVideoDecoder report output format change. |
| 382 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, | 376 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, |
| 383 GpuVideoDecoderFormatChangeParam) | 377 GpuVideoDecoderFormatChangeParam) |
| 384 | 378 |
| 385 // GpuVideoDecoder report error. | 379 // GpuVideoDecoder report error. |
| 386 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, | 380 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, |
| 387 GpuVideoDecoderErrorInfoParam) | 381 GpuVideoDecoderErrorInfoParam) |
| OLD | NEW |