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

Side by Side Diff: content/common/gpu/gpu_channel.h

Issue 10797055: gpu in-memory program cache implementation with a memory limit + lru eviction. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nit fixes Created 8 years, 5 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
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel_manager.h » ('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_COMMON_GPU_GPU_CHANNEL_H_ 5 #ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_H_
6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_ 6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector>
10 11
11 #include "base/id_map.h" 12 #include "base/id_map.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
15 #include "base/process.h" 16 #include "base/process.h"
16 #include "build/build_config.h" 17 #include "build/build_config.h"
17 #include "content/common/gpu/gpu_command_buffer_stub.h" 18 #include "content/common/gpu/gpu_command_buffer_stub.h"
18 #include "content/common/gpu/gpu_memory_manager.h" 19 #include "content/common/gpu/gpu_memory_manager.h"
19 #include "content/common/message_router.h" 20 #include "content/common/message_router.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 #if defined(OS_ANDROID) 204 #if defined(OS_ANDROID)
204 scoped_ptr<content::StreamTextureManagerAndroid> stream_texture_manager_; 205 scoped_ptr<content::StreamTextureManagerAndroid> stream_texture_manager_;
205 #endif 206 #endif
206 207
207 base::WeakPtrFactory<GpuChannel> weak_factory_; 208 base::WeakPtrFactory<GpuChannel> weak_factory_;
208 209
209 DISALLOW_COPY_AND_ASSIGN(GpuChannel); 210 DISALLOW_COPY_AND_ASSIGN(GpuChannel);
210 }; 211 };
211 212
212 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ 213 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698