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

Unified Diff: cc/prioritized_resource_manager.h

Issue 11578019: Remove the pools from the ResourceProvider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-resolve against HEAD Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/prioritized_resource_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/prioritized_resource_manager.h
diff --git a/cc/prioritized_resource_manager.h b/cc/prioritized_resource_manager.h
index cd14a8924559ccd2b1453301fde864810c88a682..6e2664a4c5065cb8048f5ff8cf71c381e1a37e22 100644
--- a/cc/prioritized_resource_manager.h
+++ b/cc/prioritized_resource_manager.h
@@ -38,9 +38,9 @@ class Proxy;
class CC_EXPORT PrioritizedResourceManager {
public:
- static scoped_ptr<PrioritizedResourceManager> create(int pool, const Proxy* proxy)
+ static scoped_ptr<PrioritizedResourceManager> create(const Proxy* proxy)
{
- return make_scoped_ptr(new PrioritizedResourceManager(pool, proxy));
+ return make_scoped_ptr(new PrioritizedResourceManager(proxy));
}
scoped_ptr<PrioritizedResource> createTexture(gfx::Size size, GLenum format)
{
@@ -152,7 +152,7 @@ private:
return a < b;
}
- PrioritizedResourceManager(int pool, const Proxy* proxy);
+ PrioritizedResourceManager(const Proxy* proxy);
bool evictBackingsToReduceMemory(size_t limitBytes,
int priorityCutoff,
@@ -176,7 +176,6 @@ private:
size_t m_memoryUseBytes;
size_t m_memoryAboveCutoffBytes;
size_t m_memoryAvailableBytes;
- int m_pool;
typedef base::hash_set<PrioritizedResource*> TextureSet;
typedef std::vector<PrioritizedResource*> TextureVector;
« no previous file with comments | « cc/layer_tree_host_impl_unittest.cc ('k') | cc/prioritized_resource_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698