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

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 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 | « no previous file | chrome/browser/gpu_process_host.cc » ('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 #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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const GPUInfo& gpu_info); 86 const GPUInfo& gpu_info);
87 void OnSynchronizeReply(); 87 void OnSynchronizeReply();
88 #if defined(OS_LINUX) 88 #if defined(OS_LINUX)
89 void OnGetViewXID(gfx::NativeViewId id, IPC::Message* reply_msg); 89 void OnGetViewXID(gfx::NativeViewId id, IPC::Message* reply_msg);
90 void OnResizeXID(unsigned long xid, gfx::Size size, IPC::Message* reply_msg); 90 void OnResizeXID(unsigned long xid, gfx::Size size, IPC::Message* reply_msg);
91 #elif defined(OS_MACOSX) 91 #elif defined(OS_MACOSX)
92 void OnAcceleratedSurfaceSetIOSurface( 92 void OnAcceleratedSurfaceSetIOSurface(
93 const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params); 93 const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params);
94 void OnAcceleratedSurfaceBuffersSwapped( 94 void OnAcceleratedSurfaceBuffersSwapped(
95 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); 95 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
96 #elif defined(OS_WIN)
97 void OnCreateCompositorHostWindow(int renderer_id,
98 int render_view_id,
99 IPC::Message* reply_message);
96 #endif 100 #endif
97 101
98 // Sends the response for establish channel request to the renderer. 102 // Sends the response for establish channel request to the renderer.
99 void SendEstablishChannelReply(const IPC::ChannelHandle& channel, 103 void SendEstablishChannelReply(const IPC::ChannelHandle& channel,
100 const GPUInfo& gpu_info, 104 const GPUInfo& gpu_info,
101 ResourceMessageFilter* filter); 105 ResourceMessageFilter* filter);
102 // Sends the response for synchronization request to the renderer. 106 // Sends the response for synchronization request to the renderer.
103 void SendSynchronizationReply(IPC::Message* reply, 107 void SendSynchronizationReply(IPC::Message* reply,
104 ResourceMessageFilter* filter); 108 ResourceMessageFilter* filter);
105 109
(...skipping 16 matching lines...) Expand all
122 // the GPU process, but haven't heard back about yet. 126 // the GPU process, but haven't heard back about yet.
123 std::queue<ChannelRequest> sent_requests_; 127 std::queue<ChannelRequest> sent_requests_;
124 128
125 // The pending synchronization requests we need to reply to. 129 // The pending synchronization requests we need to reply to.
126 std::queue<SynchronizationRequest> queued_synchronization_replies_; 130 std::queue<SynchronizationRequest> queued_synchronization_replies_;
127 131
128 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); 132 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
129 }; 133 };
130 134
131 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_H_ 135 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698