From 50bd645cfa2824a22f98096cb6a66bbd7cf757f4 Mon Sep 17 00:00:00 2001 From: "nduca@chromium.org" Date: Sat, 27 Nov 2010 19:39:42 +0000 Subject: When accelerated compositing is enabled, we create a plugin-like pair of windows, CompositorHostWindow and CompositorWindow inside the RenderWidgetHostView. The host-side HWND is used to position the compositor output relative to plugins; the GPU process creates the compositor window as a child of the CompositorHostWindow. Once we land webkit bugfix 49396, ANGLE issue 3038042, Chromium issue 4671003, this will fix bugs 54301 and 61516 for windows. BUG=none TEST=none Review URL: http://codereview.chromium.org/4815001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67495 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/gpu_messages_internal.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'chrome/common/gpu_messages_internal.h') diff --git a/chrome/common/gpu_messages_internal.h b/chrome/common/gpu_messages_internal.h index c124530..10b0961 100644 --- a/chrome/common/gpu_messages_internal.h +++ b/chrome/common/gpu_messages_internal.h @@ -113,6 +113,16 @@ IPC_BEGIN_MESSAGES(GpuHost) // should cause the browser to redraw the compositor's contents. IPC_MESSAGE_CONTROL1(GpuHostMsg_AcceleratedSurfaceBuffersSwapped, GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) +#elif defined(OS_WIN) + // Create and get the HWND for the compositor window + IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_CreateCompositorHostWindow, + int32, /* renderer_id */ + int32, /* render_view_id */ + gfx::PluginWindowHandle /* compositor_host_id */) + + IPC_MESSAGE_CONTROL2(GpuHostMsg_ScheduleComposite, + int32, /* renderer_id */ + int32 /* render_view_id */) #endif IPC_END_MESSAGES(GpuHost) -- cgit v1.1