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

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

Issue 5528007: If compositor window already exists, then simply return it rather than compla... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // order to uniquely identify the RenderWidgetHostView on the browser side. 112 // order to uniquely identify the RenderWidgetHostView on the browser side.
113 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSetIOSurface, 113 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceSetIOSurface,
114 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params) 114 GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params)
115 115
116 // This message notifies the browser process that the renderer 116 // This message notifies the browser process that the renderer
117 // swapped the buffers associated with the given "window", which 117 // swapped the buffers associated with the given "window", which
118 // should cause the browser to redraw the compositor's contents. 118 // should cause the browser to redraw the compositor's contents.
119 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, 119 IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceBuffersSwapped,
120 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) 120 GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params)
121 #elif defined(OS_WIN) 121 #elif defined(OS_WIN)
122 // Create and get the HWND for the compositor window 122 // Get the HWND for the compositor window and if necessary, create it
123 IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_CreateCompositorHostWindow, 123 IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_GetCompositorHostWindow,
124 int32, /* renderer_id */ 124 int32, /* renderer_id */
125 int32, /* render_view_id */ 125 int32, /* render_view_id */
126 gfx::PluginWindowHandle /* compositor_host_id */) 126 gfx::PluginWindowHandle /* compositor_host_id */)
127 127
128 IPC_MESSAGE_CONTROL2(GpuHostMsg_ScheduleComposite, 128 IPC_MESSAGE_CONTROL2(GpuHostMsg_ScheduleComposite,
129 int32, /* renderer_id */ 129 int32, /* renderer_id */
130 int32 /* render_view_id */) 130 int32 /* render_view_id */)
131 #endif 131 #endif
132 132
133 IPC_END_MESSAGES(GpuHost) 133 IPC_END_MESSAGES(GpuHost)
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 342
343 // GpuVideoDecoder report output format change. 343 // GpuVideoDecoder report output format change.
344 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, 344 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange,
345 GpuVideoDecoderFormatChangeParam) 345 GpuVideoDecoderFormatChangeParam)
346 346
347 // GpuVideoDecoder report error. 347 // GpuVideoDecoder report error.
348 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, 348 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification,
349 GpuVideoDecoderErrorInfoParam) 349 GpuVideoDecoderErrorInfoParam)
350 350
351 IPC_END_MESSAGES(GpuVideoDecoderHost) 351 IPC_END_MESSAGES(GpuVideoDecoderHost)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/test/test_render_view_host.cc ('k') | chrome/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698