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

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

Issue 4399003: Deleted code associated with --enable-gpu-rendering and... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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.h ('k') | chrome/common/gpu_native_window_handle.h » ('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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. It is included by backing_store_messages_internal.h 6 // header guard. It is included by backing_store_messages_internal.h
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 // This file needs to be included again, even though we're actually included 9 // This file needs to be included again, even though we're actually included
10 // from it via utility_messages.h. 10 // from it via utility_messages.h.
(...skipping 29 matching lines...) Expand all
40 IPC_MESSAGE_CONTROL1(GpuMsg_EstablishChannel, 40 IPC_MESSAGE_CONTROL1(GpuMsg_EstablishChannel,
41 int /* renderer_id */) 41 int /* renderer_id */)
42 42
43 // Provides a synchronization point to guarantee that the processing of 43 // Provides a synchronization point to guarantee that the processing of
44 // previous asynchronous messages (i.e., GpuMsg_EstablishChannel) has 44 // previous asynchronous messages (i.e., GpuMsg_EstablishChannel) has
45 // completed. (This message can't be synchronous because the 45 // completed. (This message can't be synchronous because the
46 // GpuProcessHost uses an IPC::ChannelProxy, which sends all messages 46 // GpuProcessHost uses an IPC::ChannelProxy, which sends all messages
47 // asynchronously.) Results in a GpuHostMsg_SynchronizeReply. 47 // asynchronously.) Results in a GpuHostMsg_SynchronizeReply.
48 IPC_MESSAGE_CONTROL0(GpuMsg_Synchronize) 48 IPC_MESSAGE_CONTROL0(GpuMsg_Synchronize)
49 49
50 IPC_MESSAGE_CONTROL2(GpuMsg_NewRenderWidgetHostView,
51 GpuNativeWindowHandle, /* parent window */
52 int32 /* view_id */)
53
54 // Tells the GPU process to create a context for collecting graphics card 50 // Tells the GPU process to create a context for collecting graphics card
55 // information. 51 // information.
56 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo) 52 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo)
57 53
58 // Tells the GPU process to crash. 54 // Tells the GPU process to crash.
59 IPC_MESSAGE_CONTROL0(GpuMsg_Crash) 55 IPC_MESSAGE_CONTROL0(GpuMsg_Crash)
60 56
61 // Tells the GPU process to hang. 57 // Tells the GPU process to hang.
62 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) 58 IPC_MESSAGE_CONTROL0(GpuMsg_Hang)
63 59
64 // Creates a new backing store.
65 IPC_MESSAGE_ROUTED2(GpuMsg_NewBackingStore,
66 int32, /* backing_store_routing_id */
67 gfx::Size /* size */)
68
69 // Creates a new video layer.
70 IPC_MESSAGE_ROUTED2(GpuMsg_NewVideoLayer,
71 int32, /* video_layer_routing_id */
72 gfx::Size /* size */)
73
74 // Updates the backing store with the given bitmap. The GPU process will send
75 // back a GpuHostMsg_PaintToBackingStore_ACK after the paint is complete to
76 // let the caller know the TransportDIB can be freed or reused.
77 IPC_MESSAGE_ROUTED4(GpuMsg_PaintToBackingStore,
78 base::ProcessId, /* process */
79 TransportDIB::Id, /* bitmap */
80 gfx::Rect, /* bitmap_rect */
81 std::vector<gfx::Rect>) /* copy_rects */
82
83
84 IPC_MESSAGE_ROUTED4(GpuMsg_ScrollBackingStore,
85 int, /* dx */
86 int, /* dy */
87 gfx::Rect, /* clip_rect */
88 gfx::Size) /* view_size */
89
90 // Tells the GPU process that the RenderWidgetHost has painted the window.
91 // Depending on the platform, the accelerated content may need to be painted
92 // over the top.
93 IPC_MESSAGE_ROUTED0(GpuMsg_WindowPainted)
94
95 // Updates the video layer with the given YUV data. The GPU process will send
96 // back a GpuHostMsg_PaintToVideoLayer_ACK after the paint is complete to
97 // let the caller know the TransportDIB can be freed or reused.
98 IPC_MESSAGE_ROUTED3(GpuMsg_PaintToVideoLayer,
99 base::ProcessId, /* process */
100 TransportDIB::Id, /* bitmap */
101 gfx::Rect) /* bitmap_rect */
102
103 IPC_END_MESSAGES(Gpu) 60 IPC_END_MESSAGES(Gpu)
104 61
105 //------------------------------------------------------------------------------ 62 //------------------------------------------------------------------------------
106 // GPU Host Messages 63 // GPU Host Messages
107 // These are messages from the GPU process to the browser. 64 // These are messages from the GPU process to the browser.
108 IPC_BEGIN_MESSAGES(GpuHost) 65 IPC_BEGIN_MESSAGES(GpuHost)
109 66
110 // Sent in response to GpuMsg_PaintToBackingStore, see that for more.
111 IPC_MESSAGE_ROUTED0(GpuHostMsg_PaintToBackingStore_ACK)
112
113 // Sent in response to GpuMsg_PaintToVideoLayer, see that for more.
114 IPC_MESSAGE_ROUTED0(GpuHostMsg_PaintToVideoLayer_ACK)
115
116 // Response to a GpuHostMsg_EstablishChannel message. 67 // Response to a GpuHostMsg_EstablishChannel message.
117 IPC_MESSAGE_CONTROL2(GpuHostMsg_ChannelEstablished, 68 IPC_MESSAGE_CONTROL2(GpuHostMsg_ChannelEstablished,
118 IPC::ChannelHandle, /* channel_handle */ 69 IPC::ChannelHandle, /* channel_handle */
119 GPUInfo /* GPU logging stats */) 70 GPUInfo /* GPU logging stats */)
120 71
121 // Response to a GpuMsg_Synchronize message. 72 // Response to a GpuMsg_Synchronize message.
122 IPC_MESSAGE_CONTROL0(GpuHostMsg_SynchronizeReply) 73 IPC_MESSAGE_CONTROL0(GpuHostMsg_SynchronizeReply)
123 74
124 // Response to a GpuMsg_CollectGraphicsInfo. 75 // Response to a GpuMsg_CollectGraphicsInfo.
125 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected, 76 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected,
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 319
369 // GpuVideoDecoder report output format change. 320 // GpuVideoDecoder report output format change.
370 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, 321 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange,
371 GpuVideoDecoderFormatChangeParam) 322 GpuVideoDecoderFormatChangeParam)
372 323
373 // GpuVideoDecoder report error. 324 // GpuVideoDecoder report error.
374 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, 325 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification,
375 GpuVideoDecoderErrorInfoParam) 326 GpuVideoDecoderErrorInfoParam)
376 327
377 IPC_END_MESSAGES(GpuVideoDecoderHost) 328 IPC_END_MESSAGES(GpuVideoDecoderHost)
OLDNEW
« no previous file with comments | « chrome/common/gpu_messages.h ('k') | chrome/common/gpu_native_window_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698