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

Side by Side Diff: chrome/browser/gpu_process_host.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
« 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 OnReleaseXID(unsigned long xid); 90 void OnReleaseXID(unsigned long xid);
91 void OnResizeXID(unsigned long xid, gfx::Size size, IPC::Message* reply_msg); 91 void OnResizeXID(unsigned long xid, gfx::Size size, IPC::Message* reply_msg);
92 #elif defined(OS_MACOSX) 92 #elif defined(OS_MACOSX)
93 void OnAcceleratedSurfaceSetIOSurface( 93 void OnAcceleratedSurfaceSetIOSurface(
94 const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params); 94 const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params);
95 void OnAcceleratedSurfaceBuffersSwapped( 95 void OnAcceleratedSurfaceBuffersSwapped(
96 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); 96 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
97 #elif defined(OS_WIN) 97 #elif defined(OS_WIN)
98 void OnCreateCompositorHostWindow(int renderer_id, 98 void OnGetCompositorHostWindow(int renderer_id,
99 int render_view_id, 99 int render_view_id,
apatrick 2010/12/04 02:22:23 indentation
100 IPC::Message* reply_message); 100 IPC::Message* reply_message);
101 #endif 101 #endif
102 102
103 // Sends the response for establish channel request to the renderer. 103 // Sends the response for establish channel request to the renderer.
104 void SendEstablishChannelReply(const IPC::ChannelHandle& channel, 104 void SendEstablishChannelReply(const IPC::ChannelHandle& channel,
105 const GPUInfo& gpu_info, 105 const GPUInfo& gpu_info,
106 ResourceMessageFilter* filter); 106 ResourceMessageFilter* filter);
107 // Sends the response for synchronization request to the renderer. 107 // Sends the response for synchronization request to the renderer.
108 void SendSynchronizationReply(IPC::Message* reply, 108 void SendSynchronizationReply(IPC::Message* reply,
109 ResourceMessageFilter* filter); 109 ResourceMessageFilter* filter);
(...skipping 17 matching lines...) Expand all
127 // the GPU process, but haven't heard back about yet. 127 // the GPU process, but haven't heard back about yet.
128 std::queue<ChannelRequest> sent_requests_; 128 std::queue<ChannelRequest> sent_requests_;
129 129
130 // The pending synchronization requests we need to reply to. 130 // The pending synchronization requests we need to reply to.
131 std::queue<SynchronizationRequest> queued_synchronization_replies_; 131 std::queue<SynchronizationRequest> queued_synchronization_replies_;
132 132
133 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); 133 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
134 }; 134 };
135 135
136 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_H_ 136 #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