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

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

Issue 17283002: Set max disk cache size correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « no previous file | content/browser/gpu/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) 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 #if defined(OS_WIN) 167 #if defined(OS_WIN)
168 void OnAcceleratedSurfaceBuffersSwapped( 168 void OnAcceleratedSurfaceBuffersSwapped(
169 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); 169 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
170 void OnAcceleratedSurfacePostSubBuffer( 170 void OnAcceleratedSurfacePostSubBuffer(
171 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params); 171 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params);
172 void OnAcceleratedSurfaceSuspend(int32 surface_id); 172 void OnAcceleratedSurfaceSuspend(int32 surface_id);
173 void OnAcceleratedSurfaceRelease( 173 void OnAcceleratedSurfaceRelease(
174 const GpuHostMsg_AcceleratedSurfaceRelease_Params& params); 174 const GpuHostMsg_AcceleratedSurfaceRelease_Params& params);
175 #endif 175 #endif
176 176
177 void CreateChannelCache(int32 client_id, size_t cache_size); 177 void CreateChannelCache(int32 client_id);
178 void OnDestroyChannel(int32 client_id); 178 void OnDestroyChannel(int32 client_id);
179 void OnCacheShader(int32 client_id, const std::string& key, 179 void OnCacheShader(int32 client_id, const std::string& key,
180 const std::string& shader); 180 const std::string& shader);
181 181
182 bool LaunchGpuProcess(const std::string& channel_id); 182 bool LaunchGpuProcess(const std::string& channel_id);
183 183
184 void SendOutstandingReplies(); 184 void SendOutstandingReplies();
185 185
186 void BlockLiveOffscreenContexts(); 186 void BlockLiveOffscreenContexts();
187 187
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 typedef std::multimap<int, scoped_refptr<GpuSurfaceTracker::SurfaceRef> > 264 typedef std::multimap<int, scoped_refptr<GpuSurfaceTracker::SurfaceRef> >
265 SurfaceRefMap; 265 SurfaceRefMap;
266 SurfaceRefMap surface_refs_; 266 SurfaceRefMap surface_refs_;
267 267
268 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); 268 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
269 }; 269 };
270 270
271 } // namespace content 271 } // namespace content
272 272
273 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 273 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698