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

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: '' 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
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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 // Message handlers. 141 // Message handlers.
142 bool OnControlMessageReceived(const IPC::Message& message); 142 bool OnControlMessageReceived(const IPC::Message& message);
143 143
144 void OnChannelEstablished(const IPC::ChannelHandle& channel_handle, 144 void OnChannelEstablished(const IPC::ChannelHandle& channel_handle,
145 const GPUInfo& gpu_info); 145 const GPUInfo& gpu_info);
146 void OnCommandBufferCreated(const int32 route_id); 146 void OnCommandBufferCreated(const int32 route_id);
147 void OnDestroyCommandBuffer(gfx::PluginWindowHandle window, 147 void OnDestroyCommandBuffer(gfx::PluginWindowHandle window,
148 int32 renderer_id, int32 render_view_id); 148 int32 renderer_id, int32 render_view_id);
149 void OnGraphicsInfoCollected(const GPUInfo& gpu_info); 149 void OnGraphicsInfoCollected(const GPUInfo& gpu_info);
150 void OnPreliminaryGraphicsInfoCollected(
151 const GPUInfo& gpu_info, IPC::Message* reply_msg);
152 void OnLogMessage(int level, const std::string& header, 150 void OnLogMessage(int level, const std::string& header,
153 const std::string& message); 151 const std::string& message);
154 void OnSynchronizeReply(); 152 void OnSynchronizeReply();
155 #if defined(OS_LINUX) 153 #if defined(OS_LINUX)
156 void OnResizeXID(unsigned long xid, gfx::Size size, IPC::Message* reply_msg); 154 void OnResizeXID(unsigned long xid, gfx::Size size, IPC::Message* reply_msg);
157 #elif defined(OS_MACOSX) 155 #elif defined(OS_MACOSX)
158 void OnAcceleratedSurfaceSetIOSurface( 156 void OnAcceleratedSurfaceSetIOSurface(
159 const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params); 157 const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params);
160 void OnAcceleratedSurfaceBuffersSwapped( 158 void OnAcceleratedSurfaceBuffersSwapped(
161 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); 159 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
(...skipping 29 matching lines...) Expand all
191 // Encapsulates surfaces that we acquire when creating view command buffers. 189 // Encapsulates surfaces that we acquire when creating view command buffers.
192 // We assume that a render view has at most 1 such surface associated 190 // We assume that a render view has at most 1 such surface associated
193 // with it. 191 // with it.
194 class ViewSurface; 192 class ViewSurface;
195 std::map<ViewID, linked_ptr<ViewSurface> > acquired_surfaces_; 193 std::map<ViewID, linked_ptr<ViewSurface> > acquired_surfaces_;
196 194
197 }; 195 };
198 196
199 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 197 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
200 198
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698