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

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

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