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

Side by Side Diff: chrome/browser/gpu_process_host_ui_shim.h

Issue 6588138: Implemented multisampling control in software rendering list. Move prelimina... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: For the records: landing patch Created 9 years, 9 months 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 | « chrome/browser/gpu_data_manager.cc ('k') | chrome/browser/gpu_process_host_ui_shim.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_UI_SHIM_H_ 5 #ifndef CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
6 #define CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 6 #define CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
7 #pragma once 7 #pragma once
8 8
9 // This class lives on the UI thread and supports classes like the 9 // This class lives on the UI thread and supports classes like the
10 // BackingStoreProxy, which must live on the UI thread. The IO thread 10 // BackingStoreProxy, which must live on the UI thread. The IO thread
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 // Message handlers. 137 // Message handlers.
138 bool OnControlMessageReceived(const IPC::Message& message); 138 bool OnControlMessageReceived(const IPC::Message& message);
139 139
140 void OnChannelEstablished(const IPC::ChannelHandle& channel_handle, 140 void OnChannelEstablished(const IPC::ChannelHandle& channel_handle,
141 const GPUInfo& gpu_info); 141 const GPUInfo& gpu_info);
142 void OnCommandBufferCreated(const int32 route_id); 142 void OnCommandBufferCreated(const int32 route_id);
143 void OnDestroyCommandBuffer(gfx::PluginWindowHandle window, 143 void OnDestroyCommandBuffer(gfx::PluginWindowHandle window,
144 int32 renderer_id, int32 render_view_id); 144 int32 renderer_id, int32 render_view_id);
145 void OnGraphicsInfoCollected(const GPUInfo& gpu_info); 145 void OnGraphicsInfoCollected(const GPUInfo& gpu_info);
146 void OnPreliminaryGraphicsInfoCollected(
147 const GPUInfo& gpu_info, IPC::Message* reply_msg);
148 void OnLogMessage(int level, const std::string& header, 146 void OnLogMessage(int level, const std::string& header,
149 const std::string& message); 147 const std::string& message);
150 void OnSynchronizeReply(); 148 void OnSynchronizeReply();
151 #if defined(OS_LINUX) 149 #if defined(OS_LINUX)
152 void OnResizeXID(unsigned long xid, gfx::Size size, IPC::Message* reply_msg); 150 void OnResizeXID(unsigned long xid, gfx::Size size, IPC::Message* reply_msg);
153 #elif defined(OS_MACOSX) 151 #elif defined(OS_MACOSX)
154 void OnAcceleratedSurfaceSetIOSurface( 152 void OnAcceleratedSurfaceSetIOSurface(
155 const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params); 153 const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params);
156 void OnAcceleratedSurfaceBuffersSwapped( 154 void OnAcceleratedSurfaceBuffersSwapped(
157 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); 155 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
(...skipping 27 matching lines...) Expand all
185 // Encapsulates surfaces that we acquire when creating view command buffers. 183 // Encapsulates surfaces that we acquire when creating view command buffers.
186 // We assume that a render view has at most 1 such surface associated 184 // We assume that a render view has at most 1 such surface associated
187 // with it. 185 // with it.
188 class ViewSurface; 186 class ViewSurface;
189 std::map<ViewID, linked_ptr<ViewSurface> > acquired_surfaces_; 187 std::map<ViewID, linked_ptr<ViewSurface> > acquired_surfaces_;
190 188
191 }; 189 };
192 190
193 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 191 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
194 192
OLDNEW
« no previous file with comments | « chrome/browser/gpu_data_manager.cc ('k') | chrome/browser/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698