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

Side by Side Diff: chrome/browser/gpu_process_host.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 #ifndef CHROME_BROWSER_GPU_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_GPU_PROCESS_HOST_H_
6 #define CHROME_BROWSER_GPU_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_GPU_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <queue> 9 #include <queue>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void OnSynchronizeReply(); 82 void OnSynchronizeReply();
83 #if defined(OS_LINUX) 83 #if defined(OS_LINUX)
84 void OnGetViewXID(gfx::NativeViewId id, IPC::Message* reply_msg); 84 void OnGetViewXID(gfx::NativeViewId id, IPC::Message* reply_msg);
85 #elif defined(OS_MACOSX) 85 #elif defined(OS_MACOSX)
86 void OnAcceleratedSurfaceSetIOSurface( 86 void OnAcceleratedSurfaceSetIOSurface(
87 const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params); 87 const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params);
88 void OnAcceleratedSurfaceBuffersSwapped(int32 renderer_id, 88 void OnAcceleratedSurfaceBuffersSwapped(int32 renderer_id,
89 int32 render_view_id, 89 int32 render_view_id,
90 gfx::PluginWindowHandle window, 90 gfx::PluginWindowHandle window,
91 uint64 surface_id); 91 uint64 surface_id);
92 #elif defined(OS_WIN)
93 void OnCreateCompositorHostWindow(int32 renderer_id,
94 int32 render_view_id,
95 IPC::Message* reply_message);
96 void OnScheduleComposite(int32 renderer_id, int32 render_view_id);
92 #endif 97 #endif
93 98
94 // Sends the response for establish channel request to the renderer. 99 // Sends the response for establish channel request to the renderer.
95 void SendEstablishChannelReply(const IPC::ChannelHandle& channel, 100 void SendEstablishChannelReply(const IPC::ChannelHandle& channel,
96 const GPUInfo& gpu_info, 101 const GPUInfo& gpu_info,
97 ResourceMessageFilter* filter); 102 ResourceMessageFilter* filter);
98 // Sends the response for synchronization request to the renderer. 103 // Sends the response for synchronization request to the renderer.
99 void SendSynchronizationReply(IPC::Message* reply, 104 void SendSynchronizationReply(IPC::Message* reply,
100 ResourceMessageFilter* filter); 105 ResourceMessageFilter* filter);
101 106
(...skipping 12 matching lines...) Expand all
114 // the GPU process, but haven't heard back about yet. 119 // the GPU process, but haven't heard back about yet.
115 std::queue<ChannelRequest> sent_requests_; 120 std::queue<ChannelRequest> sent_requests_;
116 121
117 // The pending synchronization requests we need to reply to. 122 // The pending synchronization requests we need to reply to.
118 std::queue<SynchronizationRequest> queued_synchronization_replies_; 123 std::queue<SynchronizationRequest> queued_synchronization_replies_;
119 124
120 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); 125 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
121 }; 126 };
122 127
123 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_H_ 128 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698