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

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

Issue 6364013: Defered collect DirectX diagnostics until they are needed for about:gpu.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/common/gpu_messages.cc ('k') | chrome/common/gpu_messages_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_video_common.h" 10 #include "chrome/common/gpu_video_common.h"
10 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
11 12
12 #define IPC_MESSAGE_START GpuMsgStart 13 #define IPC_MESSAGE_START GpuMsgStart
13 14
14 namespace gfx { 15 namespace gfx {
15 class Size; 16 class Size;
16 } 17 }
17 18
18 namespace IPC { 19 namespace IPC {
(...skipping 29 matching lines...) Expand all
48 49
49 // Provides a synchronization point to guarantee that the processing of 50 // Provides a synchronization point to guarantee that the processing of
50 // previous asynchronous messages (i.e., GpuMsg_EstablishChannel) has 51 // previous asynchronous messages (i.e., GpuMsg_EstablishChannel) has
51 // completed. (This message can't be synchronous because the 52 // completed. (This message can't be synchronous because the
52 // GpuProcessHost uses an IPC::ChannelProxy, which sends all messages 53 // GpuProcessHost uses an IPC::ChannelProxy, which sends all messages
53 // asynchronously.) Results in a GpuHostMsg_SynchronizeReply. 54 // asynchronously.) Results in a GpuHostMsg_SynchronizeReply.
54 IPC_MESSAGE_CONTROL0(GpuMsg_Synchronize) 55 IPC_MESSAGE_CONTROL0(GpuMsg_Synchronize)
55 56
56 // Tells the GPU process to create a context for collecting graphics card 57 // Tells the GPU process to create a context for collecting graphics card
57 // information. 58 // information.
58 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) 59 IPC_MESSAGE_CONTROL1(GpuMsg_CollectGraphicsInfo,
60 GPUInfo::Level /* level */)
59 61
60 #if defined(OS_MACOSX) 62 #if defined(OS_MACOSX)
61 // Tells the GPU process that the browser process handled the swap 63 // Tells the GPU process that the browser process handled the swap
62 // buffers request with the given number. Note that it is possible 64 // buffers request with the given number. Note that it is possible
63 // for the browser process to coalesce frames; it is not guaranteed 65 // for the browser process to coalesce frames; it is not guaranteed
64 // that every GpuHostMsg_AcceleratedSurfaceBuffersSwapped message 66 // that every GpuHostMsg_AcceleratedSurfaceBuffersSwapped message
65 // will result in a buffer swap on the browser side. 67 // will result in a buffer swap on the browser side.
66 IPC_MESSAGE_CONTROL3(GpuMsg_AcceleratedSurfaceBuffersSwappedACK, 68 IPC_MESSAGE_CONTROL3(GpuMsg_AcceleratedSurfaceBuffersSwappedACK,
67 int /* renderer_id */, 69 int /* renderer_id */,
68 int32 /* route_id */, 70 int32 /* route_id */,
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 // Release all video frames allocated for a hardware video decoder. 338 // Release all video frames allocated for a hardware video decoder.
337 IPC_MESSAGE_ROUTED0(GpuVideoDecoderHostMsg_ReleaseAllVideoFrames) 339 IPC_MESSAGE_ROUTED0(GpuVideoDecoderHostMsg_ReleaseAllVideoFrames)
338 340
339 // GpuVideoDecoder report output format change. 341 // GpuVideoDecoder report output format change.
340 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, 342 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange,
341 GpuVideoDecoderFormatChangeParam) 343 GpuVideoDecoderFormatChangeParam)
342 344
343 // GpuVideoDecoder report error. 345 // GpuVideoDecoder report error.
344 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, 346 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification,
345 GpuVideoDecoderErrorInfoParam) 347 GpuVideoDecoderErrorInfoParam)
OLDNEW
« no previous file with comments | « chrome/common/gpu_messages.cc ('k') | chrome/common/gpu_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698