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

Side by Side Diff: content/browser/gpu/gpu_process_host.h

Issue 1538803004: Create child window in GPU process for DirectComposition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 void OnDidCreateOffscreenContext(const GURL& url); 199 void OnDidCreateOffscreenContext(const GURL& url);
200 void OnDidLoseContext(bool offscreen, 200 void OnDidLoseContext(bool offscreen,
201 gpu::error::ContextLostReason reason, 201 gpu::error::ContextLostReason reason,
202 const GURL& url); 202 const GURL& url);
203 void OnDidDestroyOffscreenContext(const GURL& url); 203 void OnDidDestroyOffscreenContext(const GURL& url);
204 void OnGpuMemoryUmaStatsReceived(const GPUMemoryUmaStats& stats); 204 void OnGpuMemoryUmaStatsReceived(const GPUMemoryUmaStats& stats);
205 #if defined(OS_MACOSX) 205 #if defined(OS_MACOSX)
206 void OnAcceleratedSurfaceBuffersSwapped(const IPC::Message& message); 206 void OnAcceleratedSurfaceBuffersSwapped(const IPC::Message& message);
207 #endif 207 #endif
208 208
209 #if defined(OS_WIN)
210 void OnAcceleratedSurfaceCreatedChildWindow(
211 const gfx::PluginWindowHandle& parent_handle,
212 const gfx::PluginWindowHandle& window_handle);
213 #endif
214
209 void CreateChannelCache(int32 client_id); 215 void CreateChannelCache(int32 client_id);
210 void OnDestroyChannel(int32 client_id); 216 void OnDestroyChannel(int32 client_id);
211 void OnCacheShader(int32 client_id, const std::string& key, 217 void OnCacheShader(int32 client_id, const std::string& key,
212 const std::string& shader); 218 const std::string& shader);
213 219
214 bool LaunchGpuProcess(const std::string& channel_id); 220 bool LaunchGpuProcess(const std::string& channel_id);
215 221
216 void SendOutstandingReplies(); 222 void SendOutstandingReplies();
217 223
218 void BlockLiveOffscreenContexts(); 224 void BlockLiveOffscreenContexts();
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 // Browser-side Mojo endpoint which sets up a Mojo channel with the child 305 // Browser-side Mojo endpoint which sets up a Mojo channel with the child
300 // process and contains the browser's ServiceRegistry. 306 // process and contains the browser's ServiceRegistry.
301 scoped_ptr<MojoApplicationHost> mojo_application_host_; 307 scoped_ptr<MojoApplicationHost> mojo_application_host_;
302 308
303 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); 309 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
304 }; 310 };
305 311
306 } // namespace content 312 } // namespace content
307 313
308 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 314 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | content/browser/gpu/gpu_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698