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

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

Issue 4815001: Use inner HWND for accelerated rendering on windows (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
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params) 91 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params)
92 92
93 // This message notifies the browser process that the renderer 93 // This message notifies the browser process that the renderer
94 // swapped the buffers associated with the given "window", which 94 // swapped the buffers associated with the given "window", which
95 // should cause the browser to redraw the compositor's contents. 95 // should cause the browser to redraw the compositor's contents.
96 IPC_MESSAGE_CONTROL4(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, 96 IPC_MESSAGE_CONTROL4(GpuHostMsg_AcceleratedSurfaceBuffersSwapped,
97 int32, /* renderer_id */ 97 int32, /* renderer_id */
98 int32, /* render_view_id */ 98 int32, /* render_view_id */
99 gfx::PluginWindowHandle /* window */, 99 gfx::PluginWindowHandle /* window */,
100 uint64 /* surface_id */) 100 uint64 /* surface_id */)
101 #elif defined(OS_WIN)
102 // Create and get the HWND for the compositor window
103 IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_CreateCompositorHostWindow,
apatrick_chromium 2010/11/11 22:32:15 Do these synchronous messages introduce the possib
nduca 2010/11/11 23:53:33 I'm not 100% sure... when I was implementing this,
104 int32, /* renderer_id */
105 int32, /* render_view_id */
106 gfx::PluginWindowHandle /* compositor_host_id */)
107
108 IPC_SYNC_MESSAGE_CONTROL2_0(GpuHostMsg_ScheduleComposite,
109 int32, /* renderer_id */
110 int32 /* render_view_id */)
101 #endif 111 #endif
102 112
103 IPC_END_MESSAGES(GpuHost) 113 IPC_END_MESSAGES(GpuHost)
104 114
105 //------------------------------------------------------------------------------ 115 //------------------------------------------------------------------------------
106 // GPU Channel Messages 116 // GPU Channel Messages
107 // These are messages from a renderer process to the GPU process. 117 // These are messages from a renderer process to the GPU process.
108 IPC_BEGIN_MESSAGES(GpuChannel) 118 IPC_BEGIN_MESSAGES(GpuChannel)
109 119
110 // Tells the GPU process to create a new command buffer that renders directly 120 // Tells the GPU process to create a new command buffer that renders directly
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 329
320 // GpuVideoDecoder report output format change. 330 // GpuVideoDecoder report output format change.
321 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, 331 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange,
322 GpuVideoDecoderFormatChangeParam) 332 GpuVideoDecoderFormatChangeParam)
323 333
324 // GpuVideoDecoder report error. 334 // GpuVideoDecoder report error.
325 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, 335 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification,
326 GpuVideoDecoderErrorInfoParam) 336 GpuVideoDecoderErrorInfoParam)
327 337
328 IPC_END_MESSAGES(GpuVideoDecoderHost) 338 IPC_END_MESSAGES(GpuVideoDecoderHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698