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

Side by Side Diff: chrome/common/gpu_messages_internal.h

Issue 6531023: Collect as much GPU information as possible without creating a GL/D3D context... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: move safe info collection into gpu process Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
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
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 partial GPU
137 // info.
Ken Russell (switch to Gerrit) 2011/02/18 22:21:24 In that case just name it GpuHostMsg_PartialGraphi
Zhenyao Mo 2011/02/18 22:41:52 Used preliminary here to be consistent.
138 IPC_SYNC_MESSAGE_CONTROL1_1(GpuHostMsg_GraphicsInfoCollectedSafe,
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
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698